[jboss-user] [JBoss Seam] - Re: pages.xml action method fired on ajax requests - must be

dkane do-not-reply at jboss.com
Sat Nov 3 16:04:04 EDT 2007


"pete.muir at jboss.org" wrote : This behaviour is to be expected due to the way a:commandButton works.  
  | 
  | You could perhaps file a feature request in JIRA and we'll see what we can come up with/whether it is a popular feature.

Was the JIRA issue raised ? I have the same (?) problem with page action and ajax request. 

The first version was without page action. My page is master-detail one. Upper panel contains rich:dataTable with ajax support for onRowClick event. Lower panel contains the detail dataset updated  and rerednered every time when row in upper (master) dataset is clicked. Standard pattern.

It was fine until I click "refresh" in browser. Browser asked me if form data should be resubmitted, and after that detail dataset got syncronized with previously, not currently selected row. 

I decided to use page action to refresh both datasets upon "Reload" click. And then noticed : each row click event with a:support invokes page action. 

Any other way to intercept page reload, or tune page action  ? Components are session-scoped.. 



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

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



More information about the jboss-user mailing list