I was thinking perhaps I could leverage the Seam Remoting capabilities.
Once I selected the items I need, I press a command button
<s:commandButton action="#{mybackingbean.process}"
onclick="setSelection()" />
I implement a setSelection() javascript function that retrieves the selection from the
trinidad component and submits it through seam remoting capabilities. The only bummer with
this is I need the AJAX call to be synchronous (SJAX) to make sure that when the action on
the command button is processed I already have updated the server state with the selected
items.
Is it possible to use Seam remoting synchronously ? I know this is generally a bad thing
to do but in my case it would help me solve my problem.
Thanks,
-Guillaume
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125693#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...