cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alessandro Vincelli <>
Subject CFORM: on-delete-row
Date Fri, 03 Mar 2006 09:51:29 GMT

I have this error on save a form with repeater

Internal Server Error
Message: Cannot set property /rows[1]/@row-state, path does not match a 
changeable location

Description: org.apache.cocoon.ProcessingException: Error calling 
continuation at 
resource://org/apache/cocoon/forms/flow/javascript/Form.js:228:-1 at 
file:/var/webapps/certnet/cforms/cforms/flow/cattura.js:184:-1 at 
<map:call> - file:/var/webapps/certnet/cforms/sitemap.xmap:368:83 at 
<map:mount> - file:/var/webapps/certnet/sitemap.xmap:727:83

Sender: org.apache.cocoon.servlet.CocoonServlet

Source: Cocoon Servlet

The problem is on the delete row!

   <fb:set-attribute name="row-state" value="deleted"/>

Any ideas?

thanks in advance

Complete binding

<?xml version="1.0" encoding="ISO-8859-1"?>
<fb:context xmlns:fb="" 
xmlns:fd="" path="/">

  <fb:repeater id="AnagrafeOperaiTemp" parent-path="." row-path="rows">	
             <fb:value id="opcodced" path="@opcodced"/>
			<fb:value id="opcodimp" path="opcodimp"/>
			<fb:value id="opcognom" path="opcognom"/>
			<fb:value id="opnomeop" path="opnomeop"/>
			<fb:value id="opdtnasc" path="opdtnasc"/>
			<fb:value id="opcodfis" path="opcodfis"/>
		 <fb:insert-bean addmethod="addRow" 
    	   <fb:set-attribute name="row-state" value="deleted"/>

Alessandro Vincelli
W4B - web for business s.r.l.
Via Volturno, 10/12
Sesto Fiorentino (FI)
Tel. 0571 998771
Fax. 055 340576

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message