From: "BJ Freeman" <bjf...@free-man.net>
minilanq is xml Groovy is more java.
they are not compatible.
if you asking if you can call a groovy file from minilanq like bsh
<call-bsh><![CDATA[org.ofbiz.commonapp.product.product.KeywordSearch.induceKeywords(newEntity);]]></call-bsh>

then use <script> instead of call-bsh.

for future if you have a question like this I suggest you open the
source code and search.
in this case search for call-bsh.
you will find where the code to handle that is and then look in the
folder for other ways to interact with minilang
since the doc file is not updated since 2004.
http://ofbiz.apache.org/docs/minilang.html#Call

Last sentence is wrong: 
https://cwiki.apache.org/confluence/display/OFBIZ/Mini-Language+Guide. Though 
it's true that there have been
no updates for the <script> element. For that see the link to 
http://ofbiz.apache.org/dtds/simple-methods.xsd in the document above
and look for "script", and you will find the documentation. A better way is to 
use an XML editor with auto-completion, which is why
the documentation has not been been updated. Okey, it's not an excuse... 
everybody is welcome...

Jacques

=========================
BJ Freeman
Strategic Power Office with Supplier Automation  
<http://www.businessesnetwork.com/automation/viewforum.php?f=52>
Specialtymarket.com  <http://www.specialtymarket.com/>
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man


Shereen sent the following on 10/31/2010 2:01 AM:

hi all
Can I now integrate write groovy in minilang as the bsh? if so how?
the same way e call bsh?



Reply via email to