Re: [T5] default DateFormat for DateFields

2007-12-26 Thread Sven Homburg

have a look at 

http://wiki.apache.org/tapestry/Tapestry5LocalizedDateField


Marcelo lotif wrote:
> 
> I found this question interesting too...
> 
> anyone has any solution to this?
> 
> 2007/12/22, Moritz Gmelin <[EMAIL PROTECTED]>:
>>
>> Hi,
>>
>> Is there a way to set the default DateFormat for all DateField
>> elements of a BeanForm?
>> I know that I could specify the format in a  block for
>> the form. But then I'd have to do this on every occurrence of a Date
>> object.
>> Is there maybe some service that I could intercept when it is creating
>> DateField instances and tell it what format to use?
>>
>> Thanks
>>
>> Moritz
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 
> -- 
> Atenciosamente,
> Marcelo Lotif
> 
> 


-
---
best regards
Sven
-- 
View this message in context: 
http://www.nabble.com/-T5--default-DateFormat-for-DateFields-tp14473925p14508517.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [T5] default DateFormat for DateFields

2007-12-26 Thread Marcelo Lotif
I found this question interesting too...

anyone has any solution to this?

2007/12/22, Moritz Gmelin <[EMAIL PROTECTED]>:
>
> Hi,
>
> Is there a way to set the default DateFormat for all DateField
> elements of a BeanForm?
> I know that I could specify the format in a  block for
> the form. But then I'd have to do this on every occurrence of a Date
> object.
> Is there maybe some service that I could intercept when it is creating
> DateField instances and tell it what format to use?
>
> Thanks
>
> Moritz
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Atenciosamente,
Marcelo Lotif


[T5] default DateFormat for DateFields

2007-12-22 Thread Moritz Gmelin

Hi,

Is there a way to set the default DateFormat for all DateField  
elements of a BeanForm?
I know that I could specify the format in a  block for  
the form. But then I'd have to do this on every occurrence of a Date  
object.
Is there maybe some service that I could intercept when it is creating  
DateField instances and tell it what format to use?


Thanks

Moritz

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]