Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Commandlink action is not working when used to show popup page.

sharath kumar reddy karnati
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All,

I have following code in <h:dataTable> one of the columns



<f:facet name="header">
<hutputText value="User Id" />

<h:commandLink value="#{rs.user_id}" action="#{PersonalDetails.ShowPersonalDetails}" onmousedown="popupPage()" >
<f:param value="#{rs.user_id}" name="UserID" />



When user selects link on 'User Id' column it is displaying a popup window but it is not invoking bean method(ShowPersonalDetails), when I remove 'onmousedown' event then it is calling action method correctly.

Please help.

Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic