I am looking for a solution to reset the properties of a session scope managed bean to the default values I specified in faces-config.xml (<managed-property>). I want to use this in a "reset to default" command button.
did reset the bean-properties but obviously not the components (values) which were bound to the properties. So I had to reset the components to (otherwise the old values were displayed afer render response).
did it finally. Im not sure if this is the way to do it.
I am also a bit confused about the relationship between bean-property-values and component values and wether a change of the one side affects the other side. Changing the bean property in code does not necessarily also changes the components value seen on the jsp-Page. Any explanation on this topic would be helpfull for me.
[ June 21, 2007: Message edited by: Klaus Classen ] [ June 21, 2007: Message edited by: Klaus Classen ]