RE: [S2] Send a request AJAX in JS

2007-10-11 Thread Julien Leonard
Thanks. I will use topics, and I will wait for Struts 2.1 Julien -Message d'origine- De : Musachy Barroso [mailto:[EMAIL PROTECTED] Envoyé : jeudi 11 octobre 2007 16:10 À : Struts Users Mailing List Objet : Re: [S2] Send a request AJAX in JS Oh ok, let me just insert an Strut

Re: [S2] Send a request AJAX in JS

2007-10-11 Thread Musachy Barroso
Message d'origine- > De : Musachy Barroso [mailto:[EMAIL PROTECTED] > Envoyé : jeudi 11 octobre 2007 15:54 > À : Struts Users Mailing List > Objet : Re: [S2] Send a request AJAX in JS > > But the tag does it for you. Do you mean that you want to do it yourself > (like,

RE: [S2] Send a request AJAX in JS

2007-10-11 Thread Julien Leonard
No, I want to send a the request in a onclick of a ^^ Julien -Message d'origine- De : Musachy Barroso [mailto:[EMAIL PROTECTED] Envoyé : jeudi 11 octobre 2007 15:54 À : Struts Users Mailing List Objet : Re: [S2] Send a request AJAX in JS But the tag does it for you. Do you mean

Re: [S2] Send a request AJAX in JS

2007-10-11 Thread Musachy Barroso
gt; Husted > Envoyé : mercredi 10 octobre 2007 19:12 > À : Struts Users Mailing List > Objet : Re: [S2] Send a request AJAX in JS > > You don't need to do anything special to make the request. Any standard Ajax > approach will work just fine. The request can be to a servlet or oth

RE: [S2] Send a request AJAX in JS

2007-10-11 Thread Julien Leonard
EMAIL PROTECTED] De la part de Ted Husted Envoyé : mercredi 10 octobre 2007 19:12 À : Struts Users Mailing List Objet : Re: [S2] Send a request AJAX in JS You don't need to do anything special to make the request. Any standard Ajax approach will work just fine. The request can be to a servlet o

Re: [S2] Send a request AJAX in JS

2007-10-10 Thread Ted Husted
You don't need to do anything special to make the request. Any standard Ajax approach will work just fine. The request can be to a servlet or other resource, or to a Struts 2 Action. If it's to a Struts 2 Action, it should return a HTML/Text result, or use the JSON plugin. * http://struts.apache.

RE: [S2] Send a request AJAX in JS

2007-10-09 Thread Dave Newton
t;theTarget"showError="true">... > > I can't see how to use it to make a request in > Javascript. > > Julien > > -Message d'origine- > De : Dave Newton [mailto:[EMAIL PROTECTED] > Envoyé : mardi 9 octobre 2007 15:44 > À : Stru

RE: [S2] Send a request AJAX in JS

2007-10-09 Thread Julien Leonard
List Objet : Re: [S2] Send a request AJAX in JS --- Julien Leonard wrote: > I want to make an ajax request (with a target) in a javascript > function. In fact, I want to do what this > does: <:a href="url" theme="ajax" targets="target1">Make request

Re: [S2] Send a request AJAX in JS

2007-10-09 Thread Dave Newton
--- Julien Leonard wrote: > I want to make an ajax request (with a target) in a > javascript function. In fact, I want to do what this > does: <:a href="url" theme="ajax" targets="target1">Make request > > but in a fonction javascript. > > Somone know how to do that with struts 2.0.9 ? If you

[S2] Send a request AJAX in JS

2007-10-09 Thread Julien Leonard
Hello all, I want to make an ajax request (with a target) in a javascript function. In fact, I want to do what this does : <:a href="url" theme="ajax" targets="target1">Make request but in a fonction javascript. Somone know how to do that with struts 2.0.9 ? Julien This e-mail, any attach