[jboss-user] [JBoss Seam] - update DataModel values
do-not-reply at jboss.com
Mon Jul 9 11:11:57 EDT 2007
I have a page that shows a table built over a datamodel of items. each item contains a collection of property, each of which represents a column of my table. i.e.
i.e. a line in my table looks like this:
id_x | firstname_x | familyname_x
items can be added/edited from another page. After saving the item, the list is rendered correctly (showing changed properties or new items), but when I edit/create items with two browsers I do not get an update when a property is just changed.
- Client1 is on the item list page
- Client2 modifies item x: "name x" becomes "name y"
(Client 2 sees the modification on its list)
- Client1 refreshes its list (values are reloaded from db since the I null the list and the factory method repopulates it), but the name visible in the table is still "name x"
This does not happen when I create a new item, since after a refresh I can see it on both browsers.
Do you think this problem could be related to lazy initialization of item collections, and do you have a solution for that?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4062025#4062025
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4062025
More information about the jboss-user