Hi,

I'm currently using Wicket 1.3 and trying to install a converter for Joda
Time's DateTime.  The converter seems to be installed, as it displays the
correct format in the TextField but when I try to save the user's changes I
get a message along the lines of wicket can't find a setter for the string
value of the DateTime in the class I'm trying to use as the model.

What Wicket appears to be doing is trying to save the string value of the of
the DateTime not the DateTime itself.    The code which I'm using to display
the DateTime in the page is:

public void init(){
    ...
    add(new TextField("starts", new PropertyModel(session, "starts"),
DateTime.class);
    ...
}

BTW I'm sorry I don't have the specific error message, I'm at work at the
moment and don't have the code with me.

Thanks,

Doychi
-- 
View this message in context: 
http://www.nabble.com/Converters-tf3568876.html#a9970270
Sent from the Wicket - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
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.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to