Re: groovy in javascript

2009-11-10 Thread Rishi Solanki
I respond to similar problem in another thread "How to Set partyId in request in javascript" Use groovy handler of org.ofbiz.webapp.event.GroovyEventHandler to get the parameters in your controller request. Rishi Solanki Enterprise Software Developer HotWax Media Pvt. Ltd. On Tue, Nov 10, 2009 a

Re: groovy in javascript

2009-11-09 Thread Deepa Mandal
No, I didn't get as such to solve the problem.. On Tue, Nov 10, 2009 at 10:25 AM, Ramkrishna Swamy < ramkrishna.swamyof...@gmail.com> wrote: > Any update on this.Deepa have you got something, if yes please > share, I am also having same problem. > > -- > Thanks > Ramkrishna > > > On Mon,

Re: groovy in javascript

2009-11-09 Thread Ramkrishna Swamy
Any update on this.Deepa have you got something, if yes please share, I am also having same problem. -- Thanks Ramkrishna On Mon, Nov 9, 2009 at 12:12 PM, Raj Saini wrote: > Hi Deepa, > > I am not sure if I understood well what you are trying to achieve. You have > a drop down. Value

Re: groovy in javascript

2009-11-08 Thread Raj Saini
Hi Deepa, I am not sure if I understood well what you are trying to achieve. You have a drop down. Value selected in the drop down will go as a form field once you submit the form. This value can be collected in the Groovy script. I do not see a way how you can get some thing in Groovy script

Re: groovy in javascript

2009-11-08 Thread Deepa Mandal
Hello Raj Sir, Following is my problem: I have a drop down in a form and upon selecting a value from this drop down I have to send contactMechId of that particular value to the included ftl in the form and *without submitting the form*. If I set the contactMechId in groovy or in request then I can

Re: groovy in javascript

2009-11-07 Thread Raj Saini
Hi Deepa, I think you are missing some thing here. Groovy is server side scripting whereas JavaScript is client side. How can you set a parameter from JS to Groovy while to scripts are running in to different environment. May be you want to set a request parameter with the help of JS and want

Re: groovy in javascript

2009-11-07 Thread Abdullah Shaikh
hmm .. I don't know what you are looking for, anyway's I will give a try .. I guess the parameter you want in groovy in is javascript, don't know how it got there :), what you can do is set that parameter to a hidden field from javascript and then access it in groovy from the request object. I ho

Re: groovy in javascript

2009-11-07 Thread Deepa Mandal
Hi Abdul, Actually i want to set the parameter from JavaScript to groovy. On Sat, Nov 7, 2009 at 4:57 PM, Abdullah Shaikh < abdullah.sha...@viithiisys.com> wrote: > If I am getting you right, you want to get the http parameter to groovy, > then groovy gives you access to request object, > reque

Re: groovy in javascript

2009-11-07 Thread Abdullah Shaikh
If I am getting you right, you want to get the http parameter to groovy, then groovy gives you access to request object, request.getParameter("YOUR_PARAMETER") should work On Sat, Nov 7, 2009 at 4:19 PM, Deepa Mandal wrote: > Hi, > Can we set the value of parameter from javascript to groovy? > >

groovy in javascript

2009-11-07 Thread Deepa Mandal
Hi, Can we set the value of parameter from javascript to groovy? -- Thanks & Regards Deepa