Description
Invoking clearValues() on the CayenneForm will clear the FO_CLASS hidden field value, which will cause an exception to be thrown when setDataObject is subsequently called.
java.lang.IllegalArgumentException: Given dataObject class com.avoka.fcl.entity.UserLogin does not match form class
at net.sf.click.extras.cayenne.CayenneForm.setDataObject(CayenneForm.java:361)