I'm stumped in how to modify model output for redisplay on a web page after
confirmation.

I have a TextArea<List&lt;InternetAddress>> that gets added to a form. On
submission I have a custom converter that work fine to transform the input
into a model object with the same type of member.

After form submit there is a confirmation page on which the user can either
submit or return to the previous page containing the form. (The previous
page is passed to the confirmation page so the 'return' button onSubmit()
contains setResponsePage(previousPage). When the previous page re-renders
all the data of the form is there except the List of email address is
surrounded by brackets: [[email protected], [email protected]].

This is understandable since the corresponding model is a List and a
List.toString() displays its contents with brackets. Is there a Wicket way I
can modify the rendering of this TextArea to remove these brackets? Or,
would it be simpler to just modify the toString() of the List?



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Modifying-model-output-to-TextArea-tp4661830.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to