Hi

AFAIR Tapestry simply append 'disabled' in the generated markup. Using CSS
to stylize .disabled should to the trick.

2010/7/12 Stephan Windmüller <stephan.windmuel...@cs.tu-dortmund.de>

> Hello!
>
> I am trying to use a read-only textarea component inside a form
> component. When the form is submitted, I get this error:
>
> org.apache.tapestry5.runtime.ComponentEventException: Failure writing
> parameter 'value' of component xxx.textarea: Binding
> org.apache.tapestry5.internal.services.attributeexpansionbind...@ce988a
> is read-only.
>
> Is it possbible to mark the component itself as read-only? Setting
> t:disabled="true" works but the textarea is rendered differently.
>
> Regards
>  Stephan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


-- 
Regards,
Christophe Cordenier.

Committer on Apache Tapestry 5
Co-creator of wooki @wookicentral.com

Reply via email to