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" <[EMAIL PROTECTED]>
To: [email protected]
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="&quot;{0}&quot; in &quot;{1}&quot; is an =nvalid date. Example: &quot;{2}&quot;"/>

</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

Reply via email to