[jboss-user] [JBoss Seam] - Re: dataTable in two windows

lightbulb432 do-not-reply at jboss.com
Mon Jan 22 20:23:51 EST 2007


Thanks, that looks like a good solution.

Is there an easier way by using pages.xml however? If you set the #{mySelectedEntity.id} in the pages.xml like the following, then wouldn't the entity you selected actually somehow get refreshed with the value in the database associated with that id?

<param name="entityId" value="#{mySelectedEntity.id}" />

Then in the remove method you could stick to em.remove(...); alone?

But what I'm wondering is how I could modify my code to take advantage of this...basically, what does putting a param element in pages.xml that points to an id actually do...is it what I think (the refresh) or is it something else?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4005085#4005085

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4005085



More information about the jboss-user mailing list