cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philippe Guillard <pguill...@soociety.com>
Subject Enctype + CachingURI Coplet
Date Sat, 19 Feb 2005 17:14:23 GMT
Hi,

I know that portal-html-eventlink doesn't delete enctype attribute 
anymore (http://issues.apache.org/bugzilla/show_bug.cgi?id=28095)
Anyway i can't make my upload form work anymore in a cachingURI coplet, 
cocoon2.1.6, (I updated HTMLEventLinkTransformer.java to last revision 
122957 that i found.)

I get "visually" no continuation and the form is submitted again, 
loosing my input.
The point is, when i suppress the part 'enctype="multipart/form-data" ', 
i have continuation ok!!

My Template
____________
<ft:form-template action="" method="POST" enctype="multipart/form-data">
<ft:continuation-id/>
(tried also  <ft:form-template action="#{$continuation/id}.continue" 
method="POST" enctype="multipart/form-data"> with stemap equivalent)



Rendered html, that seems ok to me
____________________________
<form xmlns:coplet="http://apache.org/cocoon/portal/coplet/1.0" 
method="POST" onsubmit="forms_onsubmit(); " action="portal">
<input type="hidden" name="cocoon-portal-event" value="3"><input 
type="hidden" name="page" value="group.Photos">
<input name="forms_submit_id" type="hidden">
<input value="471a230555871e150852245c031e67725c6e406c" type="hidden" 
name="continuation-id">

Anybody any idea ??
Regards,

Phil

Mime
View raw message