You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2002/12/04 14:15:44 UTC
DO NOT REPLY [Bug 15061] New: -
xmlForm enhancement
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=15061>.
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=15061
xmlForm enhancement
Summary: xmlForm enhancement
Product: Cocoon 2
Version: Current CVS
Platform: All
URL: http://apache.org/
OS/Version: All
Status: NEW
Severity: Enhancement
Priority: Other
Component: sitemap components
AssignedTo: cocoon-dev@xml.apache.org
ReportedBy: cabko@fargo.pl
To be able to use <input type="image" /> we should aply this path to
/src/java/org/apache/cocoon/acting/AbstractXMLFormAction.java
diff -r1.8 AbstractXMLFormAction.java
322c322
< while (enum.hasMoreElements ())
---
> while (enum.hasMoreElements () && command_ == null)
325a326
> // image type input in IE does not send name=value (only name.x=X
and name.y=Y)
327a329,331
> int i = 0;
> if ((paramName.endsWith (".x") || paramName.endsWith (".y")))
> i = 2;
329c333
< paramName.substring ( Constants.ACTION_PARAM_PREFIX.length(),
paramName.length() );
---
> paramName.substring ( Constants.ACTION_PARAM_PREFIX.length(),
paramName.length() - i);
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org