Hi all,
is there a way to call groovy scripts directly in a fo.ftl file ?
Cheers,
--
Erwan de FERRIERES
www.nereide.biz
Le 01/09/2010 15:25, Erwan de FERRIERES a écrit :
Hi all,
is there a way to call groovy scripts directly in a fo.ftl file ?
Cheers,
Ok, this was a bit not enough, for example, I want to transpose this in
a fo.ftl :
description=${groovy:partyName.size()20?partyName[0..20]:partyName
,
is there a way to call groovy scripts directly in a fo.ftl file ?
Cheers,
Ok, this was a bit not enough, for example, I want to transpose this
in a fo.ftl :
description=${groovy:partyName.size()20?partyName[0..20]:partyName}/
or if I want to include a groovy file, which is used in a row-action
in a form
Le 01/09/2010 17:01, Nicolas Malin a écrit :
hi erwan, in your case You can use substring :
http://freemarker.sourceforge.net/docs/ref_builtins_string.html#ref_builtin_substring
${partyName?substring(0, 20)}
Ok nice for this one.. time to go to bed ?
--
Erwan de FERRIERES
Hi Erwan,
I think you should call groovy from action of the screen widget and not
from ftl.
Pierre
Erwan de FERRIERES a écrit :
Hi all,
is there a way to call groovy scripts directly in a fo.ftl file ?
Cheers,
Hi,
I have passed an arraylist from groovy into rptdesign by birt parameters.
I want to iterate that arraylist and fetch its data and display all data of
array list in my report.
Thanx
--
View this message in context:
http://ofbiz.135035.n4.nabble.com/Fetching-array-list-data-from-groovy
Le 31/08/2010 08:47, Keerti Sharma a écrit :
Hi,
I have passed an arraylist from groovy into rptdesign by birt parameters.
I want to iterate that arraylist and fetch its data and display all data of
array list in my report.
Thanx
I think you have to create a dataset, where the open method
for your patience and help.
Regards,
Pierre
2010/8/23 Pierre Smits pierre.sm...@gmail.com
When removing 'as list' from the groovy code, I get following error:
Problems with the response writer/output stream:
org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen
).:)
Thanks for your patience and help.
Regards,
Pierre
2010/8/23 Pierre Smits pierre.sm...@gmail.com
When removing 'as list' from the groovy code, I get following error:
Problems with the response writer/output stream: org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen
[component
send any experienceId's in the query string I get all
experiences associated with profileOwnerId (which is what I want).:)
Thanks for your patience and help.
Regards,
Pierre
2010/8/23 Pierre Smits pierre.sm...@gmail.com
When removing 'as list' from the groovy code, I get following
;widget#47;ProfilerPrintScreens.xml#35;PrintProfilePDF#93;#58;
groovy.lang.MissingPropertyException#58; No such property#58;
EntityCondition for class#58; ProfileExperiences #40;No such
property#58; EntityCondition for class#58; ProfileExperiences#41;
/p
The complete code in the groovy file is:
import
for class#58; ProfileExperiences #40;No such property#58;
EntityCondition for class#58; ProfileExperiences#41;
/p
The complete code in the groovy file is:
import org.ofbiz.base.util.*;
import org.ofbiz.entity.*;
import org.ofbiz.entity.util.*;
import org.ofbiz.party.contact.*;
import
;No such property#58;
EntityCondition for class#58; ProfileExperiences#41;
/p
The complete code in the groovy file is:
import org.ofbiz.base.util.*;
import org.ofbiz.entity.*;
import org.ofbiz.entity.util.*;
import org.ofbiz.party.contact.*;
import javolution.util.FastMap;
List experienceItems
;ProfilerPrintScreens.xml#35;PrintProfilePDF#93;#58;
groovy.lang.MissingPropertyException#58; No such property#58;
EntityCondition for class#58; ProfileExperiences #40;No such
property#58; EntityCondition for class#58; ProfileExperiences#41;
/p
The complete code in the groovy file is:
import
#58; No such property#58;
EntityCondition for class#58; ProfileExperiences #40;No such
property#58; EntityCondition for class#58; ProfileExperiences#41;
/p
The complete code in the groovy file is:
import org.ofbiz.base.util.*;
import org.ofbiz.entity.*;
import
for class#58; ProfileExperiences#41;
/p
The complete code in the groovy file is:
import org.ofbiz.base.util.*;
import org.ofbiz.entity.*;
import org.ofbiz.entity.util.*;
import org.ofbiz.party.contact.*;
import javolution.util.FastMap;
List experienceItems
#58; ProfileExperiences #40;No such
property#58; EntityCondition for class#58; ProfileExperiences#41;
/p
The complete code in the groovy file is:
import org.ofbiz.base.util.*;
import org.ofbiz.entity.*;
import org.ofbiz.entity.util.*;
import org.ofbiz.party.contact
;PrintProfilePDF#93;#58;
groovy.lang.MissingPropertyException#58; No such property#58;
EntityCondition for class#58; ProfileExperiences #40;No such
property#58; EntityCondition for class#58; ProfileExperiences#41;
/p
The complete code in the groovy file is:
import
(which is what I want).:)
Thanks for your patience and help.
Regards,
Pierre
2010/8/23 Pierre Smits pierre.sm...@gmail.com
When removing 'as list' from the groovy code, I get following error:
Problems with the response writer/output stream:
org.ofbiz.widget.screen.ScreenRenderException: Error
experiences.
And if I don't send any experienceId's in the query string I get all
experiences associated with profileOwnerId (which is what I want).:)
Thanks for your patience and help.
Regards,
Pierre
2010/8/23 Pierre Smits pierre.sm...@gmail.com
When removing 'as list' from the groovy
In a url I pass following parameters:
?profile=1experience=1,100010
In a groovy file I get the parameters
parameter.profile
parameter.experience
My question is: how do I get the delegator to find entities in the database
based on both parameter.profile and parameter.experience
=1,100010
In a groovy file I get the parameters
parameter.profile
parameter.experience
My question is: how do I get the delegator to find entities in the database
based on both parameter.profile and parameter.experience?
In all the other codes in groovy files that I see it seems
http://en.wikipedia.org/wiki/Query_string
Jacques
Pierre Smits wrote:
In a url I pass following parameters:
?profile=1experience=1,100010
In a groovy file I get the parameters
parameter.profile
parameter.experience
My question is: how do I get the delegator to find entities
Hi Scott,
Thanks for the pointer!
Unfortunately, I am a total groovy-newbie
Would
selectedExperiences = parameter.selectedExperiences;
if (selectedExperiences==){
experienceItemList = delegator.findByAnd(ProfileExperience,
[profileOwnerId : profileOwnerId]);
}
else
following parameters:
?profile=1experience=1,100010
In a groovy file I get the parameters
parameter.profile
parameter.experience
My question is: how do I get the delegator to find entities in the database
based on both parameter.profile and parameter.experience?
In all the other codes
://www.hotwaxmedia.com
On 20/08/2010, at 10:31 PM, Pierre Smits wrote:
In a url I pass following parameters:
?profile=1experience=1,100010
In a groovy file I get the parameters
parameter.profile
parameter.experience
My question is: how do I get the delegator to find
2010/8/20 Michał Cukierman mcukier...@partbook.eu
There should be a method for doing sth like:
EntityCondition.makeCondition(shipmentId, EntityOperator.IN,
CustomWhereCondition).
There should be extended methods for making joins.
As long as those do not exist - we should at least try use P
Smits wrote:
In a url I pass following parameters:
?profile=1experience=1,100010
In a groovy file I get the parameters
parameter.profile
parameter.experience
My question is: how do I get the delegator to find entities in the database
based on both parameter.profile
Hi Pierre,
See my other response to Michal for the correct code, it was only from memory
though so may not actually work without tweaking.
Regards
Scott
On 21/08/2010, at 12:02 AM, Pierre Smits wrote:
Hi Scott,
Thanks for the pointer!
Unfortunately, I am a total groovy-newbie
delegator.findList(...) with an EntityOperator.IN
condition for the experience field.
Regards
Scott
HotWax Media
http://www.hotwaxmedia.com
On 20/08/2010, at 10:31 PM, Pierre Smits wrote:
In a url I pass following parameters:
?profile=1experience=1,100010
In a groovy
Hi,
I wish to achieve following functionality in ofbiz :
- From controller , I am calling a groovy file
- In groovy file, I am checking if data corresponding to request
parameters from screen is existing in some entity or not
- If data is not preset in that entity
Hello Swapnil,
In groovy you can show error message by setting them in request , as follows
request.setAttribute(_ERROR_MESSAGE_, your custom or standard message
here );
this returns your messge on UI,
Regards
Ravindra Mandre
On Thu, Aug 12, 2010 at 11:47 AM, Swapnil Sawant
swapnil.saw
Hi Ravindra,
Thanks for your reply.
I want to set the error message while processing in groovy and then display
that error message on XML corresponding to response name=failure
type=view value=errorpage/
If you have any such code, could you pl paste it here. It would be of great
help to us
Hello swapnil ,
you can give a try to this by the following :
event type=bsf invoke=component://Path of your groovy file/
response name=success type=view value=valueName/
response name=error type=view value=valueName/
based on the return from groovy file which may be success or error , you can
@ofbiz.apache.org
Subject: Re: Passing error message from groovy to XML screen
Hello swapnil ,
you can give a try to this by the following :
event type=bsf invoke=component://Path of your groovy file/
response name=success type=view value=valueName/
response name=error type=view value=valueName/
based
this message in context:
http://ofbiz.135035.n4.nabble.com/help-with-groovy-file-tp2300959p2300959.html
Sent from the OFBiz - User mailing list archive at Nabble.com.
.nabble.com/help-with-groovy-file-tp2300959p2300959.html
Sent from the OFBiz - User mailing list archive at Nabble.com.
i did, now it shows the below error:
(SQL Exception while setting value on field [orderId] of entity OrderHeader:
(An attempt was made to get a data value of type 'VARCHAR' from a data value
of type 'Types.JAVA_OBJECT'.)) (Error running Groovy script at location
[component://snjPurchasing/webapp
was made to get a data value of type 'VARCHAR' from a data
value
of type 'Types.JAVA_OBJECT'.)) (Error running Groovy script at location
[component://snjPurchasing/webapp/snjPurchasing/WEB-INF/actions/ViewRequirement.groovy]
(SQL Exception while setting value on field [orderId] of entity
Hi Varun,
What you had wanted to do will work if you are using 10.04.
So coding it in groovy file is the right approach when using 9.04
Regards,
James
Hi Scott,
I have already put the groovy part in a .groovy file, though just wanted to
know if i had missed something.
Thanks again.
On Sat
I would argue that using groovy is the right approach regardless of the
version. Screen actions are intended to speed up simple tasks, they are not a
substitute for actual scripting. Especially when you consider that whenever
you try and do something complicated with them you end up spending
Hi Scott,
I agree. In my special case, I was backporting the ajax lookup code from
10.04 to 9.04, and encountered the problem where the set field function
gives a String instead of the EntityCondition object. So if I were to use
the makeCondition function, many extra groovy files will be created
, I was backporting the ajax lookup code from
10.04 to 9.04, and encountered the problem where the set field function
gives a String instead of the EntityCondition object. So if I were to use
the makeCondition function, many extra groovy files will be created.
Regards,
James
Scott Gray-2 wrote:
I
the problem where the set field function
gives a String instead of the EntityCondition object. So if I were to use
the makeCondition function, many extra groovy files will be created.
Regards,
James
Scott Gray-2 wrote:
I would argue that using groovy is the right approach regardless
was backporting the ajax lookup code from
10.04 to 9.04, and encountered the problem where the set field function
gives a String instead of the EntityCondition object. So if I were to use
the makeCondition function, many extra groovy files will be created.
Regards,
James
Scott Gray-2 wrote
,
try using 'type' attribute
set field=foo value=${groovy: ...} type=.../
--
Thanks Regards
Atul Vani
Enterprise Software Developer
HotWax Media Pvt. Ltd.
http://www.hotwaxmedia.com/
We are the Global Leaders in Apache OFBiz, Google 'ofbiz' and see for
yourself.
varun bhansaly wrote
Hi Scott,
I have already put the groovy part in a .groovy file, though just wanted to
know if i had missed something.
Thanks again.
On Sat, Jun 19, 2010 at 12:56 PM, varun bhansaly vbhans...@gmail.comwrote:
Hi Atul,
Thanks for ur reply.
I had already tried that with type = Object, it still
Hi Varun,
But I don't understand why you don't just create the entity condition in the
groovy file:
isVirtualCondition =
org.ofbiz.entity.condition.EntityCondition.makeCondition(isVirtual, Y)
Why try and create a condition in the screen widget when it is easier to do it
in the groovy file
Hi,
I am using ofbiz 09.04, facing an issue with groovy screen widget.
my screen widget action contains -
set field=*andCondition* value=*${groovy: return
org.ofbiz.entity.condition.EntityCondition.makeCondition(isVirtual, Y)}*
/
In my groovy script *andCondition *is an instanceof *String
What are there asterisks everywhere in your code?
Why aren't you just creating the condition in groovy?
Regards
Scott
HotWax Media
http://www.hotwaxmedia.com
On 19/06/2010, at 4:23 AM, varun bhansaly wrote:
Hi,
I am using ofbiz 09.04, facing an issue with groovy screen widget.
my screen
hi Varun,
try using 'type' attribute
set field=foo value=${groovy: ...} type=.../
--
Thanks Regards
Atul Vani
Enterprise Software Developer
HotWax Media Pvt. Ltd.
http://www.hotwaxmedia.com/
We are the Global Leaders in Apache OFBiz, Google 'ofbiz' and see for yourself.
varun bhansaly wrote
Hi,
Can I call a groovy file as a service?
Regards,
Kranti Agrawal
Student, IIIT Bangalore
krantiagrawal.blogspot.com
Hi Kranti,
hope following code will help you.
event type=groovy path=component://
manufacturing/webapp/manufacturing/jobshopmgt/
invoke=ShowProductionRun.groovy/
Thanks and Regards
Brajesh Patel
Kranti Agrawal wrote:
Hi,
Can I call a groovy file as a service?
Regards,
Kranti Agrawal
Note that an event is not a service though...
Jacques
Brajesh Patel wrote:
Hi Kranti,
hope following code will help you.
event type=groovy path=component://
manufacturing/webapp/manufacturing/jobshopmgt/
invoke=ShowProductionRun.groovy/
Thanks and Regards
Brajesh Patel
Kranti Agrawal wrote
krantiagrawal.blogspot.com
On Wed, Apr 14, 2010 at 5:16 PM, Jacques Le Roux
jacques.le.r...@les7arts.com wrote:
Note that an event is not a service though...
Jacques
Brajesh Patel wrote:
Hi Kranti,
hope following code will help you.
event type=groovy path=component://
manufacturing/webapp/manufacturing
=[UTF-8]- total:0.0,since last(Begin):0.0]]
[java] 2010-04-14 19:09:06,307 (http-0.0.0.0-8443-6) [
CallSiteArray.java:40 :INFO ] -=-=-=- TEST GROOVY SERVICE -=-=-=-
[java] 2010-04-14 19:09:06,308 (http-0.0.0.0-8443-6) [
?:? :INFO ] - Message is: hello -
[java] 2010-04-14
Can you please give some examples of groovy services which return a List?
Regards,
Kranti Agrawal
Student, IIIT Bangalore
krantiagrawal.blogspot.com
On Wed, Apr 14, 2010 at 7:53 PM, Robert Morley rmor...@emforium.com wrote:
We had a period of time where people wrote some services in groovy
I made a little java class but it won't execute for me in groovy, I
can execute other classes
orh = new OrderReadHelper(); //i can execute this
z = new NextPickupDateUpdater(); //this is my class, it doesn't
complain, but it doesn't execute, inspecting the value gives a memory
address,
numdays
Make sure the update method is public, and that it takes no arguments
and returns a number.
-Adrian
Patrick wrote:
I made a little java class but it won't execute for me in groovy, I
can execute other classes
orh = new OrderReadHelper(); //i can execute this
z = new NextPickupDateUpdater
I guess you can't have a groovy file with the same name as your java
class file :(
On Mon, Apr 12, 2010 at 2:01 PM, Adrian Crum adri...@hlmksw.com wrote:
Make sure the update method is public, and that it takes no arguments and
returns a number.
-Adrian
Patrick wrote:
I made a little
Yes, that's a problem indeed
Jacques
From: Patrick patrickinminneapo...@gmail.com
I guess you can't have a groovy file with the same name as your java
class file :(
On Mon, Apr 12, 2010 at 2:01 PM, Adrian Crum adri...@hlmksw.com wrote:
Make sure the update method is public
Hi,
Some times if the java file exist inside hot-deploy then problem come like
this.
can you specify the path of your java and groovy file.
Regards
Anurag Walia
--
View this message in context:
http://n4.nabble.com/any-reason-a-groovy-file-can-t-execute-my-java-class-tp1837571p1837980.html
Hello,
I have created a scheduled job to run at certain time. The job calls my
service which I define as the followoing:
service name=AutoNotificationCertificateExpiry engine=groovy
location=component://order/webapp/ordermgr/order/RunAutoNotification.groovy
invoke=
descriptionAuto
You can get the delegator from the dispatch context, which is
populated in the binding for groovy services as dctx.
delegator = dctx.getDelegator(); // add to RunAutoNotification.groovy
On Apr 6, 2010, at 7:06 AM, Koon Sang wrote:
Hello,
I have created a scheduled job to run at certain
Thanks, Joe. It is working fine now.
--
View this message in context:
http://n4.nabble.com/Calling-groovy-from-scheduled-job-OFVIZ-9-04-tp1752673p1753750.html
Sent from the OFBiz - User mailing list archive at Nabble.com.
.
In the groovy file I've got this simple line
context.testname = hello;
So then I try to access it in the FTL file. orderstatus.ftl with a simple
#assign xx=testname
But it says my variable is null.
Error on line 312, column 1 in
component://ecommerce/webapp/ecommerce/order/orderitems.ftl
David added building and completion at r742053
Due to slowness (in 3.4) I reverted both at r911202
I have added back completion at r922190
Jacques
From: zhiyongcui zhiyong...@gmail.com
Why my groovy code completion is disabled in ofbiz project?
The IDE I used is eclipse 3.5.
--
View
Hi Erwan,
I have added back the groovy nature at r922190
Cheers
Jacques
From: Jacques Le Roux jacques.le.r...@les7arts.com
Hi Erwan,
I did not do it but looks like it's done automatically at the plugin
installation. That's why I removed it from the .project file.
Though I have
/webapp/ecommerce/order/orderstatus.ftl/
/screen
basically OrderStatus.groovy loads up some variables which should be
available to the ftl file.
In the groovy file I've got this simple line
context.testname = hello;
So then I try to access it in the FTL file. orderstatus.ftl with a simple
#assign xx
to the ftl file.
In the groovy file I've got this simple line
context.testname = hello;
So then I try to access it in the FTL file. orderstatus.ftl with a simple
#assign xx=testname
But it says my variable is null.
Error on line 312, column 1 in
component://ecommerce/webapp/ecommerce/order
://ecommerce/webapp/ecommerce/WEB-INF/actions/order/OrderStatus.groovy/
html-template
location=component://ecommerce/webapp/ecommerce/order/orderstatus.ftl/
/screen
basically OrderStatus.groovy loads up some variables which should be
available to the ftl file.
In the groovy file I've got
Hi Patrick,
it will work,
in groovy : context.testname = hello;
in ftl: #assign xx=testname /
I think you are putting in side of the condition that is not satisfy.
On Sat, Mar 13, 2010 at 4:39 AM, Patrick patrickinminneapo...@gmail.comwrote:
I am modifying the order confirmation email
guess it's better in OFBiz since we don't need to build anything (so far) and I suspect this was uselessly using a lot of
resources
HTH
Jacques
From: Erwan de FERRIERES erwan.de-ferrie...@nereide.fr
Le 09/03/2010 15:35, Christopher Snow a écrit :
Does the plugin work with other groovy
how?
--
View this message in context:
http://n4.nabble.com/groovy-code-completion-tp1585483p1585739.html
Sent from the OFBiz - User mailing list archive at Nabble.com.
Does the plugin work with other groovy projects?
What operating system are you using? The groovy plugin doesn't work for
example with the ubuntu supplied eclipse.
Ravindra Mandre wrote:
Using its plug-in may solve your problem.
Ravindra
On Tue, Mar 9, 2010 at 8:21 AM, zhiyongcui zhiyong
Using its plug-in may solve your problem.
Ravindra
On Tue, Mar 9, 2010 at 8:21 AM, zhiyongcui zhiyong...@gmail.com wrote:
Why my groovy code completion is disabled in ofbiz project?
The IDE I used is eclipse 3.5.
--
View this message in context:
http://n4.nabble.com/groovy-code
It works fine with other groovy projects.
I am using windows xp os.
--
View this message in context:
http://n4.nabble.com/groovy-code-completion-tp1585483p1586740.html
Sent from the OFBiz - User mailing list archive at Nabble.com.
Yes, these works on other groovy projects too. I am working on Ubuntu.
Ravindra
On Tue, Mar 9, 2010 at 8:05 PM, Christopher Snow
sno...@snowconsulting.co.uk wrote:
Does the plugin work with other groovy projects?
What operating system are you using? The groovy plugin doesn't work
Le 09/03/2010 15:35, Christopher Snow a écrit :
Does the plugin work with other groovy projects?
What operating system are you using? The groovy plugin doesn't work for
example with the ubuntu supplied eclipse.
Ravindra Mandre wrote:
Using its plug-in may solve your problem.
Ravindra
What kind of completion do you get? How deep it is? Could youy give us some
examples? Did you set something special?
I use Groovy-Eclipse plugin Version: 2.0.0.xx-20100115-0900-e35-RELEASE in
Eclipse 3.5.1 on XP
Thanks
Jacques
From: Ravindra Mandre raviof...@gmail.com
Yes, these works
Why my groovy code completion is disabled in ofbiz project?
The IDE I used is eclipse 3.5.
--
View this message in context:
http://n4.nabble.com/groovy-code-completion-tp1585483p1585483.html
Sent from the OFBiz - User mailing list archive at Nabble.com.
-language, then I have to do that it each
and every time I need to use it. Java (PHP, Bean Shell, Groovy...) takes me
5-10 minutes no matter how long I've been away from it.
This is an interesting idiosyncrasy :-)
Jacopo
:
If it takes 2-3 days to learn the mini-language, then I have to do
that it each and every time I need to use it. Java (PHP, Bean Shell,
Groovy...) takes me 5-10 minutes no matter how long I've been away
from it.
This is an interesting idiosyncrasy :-)
Jacopo
Mini-language
use.
Regards,
Ruth
Jacopo Cappellato wrote:
On Feb 23, 2010, at 3:53 AM, Ruth Hoffman wrote:
If it takes 2-3 days to learn the mini-language, then I have to do that
it each and every time I need to use it. Java (PHP, Bean Shell, Groovy...)
takes me 5-10 minutes no matter how
Maybe the next time you try to use it, you could create a list of things
you would like to see changed and submit it to the community.
-Adrian
Ruth Hoffman wrote:
Hi Adrian:
To tell the truth, I don't use it to build my services anymore. Too much
trouble to try and figure out each time how
Cappellato wrote:
On Feb 23, 2010, at 3:53 AM, Ruth Hoffman wrote:
If it takes 2-3 days to learn the mini-language, then I have to do
that it each and every time I need to use it. Java (PHP, Bean
Shell, Groovy...) takes me 5-10 minutes no matter how long I've
been away from
and every time I need to use it. Java (PHP, Bean Shell, Groovy...)
takes me 5-10 minutes no matter how long I've been away from it.
This is an interesting idiosyncrasy :-)
Jacopo
Hi Adrian:
I think I already said what I'd like changed. Perhaps you overlooked
this: Please add a procedural language to the mix. PHP, Groovy, Bean
Shell etc. I don't care which.
Regards,
Ruth
Adrian Crum wrote:
Maybe the next time you try to use it, you could create a list of
things you
Sorry, I meant things you would like to see changed in mini-language.
-Adrian
Ruth Hoffman wrote:
Hi Adrian:
I think I already said what I'd like changed. Perhaps you overlooked
this: Please add a procedural language to the mix. PHP, Groovy, Bean
Shell etc. I don't care which.
Regards
-language use.
Regards,
Ruth
Jacopo Cappellato wrote:
On Feb 23, 2010, at 3:53 AM, Ruth Hoffman wrote:
If it takes 2-3 days to learn the mini-language, then I have to do that it
each and every time I need to use it. Java (PHP, Bean Shell, Groovy...)
takes me 5-10 minutes
How would this be different from the java, groovy, bsh, jython, and other
scripting languages supported right now by the service engine?
I'll tell you what's really cool about supporting all of these languages, and
for work groups allowing people to use whatever they want: the end result
Hi David:
How can I use BSH to write a service? I don't mean embed a BSH call
inside XML, I mean can I, today write a service using BSH? If so, thats
great! How do I set this up?
Regards,
Ruth
David E Jones wrote:
How would this be different from the java, groovy, bsh, jython, and other
I'd recommend using groovy instead of bsh, it's a much better language and much
more stable and flexible. To see the list of supported engines for the
service engine look at the serviceengine.xml file.
To use groovy on your service definition just use engine=groovy instead of
engine=java
Neat!
I never knew.
Thanks much.
Ruth
David E Jones wrote:
I'd recommend using groovy instead of bsh, it's a much better language and much more
stable and flexible. To see the list of supported engines for the service
engine look at the serviceengine.xml file.
To use groovy on your service
On Feb 23, 2010, at 8:57 AM, Adrian Crum wrote:
Sorry, I meant things you would like to see changed in mini-language.
-Adrian
Ruth Hoffman wrote:
Hi Adrian:
I think I already said what I'd like changed. Perhaps you overlooked this:
Please add a procedural language to the mix. PHP, Groovy
Ruth,
This explains better your feeling about minilang. You thought you had only the choice between minilang or Java (like trapped with
minilang ;o)
Actually it's open, we could even consider to use a Groovy DSL like suggested
Chris
http://docs.codehaus.org/display/GROOVY/Writing+Domain
I was wondering why groovy is not used for service code instead on minilang?
Any thoughts?
Many thanks,
Chris
groovy is not used for service code instead on minilang?
Any thoughts?
Many thanks,
Chris
Hi Jacques:
IMHO, there is nothing productive about trying to write procedures using
XML. I'd really like to see the Mini-Language facility augmented with
support for something like Groovy, Bean Shell or PHP. Do you think that
is possible?
Those who like using XML can continue to do so. Those
On Feb 22, 2010, at 4:12 PM, Ruth Hoffman wrote:
Hi Jacques:
IMHO, there is nothing productive about trying to write procedures using XML.
IMO Minilang is very productive.
I'd really like to see the Mini-Language facility augmented with support for
something like Groovy, Bean Shell or PHP
101 - 200 of 298 matches
Mail list logo