--- Reçu de       RVIDOI.SIROLLPI 62607                      04/02/02 12.12

Instead of using lines of code like :
<html:link forward="callW paramName="bean" paramId="filename"/>
it would be very usefull to create a <htm:href action="login" /> tag.
This tag would compute the url base on the action mapping.
Exactly like the <html:form> .

I wrote a new tag HrefTag which has the following behaviour :

<html:href action="/project/editNew" params="toto=11&titi=12&tutu=un
espace&tata=tata" label="the Label" target="MyNewWindow"/>

-> result :

<A HREF="/webapp/do/proejct/editnew?toto=11&titi=12&tutu=un
espace&tata=tata target="MyNewWindow">the Label</A>

You will find in attached the HrefTag class, the tdl and a demo jsp.

Pierre Sirolli

---- 04/02/02 12.12 ---- Envoyé à      ------------------------------------
  -> struts-dev(a)jakarta.apache.org
 CC:
  -> ted(a)husted.com

Attachment: hreftag.zip
Description: Binary data

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

Reply via email to