You can use span element with .uneditable-input if you have some field
that should not be modified at all.

<span class="input-xlarge uneditable-input">Some value here</span>

If you need some client-side behaviour of enable/disable component use
disabled attribute as mentioned earlier.

<input type="text" placeholder="${name}" disabled="disabled"/>

Or:

<t:textfield value="someValue" placeholder="prop:name" disabled="true"/>


On Mon, Mar 4, 2013 at 3:33 PM, Lance Java <lance.j...@googlemail.com> wrote:
>
> You can add and remove classes in javascript.
>
> For example, in jquery:
> http://api.jquery.com/addClass/
> http://api.jquery.com/removeClass/
>
>
>
> --
> View this message in context: 
> http://tapestry.1045711.n5.nabble.com/tapestry5-3-and-Twitter-bootstrap-disabled-inputs-tp5720319p5720326.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>



--
BR
Ivan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to