[jboss-user] [JBoss Seam] - ID becoming null when trying to save entity.
do-not-reply at jboss.com
Tue Jan 8 13:33:37 EST 2008
I have been having difficulty getting an entity record to update data. I am using a @Factory menthod to load an @DataModel list, and the selecting a record using @DataModelSelection. Once this data is loaded I can see on the page (outputText) that I have the proper ID from the database. If I then click Save on the page and have a breakpoint on the first line of my save method, I find that the ID of the entity is now null.
Bean code: http://pastebin.com/m64bc46af
Entity code: http://pastebin.com/m72d5f618
List xhtml code: http://pastebin.com/mfd2394e
Edit screen xhtml code: http://pastebin.com/md1f99e3
If anyone has any idea what could be done to prevent the ID from becoming null, I would appreciate it.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4118024#4118024
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4118024
More information about the jboss-user