How do I prepopulate a view?
I've got a view-state I'm displaying with an attached bean. I'd like the view's fields to be pre-populated with data from the database. The user can then edit the fields and submit their changes. I'm having a lot of trouble getting the bean pre-populated, though. Here's what I'm trying; does anybody see what I should be doing differently?
Note: originally posted in error to the Spring Workflow forum: http://forum.springsource.org/showth...opulate-a-view
<view-state id="updateUserInfoView" view="updateUserInfoView" model="userInfoBean">
<set name="viewScope.username" value="flowScope.principal.id" />
<transition on="submit" to="updateUserInfo"/>