the following code delivers multiple new objects instead of one:

submit action{return editEducation(education.clone());}[class:=“btn”]{ “Clone” }

this fixes it:

submit action{var clone := education.clone();return editEducation(clone);}[class:=“btn”]{ “Clone” }

so there is a probably a problem with multiple evaluations of the parameter.

Submitted by chris melman on 5 April 2012 at 11:41

Log in to post comments