Re: T5: Enabling disabled datefield

2009-07-03 Thread Przemysław Wojnowski
It works. Thank you very much! > Hi, > > Because you set t:disabled="true" to the datefield statically, so in the > form submit process, its value would not be updated always. > > You can dynamically set the 'disabled' like t:disabled="!dateEnabled", then > you will get the value. > > DH > h

Re: T5: Enabling disabled datefield

2009-07-02 Thread ningdh
com.cn - Original Message - From: "Przemysław Wojnowski" To: "Tapestry users" Sent: Thursday, July 02, 2009 4:39 PM Subject: Re: T5: Enabling disabled datefield > Hi again! > I know that simple components are not that interesting. > Maybe there is someone wh

Re: T5: Enabling disabled datefield

2009-07-02 Thread Przemysław Wojnowski
Hi again! I know that simple components are not that interesting. Maybe there is someone who also uses this components and knows why it doesn't work (or maybe should not work). Przemysław Wojnowski wrote: > Hi! > Is there a way to submit datefield, which has attribute disabled="true" > in template

T5: Enabling disabled datefield

2009-06-30 Thread Przemysław Wojnowski
Hi! Is there a way to submit datefield, which has attribute disabled="true" in template but was enabled using JavaScript on page. Currently enabling field using JS does nothing and datefield is not submitted, although it should IMHO. Or is there some other way to have field disabled by default, but