*
The moose likes JSF and the fly likes ajax events not triggered in dynamically included pages Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "ajax events not triggered in dynamically included pages" Watch "ajax events not triggered in dynamically included pages" New topic
Author

ajax events not triggered in dynamically included pages

Vinu Shanmugam
Greenhorn

Joined: Jul 22, 2011
Posts: 4
Hi,

I have a AdminHome.xhtml page which has a dynamic include as below:



The above include will get page names dynamically during various ajax events triggered on AdminHome.xhtml page.

Below is one of the dynamic pages that gets loaded when the selectOneMenu changes.



The problem is commandLink does not invoke action during first click. It works well from second click. I enabled the PhaseListener and during first click, only the RESTORE_VIEW and RENDER_RESPONSE phases are called.

I saw similar problems reported by others in forums but no concrete answer.

Could someone assist on this please?

Thanks
Vinu
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ajax events not triggered in dynamically included pages