Jesse Kuhnert <jkuhnert <at> gmail.com> writes:

> 
> We'd probably have to see more of your stack trace,  but it looks like
> someone is trying to update that parameter at some point.
> 
> On Nov 5, 2007 6:17 AM, Henrik Schlanbusch <henrik <at> enovate.no> wrote:
> > Hi
> >
> > I am still in the process of upgrading from T3 to T4.1
> > which have taken quite a bite of time now. I encounter the following
> > problem that I never had in 3.1:
> >
> >  <span jwcid="@fw:AjaxPlaceHolder" model="ognl:userPerformance"
> > property="satisfactoryPerformance" inputType="Checkbox"/>
> >
> >  Unable to update OGNL expression '<parsed OGNL expression>'
> > of $AjaxPlaceHolder_15 <at> f6349d7d[useradmin_performanceOverviewPage/
> > $AjaxPlaceHolder] to satisfactoryPerformance: Binding with
> > value satisfactoryPerformance (StaticBinding
> > [satisfactoryPerformance]) may not be updated.
> >

Yes, I am trying to update the parameter from my AjaxPlaceHolder component.

Previously in T3 I could specify that a parameter name 
should be the same as a property name - and thus 
be able to update it. This seems not possible now??

For clarification, it is the String "satisfactoryPerformance" 
I want to send to the server. This used to work in T3.1 
but gives me major problems when upgrading.


This is the code in AjaxPlaceHolder:

    @Parameter(required=false)
    public abstract String getProperty();
    public abstract void setProperty(String string);



Seems to be as it should?

OK - here we go:-)



Stack Trace:

    *
org.apache.tapestry.binding.AbstractBinding.createReadOnlyBindingException
(AbstractBinding.java:115)
    * org.apache.tapestry.binding.AbstractBinding.setObject
(AbstractBinding.java:66)
    * $AjaxPlaceHolder_15.setProperty($AjaxPlaceHolder_15.java)
    * $ASTProperty_1160f830dca.set($ASTProperty_1160f830dca.java)
    *
org.apache.tapestry.services.impl.ExpressionEvaluatorImpl.
write(ExpressionEvaluatorImpl.java:175)
    * $ExpressionEvaluator_1160f830cfc.write($ExpressionEvaluator_
1160f830cfc.java)
    *
org.apache.tapestry.binding.ExpressionBinding.setObject(
ExpressionBinding.java:223)
    * $Hidden_19.setValue($Hidden_19.java)
    * org.apache.tapestry.form.Hidden.rewindFormComponent(
Hidden.java:95)
    *
org.apache.tapestry.form.AbstractFormComponent.
renderComponent(AbstractFormComponent.java:90)
    * org.apache.tapestry.AbstractComponent.render(
AbstractComponent.java:725)
    *
org.apache.tapestry.services.impl.DefaultResponseBuilder.
render(DefaultResponseBuilder.java:179)
    * org.apache.tapestry.AbstractComponent.renderBody(
AbstractComponent.java:539)
    * org.apache.tapestry.form.FormSupportImpl.rewind(
FormSupportImpl.java:625)
    * org.apache.tapestry.form.Form.renderComponent(Form.java:196)
    * org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:725)
    *



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to