[Wicket-user] TextFilteredPropertyColumn and a date value

2007-01-14 Thread kurt heston
I'm trying to create a filter that allows the user to enter a date on 
which to filter.  It works fine when a valid date string is input.  
However, invalid dates generate a conversion exception.

Do I need to create a brand new class that overrides 
FilteredPropertyColumn to get this to work?

-
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] TextFilteredPropertyColumn and a date value

2007-01-14 Thread Igor Vaynberg

you need to specify the type in the textfield so the the conversion
exception is caught there.

new textfield(id, model, Date.class);

-igor


On 1/13/07, kurt heston [EMAIL PROTECTED] wrote:


I'm trying to create a filter that allows the user to enter a date on
which to filter.  It works fine when a valid date string is input.
However, invalid dates generate a conversion exception.

Do I need to create a brand new class that overrides
FilteredPropertyColumn to get this to work?

-
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