[Wicket-user] DateTextField with Timestamp

2006-08-02 Thread Nili Adoram
Hi all,
I want to use a DateTextField but the model object is a Timestamp.
However, the looking at the converters registry for a suitable converter 
is done with Date.class.
Even though Timestamp extends java.util.Date it will never find a 
suitable converter and use a StringConverter.
Please advise,
10x
Nili




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] DateTextField with Timestamp

2006-08-02 Thread Igor Vaynberg
decorate the model to do the conversion or override getconver() onthe textfield-IgorOn 8/2/06, Nili Adoram 
[EMAIL PROTECTED] wrote:Hi all,I want to use a DateTextField but the model object is a Timestamp.
However, the looking at the converters registry for a suitable converteris done with Date.class.Even though Timestamp extends java.util.Date it will never find asuitable converter and use a StringConverter.
Please advise,10xNili-Take Surveys. Earn Cash. Influence the Future of ITJoin SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cashhttp://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] DateTextField with Timestamp

2006-08-02 Thread Eelco Hillenius
Yeah. See for example wicket-examples/FormInput

Eelco

On 8/2/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
 decorate the model to do the conversion or override getconver() onthe
 textfield

 -Igor



 On 8/2/06, Nili Adoram  [EMAIL PROTECTED] wrote:
  Hi all,
  I want to use a DateTextField but the model object is a Timestamp.
  However, the looking at the converters registry for a suitable converter
  is done with Date.class.
  Even though Timestamp extends java.util.Date it will never find a
  suitable converter and use a StringConverter.
  Please advise,
  10x
  Nili
 
 
 
 
 
 -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
  opinions on IT  business topics through brief surveys -- and earn cash
 
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 


 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys -- and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user