Hi,
Here's a use case I'm having a bit of trouble with:
1) present user with a Panel that display Contact information as text
('display' component).
2) User chooses to edit info
3) Replace 'display' component (via Ajax) with an 'edit' component.
4) User saves changes (via Ajax form post).
5) Part of the form post processing is to restore the original 'display'
component with an updated Model.
Everything is working great except the 'display' component is not reflecting
the saved changes. Before replacing the edit component
with the display component, I'm calling setModel() on the original display
component with the updated data. This has no effect visible effect.
The 'display' component is itself a tree of components. Is there a
prescribed way to propogate the fact that I updated the model down
to all the affected child components? Is that something I have to handle
myself or does the framework do that?
Thanks,
Erik
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user