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 2006/01/06 13:20:38 UTC
DO NOT REPLY [Bug 38162] New: - making name attribute in
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38162>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38162
Summary: <html:html xhtml="true"> making name attribute in <form>
tag missing in 1.2.8
Product: Struts
Version: 1.2.8
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: Taglibs
AssignedTo: dev@struts.apache.org
ReportedBy: weiliang_tj@hotmail.com
I came across a problem in the release struts 1.2.8, when I using the class
'ValidatorForm' yesterday. Then I try it in the struts 1.1 libs, it works fine.
So I think it might be a bug.
Here is my bug by using struts 1.2.8:
**********************************************
xhtmlAction.jsp
<html:html xhtml="true">
...
<html:form action="/form/xhtmlAction" method="post" focus="username">
...
**********************************************
If the attribute 'xhtml' be set 'true', the html source code in IE is:
<form id="xhtmlActionForm" method="post"...
not the expecting <form name="xhtmlActionForm" method="post"...
But I placed the page in struts 1.1 env, the source code changed to <form
name="xhtmlActionForm" method="post"....
So I unzip the 'mailreader example' shipped with 1.2.8 src, found the
'logon.jsp' also has the same problem which causing the javascript errors.
I don't know whether it is a bug or my mistakes or the 'xhtml' has some special
meaning here.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
DO NOT REPLY [Bug 38162] - making name attribute in
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38162>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38162
jfk_75@yahoo.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
------- Additional Comments From jfk_75@yahoo.com 2006-01-06 13:31 -------
This behaviour is correct, since XHTML does not allow a "name" attribute in the
"form" tag.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
DO NOT REPLY [Bug 38162] - making name attribute in
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38162>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38162
niallp@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|INVALID |
------- Additional Comments From niallp@apache.org 2006-01-06 13:43 -------
The fix for Bug 34027 in Struts 1.2.7 has caused this issue and it was reported
in Bug 35127.
The solution to this problem involved changes to
1) Struts, which were done in Struts 1.2.8
2) Commons Validator, which were done in Validator 1.2.0
In order to resolve this issue, you need to upgrade your version of Commons
Validator to 1.2.0 (Struts 1.2.8 ships with Validator 1.1.4). You can download
Validator here:
http://jakarta.apache.org/site/downloads/downloads_commons-validator.cgi
This issue is mentioned on the upgrade notes for Struts 1.2.8:
http://wiki.apache.org/struts/StrutsUpgradeNotes127to128
Further information about Validator 1.2.0 can be found here:
http://wiki.apache.org/jakarta-commons/ValidatorVersion120
http://jakarta.apache.org/commons/validator/changes-report.html
Niall
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
DO NOT REPLY [Bug 38162] - making name attribute in
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38162>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38162
------- Additional Comments From weiliang_tj@hotmail.com 2006-01-06 13:24 -------
Created an attachment (id=17349)
--> (http://issues.apache.org/bugzilla/attachment.cgi?id=17349&action=view)
my example
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org
DO NOT REPLY [Bug 38162] - making name attribute in
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38162>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38162
niallp@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |DUPLICATE
------- Additional Comments From niallp@apache.org 2006-01-06 13:43 -------
*** This bug has been marked as a duplicate of 35127 ***
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org