hi all
Can I now integrate write groovy in minilang as the bsh? if so how?
the same way e call bsh?
--
View this message in context:
http://ofbiz.135035.n4.nabble.com/bsh-or-groovy-in-services-tp152367p3020941.html
Sent from the OFBiz - User mailing list archive at Nabble.com.
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
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
Thanks I spaced on that one.
Jacques Le Roux sent the following on 10/31/2010 10:37 AM:
=
BJ Freeman
Strategic Power Office with Supplier Automation
http://www.businessesnetwork.com/automation/viewforum.php?f=52
Specialtymarket.com http://www.specialtymarket.com/
So are you saying that the script tag can be used in minilang
SimpleMethods just like it is used in Screen actions?
I wish there was an example, but in 9.04 at least the only examples are
Screens, Forms and Menus.
--
James McGill
Phoenix AZ
as Jacques said, using a autocomplete XML editor helps.
or read the docs in the xsd.
James McGill sent the following on 10/31/2010 12:25 PM:
So are you saying that thescript tag can be used in minilang
SimpleMethods just like it is used in Screen actions?
I wish there was an example, but in
should new mini language use groovy, or continue with bsh.
call-bsh![CDATA[
HttpHost = conn.getURL().getHost();
return org.ofbiz.base.util.UtilMisc.toMap(HttpHost, HttpHost);
]]/call-bsh
We have planned to put groovy support in minilang but for the moment only bsh
works...
http://www.nabble.com/Re%3A-svn-commit%3A-r676862---in--ofbiz-trunk-applications%3A-ecommerce-widget--order-webapp-ordermgr-WEB-INF-actions-order--order-widget-ordermgr--td18462705.html
Jacques
From: BJ
thanks, and thanks you your example in google check out I am speeding up
on using only minilang.
:)
Jacques Le Roux sent the following on 8/7/2008 11:18 AM:
We have planned to put groovy support in minilang but for the moment
only bsh works...
Yes, Minilang is great once understood. Also don't forget the auto-completion
documentation feature, really helpful.
But Chris Howe was the man on this, not me. I only commited his work.
Jacques
From: BJ Freeman [EMAIL PROTECTED]
thanks, and thanks you your example in google check out I am
Thanks I contacted Chris on IM and thanked him
will run it soon to see what has to be updated.
yes I am looking forward to seeing the autocomplete in action.
it is on my list.
Jacques Le Roux sent the following on 8/7/2008 12:52 PM:
Yes, Minilang is great once understood. Also don't forget the
11 matches
Mail list logo