DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6216>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6216

action property for html:link tag

           Summary: action property for html:link tag
           Product: Struts
           Version: Nightly Build
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Custom Tags
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Per [EMAIL PROTECTED]

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

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

Reply via email to