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/11/12 17:10:01 UTC
DO NOT REPLY [Bug 24652] New: -
tag does not translate into html code properly.
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=24652>.
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=24652
<html:submit> tag does not translate into html code properly.
Summary: <html:submit> tag does not translate into html code
properly.
Product: Struts
Version: 1.1 Final
Platform: All
OS/Version: All
Status: NEW
Severity: Major
Priority: Other
Component: Custom Tags
AssignedTo: struts-dev@jakarta.apache.org
ReportedBy: esther.morenobarriuso@citigroup.com
this is the original tag, for example
<html:submit styleClass="htmlsubmit">SEARCH</html:submit>
This gets translated into html code as
<input type="submit" name="submit" value="SEARCH" class="htmlsubmit">
in the Struts version 1.0.2
However, this gets translated into html
in Struts 1.1 (NOTE THE NAME ATTRIBUTE IS MISSING) as
<input type="submit" value="SEARCH" class="htmlsubmit">
This means that when clicking on the "search" button (with submit effects), the
submit parameter is not submitted with the code.
In the first case (1.0.2) you get action?submit=SEARCH
iN THE second (1.1) case you get action?
If you rely on the value of the submit button to know whether or not a user
clicked the button, this bug breaks your system.....
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org