*lol* No, I guess that wouldn't help, huh :/ I guess I
was thinking of either a form, or Rails.

You could always cheat and click() a hidden link ;)

If you search the archives this question may have been
discussed once before, but it might be for forms. I
don't have access to my dev box at the moment;
hopefully someone else will be a bit more helpful!

d.

--- Julien Leonard
<[EMAIL PROTECTED]> wrote:

> In fact, I've already looked the generated source.
> 
> And s:a generate this : <a
> dojoType="struts:BindAnchor" href="url"
> targets="theTarget"    showError="true">...</a> 
> 
> 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
> À : Struts Users Mailing 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</s:a>
> >  
> > but in a fonction javascript.
> >  
> > Somone know how to do that with struts 2.0.9 ?
> 
> If you look at the generated source for the <s:a...>
> tag you'll see exactly
> what it's doing.
> 
> d.
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 
> 
> This e-mail, any attachments and the information
> contained therein ("this message") are confidential
> and intended solely for the use of the addressee(s).
> If you have received this message in error please
> send it back to the sender and delete it.
> Unauthorized publication, use, dissemination or
> disclosure of this message, either in whole or in
> part is strictly prohibited.
>
**********************************************************************
> 
> Ce message électronique et tous les fichiers joints
> ainsi que  les informations contenues dans ce
> message ( ci après "le message" ), sont
> confidentiels et destinés exclusivement à l'usage de
> la  personne à laquelle ils sont adressés. Si vous
> avez reçu ce message par erreur, merci  de le
> renvoyer à son émetteur et de le détruire. Toutes
> diffusion, publication, totale ou partielle ou
> divulgation sous quelque forme que se soit non
> expressément autorisées de ce message, sont
> interdites.
>
**********************************************************************
> 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to