> > <t:textfield value="value" disabled="${disabled}" /> >
Disabled is a parameter to the textfield component. It's default binding is prop so you don't want the ${} around disabled. <t:textfield value="value" disabled="disabled" /> http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/TextField.html Josh 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] > > > > > -- -- TheDailyTube.com. Sign up and get the best new videos on the internet delivered fresh to your inbox.