<t:textfield value="value" disabled="disabled"/> This is because the default binding prefix for the disabled parameter is "prop" (i.e., a property expression).
Using disabled="${disabled}" is the hard way to do things. On Tue, Jul 29, 2008 at 5:45 AM, Lance Java <[EMAIL PROTECTED]> wrote: > java: > class MyPage { > @Property > private String value; > > @Property > private boolean disabled; > } > > tml: > <t:textfield value="value" disabled="${disabled}" /> > > On 29/07/2008, Tan [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >> >> hi all, >> >> i'm newbie in tapestry. May i know is there any dynamically way to >> code it in java to control over tml <input type=text become read-only >> = false or true base >> on my coding? >> Thank you. >> >> Regards, >> Tan >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > -- Howard M. Lewis Ship Creator Apache Tapestry and Apache HiveMind --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]