Yes it only works with a Date. If you want
to accept the value into a String then you have 2 options:
- Use
jenia4jsf popup – http://www.jenia.org
- Or
write a simple validator/converter – google and you will find loads
of articles to write one.
~madhav
From: Aneesha Govil
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 15, 2006
5:59 PM
To: MyFaces
Discussion
Subject: Re: Question on
t:calendar popup value binding
I used a value binding to
a String but the value did not get populated, however it works for a date. Do I
have to write a custom converter? Can I find more information about writing
custom converters for JSF components somewhere?
Thanks,
Aneesha
On 11/15/06, Aneesha
Govil <[EMAIL PROTECTED]>
wrote:
Hi,
I am trying to use a calendar popup. What should be the type of the property
that binds to the value of the popup? I looked at the examples source, it uses
a date. Does it have to be a Date or can I use a String for the same? Which
date format does it assume by default, e.g. - mm/dd/yyyy or what?
Thanks,
Aneesha
**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***
|
|