You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-user@incubator.apache.org by magdolna holitska <mh...@hotmail.com> on 2007/01/25 19:25:20 UTC
Re: Error message customization in tr:datetime
Hi Anshuman,
I raised the same a couple of days ago.
I recommend you to have a look at the messages having the title:
"Custom messages for converters"
I hope this helps,
Magdolna
>"Anshuman Abhishek Roy" <an...@in.ness.com>
>To: adffaces-user@incubator.apache.org
>Subject: Error message customization in <tr:datetime>
>Wed, 24 Jan 2007 13:36:00 GMT
>
Hi,
In the <tr:convertDateTime> if we put a pattern attribute and type
=ttribute, then the my custom message in convertDateMessageDetail is not
=howing up.
On further exploration of this component I found that the message can be
=hown provided we remove the pattern attribute.
Is there any way of which we can let it show , but simulataneously =aintain
its pattern.
I have attached the code below:
<tr:inputDate chooseId="entrydatepicker" id="entrydate"
value="#{BackingBean.startDate}"
onchange="closeCurrentPanelPopup();" >
<tr:convertDateTime id="xyz" pattern="MMM/d/yyyy" type="date"
convertDateMessageDetail=""{0}" in "{1}" is an =nvalid
date. Example: "{2}""/>
</tr:inputDate>
regards,
Anshuman
________________________________
_________________________________________________________________
Buy, Load, Play. The new Sympatico / MSN Music Store works seamlessly with
Windows Media Player. Just Click PLAY.
http://musicstore.sympatico.msn.ca/content/viewer.aspx?cid=SMS_Sept192006