You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Uri Abramov <ua...@bluecatnetworks.com> on 2003/10/03 02:06:21 UTC
Disabling Selelect component
Hello,
I spent a few hours tring to disable Select component but without sucess so far. I tried to use disable protertiy and I got exception every time I tried to change disable property. I don't know what I'm doing wrong.
How can I disable Select compnent ?
There is code I use:
<component id="timeIntervalSelect" type="Select">
<binding name="disabled" expression="timeIntervalSelectDisable"/>
</component>
public boolean isTimeIntervalSelectDisable() {
return true;
}
There is exception I get:
net.sf.tapestry.param.ConnectedParameterException
Property disabled of component EmailRelayedReport/timeIntervalSelect is not read-write.
component: net.sf.tapestry.form.Select@1ce9f9d[EmailRelayedReport/timeIntervalSelect]
parameterName: disabled
propertyName: disabled
Stack Trace:
net.sf.tapestry.param.ParameterManager.setup(ParameterManager.java:179)
net.sf.tapestry.param.ParameterManager.setParameters(ParameterManager.java:92)
net.sf.tapestry.AbstractComponent.prepareForRender(AbstractComponent.java:925)
net.sf.tapestry.AbstractComponent.render(AbstractComponent.java:899)
net.sf.tapestry.AbstractComponent.renderBody(AbstractComponent.java:675)
net.sf.tapestry.form.Form.renderComponent(Form.java:325)
net.sf.tapestry.AbstractComponent.render(AbstractComponent.java:901)
net.sf.tapestry.AbstractComponent.renderBody(AbstractComponent.java:675)
net.sf.tapestry.components.RenderBody.renderComponent(RenderBody.java:59)
net.sf.tapestry.AbstractComponent.render(AbstractComponent.java:901)
net.sf.tapestry.AbstractComponent.renderBody(AbstractComponent.java:675)
net.sf.tapestry.html.Body.renderComponent(Body.java:276)
net.sf.tapestry.AbstractComponent.render(AbstractComponent.java:901)
net.sf.tapestry.AbstractComponent.renderB
I use Tapestry 2.2.
Thanks in advance.
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org