Difference between
version 23
and
version 8:
At line 3 changed 1 line. |
__Send your POJOs to the UI rather than converting them to ActionForms first.__ |
__Send your [POJO]s to the UI rather than converting them to ActionForms first.__ |
At line 15 added 6 lines. |
''Are you saying that you would populate the form manually in the view?'' ~ [mojavelinux] |
|
I suggest looking at Struts' __Nested__ taglib. It does set properties if complex DTO objects |
and does not require (semi)manual conversion between strings and actual data types. |
With little wrapper to BeanUtilities, which registers a Date handler with desired formatting pattern, it allows correct handling of dates. |
|
At line 16 changed 1 line. |
* [ValueObjectInForm] |
* [DTOInForm] |
* [Nested Extension|http://keyboardmonkey.com/next/index.jsp] |
|
__Comments:__ |
---- |
|
I know it's not really useful to you, but WebWork gives you this natively. It's one of the big differences between WW and Struts, in that with WebWork you can make true model-driven actions, and then use them in your form. |
|
For example a form field called |
Back to POJOsToForms,
or to the Page History.
|