RE: struts 1.2: calling an action by javascript

2008-10-31 Thread Martin Gainty
08 02:44:49 -0700 > From: [EMAIL PROTECTED] > To: user@struts.apache.org > Subject: Re: struts 1.2: calling an action by javascript > > > Yes, you can do so by using AJAX, you need to invoke a Javascript function > that makes an AJAX call to the action. > > Thank

Re: struts 1.2: calling an action by javascript

2008-10-31 Thread Sachint
Yes, you can do so by using AJAX, you need to invoke a Javascript function that makes an AJAX call to the action. Thanks, Sachin Ingo Villnow wrote: > > Hello, > > i want to call an action by javascript, when a value in a > field changes. I want to fill my with the data provided by > the act

Re: struts 1.2: calling an action by javascript

2008-07-25 Thread dvdface
Ingo Villnow wrote: > > Hello, > > i want to call an action by javascript, when a value in a > field changes. I want to fill my with the data provided by > the action. Any ideas? I don't know a lot of javascript :-( > > thanks & greetings from Berlin > > >

Re: struts 1.2: calling an action by javascript

2008-01-02 Thread prasad.dls
This is select box. u make this as html select &contentId=');"> This is javascript -- function getPage(ccid,url){ var cId = document.getElementById("contentId").value; document.location.href = url+cId+'&xxxId='+ccid; } by using this u can get what u want. Ingo Villnow wrote: >

Re: struts 1.2: calling an action by javascript

2007-11-13 Thread Friend Here
function submit() { populate values ..then document.action.value = " /url "; document[0].forms[0].submit(); } Ingo Villnow wrote: > > Hello, > > i want to call an action by javascript, when a value in a > field changes. I want to fill my with the data provided by > the ac

Re: struts 1.2: calling an action by javascript

2007-10-31 Thread Ingo Villnow
GREAT Thank you very much!! Frank W. Zammetti schrieb: > I should also point out the presentation Ted Husted did at The Ajax > Experience last week which dealt largely with APT. The slides for that > presentation are here: > > http://ajaxexperience.techtarget.com/images/Presentations/Husted_Ted_R

Re: struts 1.2: calling an action by javascript

2007-10-31 Thread Ingo Villnow
Thank you, I am going to use the javawebparts.ajaxparts taglib in any way, now i try to find the cook book :-) thanks Frank W. Zammetti schrieb: > On Wed, October 31, 2007 10:19 am, Ingo Villnow wrote: > >> i want to call an action by javascript, when a value in a >> field changes. I want to f

Re: struts 1.2: calling an action by javascript

2007-10-31 Thread Frank W. Zammetti
I should also point out the presentation Ted Husted did at The Ajax Experience last week which dealt largely with APT. The slides for that presentation are here: http://ajaxexperience.techtarget.com/images/Presentations/Husted_Ted_RetrofittingStruts.pdf I'm not quite sure how long they will stay

Re: struts 1.2: calling an action by javascript

2007-10-31 Thread Frank W. Zammetti
On Wed, October 31, 2007 10:19 am, Ingo Villnow wrote: > i want to call an action by javascript, when a value in a > field changes. I want to fill my with the data provided by > the action. Any ideas? I don't know a lot of javascript :-( There's a couple if ways you could do that... one would be

Re: struts 1.2: calling an action by javascript

2007-10-31 Thread Frank W. Zammetti
On Wed, October 31, 2007 10:19 am, Ingo Villnow wrote: > i want to call an action by javascript, when a value in a > field changes. I want to fill my with the data provided by > the action. Any ideas? I don't know a lot of javascript :-( There's a couple if ways you could do that... one would be

Re: struts 1.2: calling an action by javascript

2007-10-31 Thread Fátima Silveira
try this function submitForm(){ //do the verification you want to... form.submit(); } On 10/31/07, Ingo Villnow <[EMAIL PROTECTED]> wrote: > > Hello, > > i want to call an action by javascript, when a value in a > field changes. I want to fill my with the data provided by > the actio

struts 1.2: calling an action by javascript

2007-10-31 Thread Ingo Villnow
Hello, i want to call an action by javascript, when a value in a field changes. I want to fill my with the data provided by the action. Any ideas? I don't know a lot of javascript :-( thanks & greetings from Berlin - To unsubs