Quote Originally Posted by legad
thank you Larry.

Do you mean I should use this constructor :
DefaultFormModel(ValueModel domainObjectHolder) with a RefreshableValueHolder as parameter or FormModelHelper.createFormModel(ValueModel formObjectHolder) in my forms ?
Something like this :

FormModel formModel = FormModelHelper.createFormModel(new RefreshableValueModel(myBean) );
...
<after commit>
<do the updates on my bean>

formModel.getFormObjectHolder().refresh();
--> all my gui components are updated ?

Christophe.
Yes, give that a try. I haven't done it myself, but it should do what you want. Please report back if it doesn't.


Quote Originally Posted by legad
PS : recently, it seems that (both in dev list and on the forum) lots of people have code to share (error window, data binder, order of validation message, views as tabs...). What do you think (the spring rich community) of putting all this code in th sandbox. It could be nice to share different components with other people and shorten the time to develop a swing app (THE goal of Spring rich). I know that you (Larry) are going that way.
The developpement of a new Swing application could be just to assemble components from the community (an application global design, particular binder...) depending of our needs.
Maybe the next step after Mavenization (great work again).
Sorry for this long PS !
The sandbox is meant to house new (experimental) ideas, components that are not ready for the core (maybe due to lack of tests), and for collaborative development. However, the code within it needs to remain reasonably true to the mission of Spring Rich. Thus, you shouldn't find any JSP code in there.

That's why you'll often see a discussion on the dev list with some code passing by and then an initial incarnation of the topic ends up in the sandbox for others to play with. I encourage this type of collaboration as I think it can really help move the project along. However, it's important for the initial discussions to take place in order to avoid the sandbox ending up like my cat's litter box.

Larry.