cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 28095] - [Portal] portal-html-eventlink deletes enctype attribute
Date Thu, 01 Apr 2004 08:27:52 GMT
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=28095>.
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=28095

[Portal] portal-html-eventlink deletes enctype attribute





------- Additional Comments From jck@babelobjects.com  2004-04-01 08:27 -------
I added the following code in HTMLEventLinkTransformer.createFormEvent(...)

        newAttributes.addCDATAAttribute("method", "POST");

+        String enctype = attributes.getValue("enctype");
+        if (enctype != null) {
+        	newAttributes.addCDATAAttribute("enctype", "multipart/form-data");        
+        }

        this.xmlConsumer.startPrefixMapping("coplet",
CopletTransformer.NAMESPACE_URI);

Mime
View raw message