You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by smithfox <ss...@gmail.com> on 2007/09/09 05:54:03 UTC
T5: How to set different parttern with my customized Date
translator with
I want to use the DateTranslator as following:
<input t:type="TextField" t:id="date1"
t:translator="translator:date,pattern=yyyy-MM-dd"/>
<input t:type="TextField" t:id="date2"
t:translator="translator:date,pattern=yyyy/MM/dd"/>
I implemented "Translator<Date>",
I can only write fixed pattern in DateTranslator,but how to get different
pattern information from page template.
--
View this message in context: http://www.nabble.com/T5%3A-How-to-set-different-parttern-with-my-customized-Date-translator-with-tf4408006.html#a12575772
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org