Hello,
I'm trying the new stable tap-4.1.2

And I'm having the following problem:

An exception has occurred.

You may continue by *restarting <http://localhost:8080/restart.svc>* the
session.
[ +/- ] Exception: <http://localhost:8080/app> Exception invoking listener
method addNewListener of component Home/tableForm: Binding with value 0
(ExpressionBinding[Home/tableForm 0]) may not be updated.
org.apache.tapestry.BindingException

Exception invoking listener method addNewListener of component
Home/tableForm: Binding with value 0 (ExpressionBinding[Home/tableForm 0])
may not be updated.

binding:

[EMAIL PROTECTED] action,
component=Home/tableForm, methodName=addNewListener,
location=classpath:/org/jfly/web/components/edittable/EditTable.jwc, line
154, column 59]

component:

[EMAIL PROTECTED]/tableForm]

location:

classpath:/org/jfly/web/components/edittable/EditTable.jwc, line 154, column
59
149

<binding name="updateComponents" value="ognl:{clientId}"/>

150

</component>

151

<component id="addNew" type="Submit">

152

<binding name="value" value="literal:addNew"/>

153

<binding name="updateComponents" value="ognl:{clientId}"/>

154

<binding name="action" value="listener:addNewListener"/>

155

<binding name="async" value="ognl:true"></binding>

156

</component>

157

<component id="insert" type="Submit">

158

<binding name="value" value="literal:insert"/>

159

<binding name="updateComponents" value="ognl:{clientId}"/>





 [ +/- ] Exception: <http://localhost:8080/app> Binding with value 0
(ExpressionBinding[Home/tableForm 0]) may not be updated.
org.apache.tapestry.BindingException  Binding with value 0
(ExpressionBinding[Home/tableForm 0]) may not be updated.  binding:
ExpressionBinding[Home/tableForm
0]  location: classpath:/org/jfly/web/components/edittable/EditTable.jwc,
line 30, column 69
25 <description> 26 If it's a sized table (a table that can display only a
limited amount of rows a time) this 27 is number of the entire source
displayed. It's needed for scrollbar creation 28 </description> 29</parameter>
30 <parameter name="startRow" required="no" default-value="ognl:0">
31<description>
32 When you have a scrollable table, this is the index of the first row
displayed. 33 </description> 34 </parameter> 35 <parameter
name="displayRowCount" required="no" default-value="ognl:0">

I've not set the startRow parameter from the container component.

and have in the component code the abstract setter/getter methods.

Then I need to change the value when I call the component
addNewListenerlistener, but the exception above appears.

What should I do? Is it changed something in component parameters ?

Thx,
kiuma

Reply via email to