Once the form is submitted, i trap the htmlLinkLister with eventtype being FormEventType.
it validates the JavaForm Object if fails it returns back the JEditoPane with error messages.
The below code will change url to map and then map would be used to convert it back to JavaFormObject.
Areas to explore is if they work:
1. Does Radio button works well.
2. Multiple select does it work
3.
JavaForm
1. JavaFormObject real object maps 1-2 with UI.
2. Is annotated for presentation.
3. Links to the real object.
4. this is aware of the JEditorPane.
5. Advice if needed.
6. Persist or query needs to be intersepted with interface $Proxy.
7. Advice can also be added to them.
JavaFormLifeCycle
1. OnLoad(fetches master data)
2. Containing Data + not posted
3. showing data, session scope and posted
4. Containing Data + not validated
Advice/Plugin should be able to pin in advance features at any level.
NOTE:
Advice should also have global/machine advice, depending on the scope of the machine on which it is sitting.
No comments:
Post a Comment