Posted one for the parameter issue https://issues.apache.org/jira/browse/TAPESTRY-1682
and another one for the Dialog component: https://issues.apache.org/jira/browse/TAPESTRY-1683 I didn't do it first because I was trying to investigate myself but I really have no time to do this now. Ciao Martino On 7/30/07, Andrea Chiumenti <[EMAIL PROTECTED]> wrote: > Well, I try to investigate into this, meanwhile if you could be so kind to > post a jira... > > ciao, > kiuma > > On 7/30/07, Martino Piccinato <[EMAIL PROTECTED]> wrote: > > > > Well, I'm having a very similar behaviour with Dialog component that > > by default has a true parameter for optional parameter "hidden". > > > > <parameter name="hidden" default-value="true" /> > > > > It seems that if you set a constant value ("ognl:0" or "true") to a > > parameter then the parameter itself is regarded as "Invariant" by > > AbstractBinding that will refuse you to use any setter on it (it does > > not have a reference to a method but to a... constant) and throw the > > exception. > > I don't have the exception if I just "override" the constant default > > value with an ognl reference to a couple of setters/getters method > > (returning the default value in case the property is not initialized). > > > > In my opinion this is a bug with "parameter" but I haven't been able > > to investigate more and I'm quite surprised nobody stepped into this > > problem before, see my neglected Dialog mails of some days ago :-) > > > > > > > > On 7/30/07, Andrea Chiumenti <[EMAIL PROTECTED]> wrote: > > > this is the stack trace > > > > > > > > org.apache.tapestry.binding.AbstractBinding.createReadOnlyBindingException > > ( > > > AbstractBinding.java:115) > > > org.apache.tapestry.binding.ExpressionBinding.setObject( > > > ExpressionBinding.java:196) > > > $EditTable_16.setStartRow($EditTable_16.java) > > > org.jfly.web.components.edittable.EditTable.rewindFormComponent( > > > EditTable.java:541) > > > > > > On 7/30/07, Andrea Chiumenti <[EMAIL PROTECTED]> wrote: > > > > > > > > Hello! > > > > I'm having this exception ( > > > > > > org.apache.tapestry.binding.AbstractBinding.createReadOnlyBindingException > > > > (AbstractBinding.java:115)) when I call into my rewindFormComponent > > method > > > > this code: > > > > > > > > setStartRow(sliderValue); > > > > > > > > and I set into jwc file: > > > > <parameter name="startRow" required="no" cache="true" > > > > default-value="ognl:0"/> > > > > > > > > > > > > Who can help me please ? > > > > > > > > Thx, kiuma > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]