Hi Matt..
i created a model classes with the name Person,Department.
in the person class i created a many-to-one mapping like this
@MantToOne(targetEntity=Department.class)
@JoinColumn ( name="dept_id",insertable=false,updatable=true)
public Department getDepartment() {
return this.department;
}
public void setDepartment ( Department department) {
this.department = department;
}
create the full-source using mvn appfuse:gen and run the code to test the
classes are working or not..
when i edit the person details from the webpage it's updated but it shows
the blank white page and it's not showing any errors or anything.
and the other individual class is generated in the same manner with out any
relations then it's updated and added data perfectly but it gives an errors
in the server like field-validator of students-validation.xml is wrong, only
for this student class the validation-xml files are shown in the project.
can u please suggest me how to solve this problem
Sudhakar
--
View this message in context:
http://www.nabble.com/Appfuse2-Struts-save-update-problem-tp20988561s2369p20988561.html
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]