[jboss-user] [JBoss Seam] - Re: ID becoming null when trying to save entity.
cdiggins
do-not-reply at jboss.com
Tue Jan 8 15:43:57 EST 2008
Problem solved.
I at first did not have a field at all to take the ID, reasoning that if there was no field it would keep the previous ID value from the database. This was incorrect; the solution now used is to have an inputHidden bound to the ID property of my entity, which then passes the ID (if there is one) to the save method of the bean.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4118066#4118066
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4118066
More information about the jboss-user
mailing list