You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2003/05/21 20:26:10 UTC
DO NOT REPLY [Bug 20129] New: -
html:rewrite needs action attribute in tld file
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=20129>.
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=20129
html:rewrite needs action attribute in tld file
Summary: html:rewrite needs action attribute in tld file
Product: Struts
Version: 1.1 RC1
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: Custom Tags
AssignedTo: struts-dev@jakarta.apache.org
ReportedBy: torben.norling@bluefish.se
html:rewrite tag extends html:link tag that supports the attribute action that
allows me to avoid "hardcoding" .do within the jsp files. For some reason the
rewrite tag doesn't have that attribute in the struts-html.tld file.
Maybe there is a reson for this but I can't think of it.
I've tested to add this to the tld file and also changed the computeURL part in
the rewrite tag to make use of the action attribute and it seems to work ok.
url = RequestUtils.computeURL(pageContext, forward, href,
page, action, params, anchor, false);
// Torben Norling
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org