Re: T3: Disable TextField

2007-08-19 Thread Nick Westgate
The error says exactly what is wrong with your template. Each component must have a unique name (or be anonymous.) Cheers, Nick. Nazmul Bhuiyan wrote: Template for component UserEdit contains multiple references to embedded component inputUserLogin. ... jwcid=

Re: T3: Disable TextField

2007-08-19 Thread Nazmul Bhuiyan
Thanks a lot. Allen Guo wrote: > > there are one more inputUserLogin in .html file. It's not be allowed > For this case, you have to define two components with different name in > .page file. > > 2007/8/20, Nazmul Bhuiyan < [EMAIL PROTECTED]>: >> >> >> Hi, >> I'm trying to disable one field ac

Re: T3: Disable TextField

2007-08-19 Thread 蝈蝈龙
there are one more inputUserLogin in .html file. It's not be allowed For this case, you have to define two components with different name in .page file. 2007/8/20, Nazmul Bhuiyan < [EMAIL PROTECTED]>: > > > Hi, > I'm trying to disable one field according to the condition (new or > update). > But

Re: T3: Disable TextField

2007-08-19 Thread Nazmul Bhuiyan
Disable works but it is failing when I put the condition. span jwcid="@Conditional" condition="ognl:newUser"> disabled="ognl:false" span jwcid="@Conditional" condition="ognl:newUser"> disabled="ognl:true" Nazmul Bhuiyan wrote: > > Hi, > I’m trying to disable one field according to t

T3: Disable TextField

2007-08-19 Thread Nazmul Bhuiyan
Hi, I’m trying to disable one field according to the condition (new or update). But I’m getting the following error. Can any one please check and tell me what I’m doing wrong? I’ve been following the component reference in http://tapestry.apache.org/tapestry3/doc/ComponentReference/TextField.html