This week's giveaway is in the Threads forum.
We're giving away four copies of Java Concurrency Live Lessons and have Doug Schmidt on-line!
See this thread for details.
Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

ajax events not triggered in dynamically included pages  RSS feed

 
Vinu Shanmugam
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!