Hello,
My case is quite similar except the objects I want to save are a bit different.
class Summary{
String id;
String htmlContent;
//getters and setters
}
I made a custom UISummary instanciated by a UISummaryGenerator.
My question is : where I can map the UIcomponent values coming from the web page to my object.
The serialization couldn't be automatic in that case, but :
- the UIComponent is not aware about Spring context (eg. the decode function)
- the Summary is not aware about the UI
- the generator is constructing the UI but does not seems to have a callback function after the submit to save the metadata
I have a converter which convert the ObjectToString and StringToObject, but it seems to be called on the rendering and not when I submit the edit page.
Do I need to implement my own EditProperties dialog or I can just implement another method somewhere?
If anyone can show me a link or explain what to do, am getting stuck with that problem since one day.
Thanks and best regards,
Patrick