cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicole, Hochleiter <hochlei...@seitenbau.com>
Subject Cocoon 2.1.6 - CForms multipart request
Date Mon, 14 Feb 2005 11:27:12 GMT
Hi,

I'm using CForms (Cocoon 2.1.6 ) and I have a multipart request. I enabled 
uploads in the web xml.

I always get the following error in the logfile:
org.apache.cocoon.ProcessingException: No function nor continuation given in 
<map:call function> at file:/D:/cocoon-
2.1.6/build/webapp/portal/modules/sitemap.xmap:117:82
	at 
org.apache.cocoon.portal.coplet.adapter.impl.URICopletAdapter.streamContent
(URICopletAdapter.java:133)
	at 
org.apache.cocoon.portal.coplet.adapter.impl.URICopletAdapter.streamContent
(URICopletAdapter.java:89)
...


My form starts like this:
    <ft:form-template name="edit_st" action="mycontent" method="POST" 
enctype="multipart/form-data">
      <ft:continuation-id/>
...

and when I remove the 'enctype="multipart/form-data"' part I can send the form 
and it works.

I looked at the html source code of the generated form and I also found 
differneced which might lead to this problem:
with enctype I get:
<form name="edit_st" method="POST" enctype="multipart/form-data" 
onsubmit="forms_onsubmit(); " action="portal?cocoon-portal-action=10&cocoon-
portal-event=38">
<input name="forms_submit_id" type="hidden">
      <input value="50413754441240176603640429361a3c4258395e" type="hidden" 
name="continuation-id">
...
and without I get:
<form name="edit_st" method="POST" onsubmit="forms_onsubmit(); " 
action="portal">
<input type="hidden" name="cocoon-portal-event" value="38">
<input type="hidden" name="cocoon-portal-action" value="13">
<input name="forms_submit_id" type="hidden">
<input value="52766b5487252448412b14833d5f765d4b835f10" type="hidden" 
name="continuation-id">
...

Does anyone know what to do?

Nicole


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message