Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with <tr:commandButton>

 
Kumar Gaurav
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

In the jsp page i have a command button being used to launch a dialog window. This button is inside <h:form> tag.
Problem with this button is for the first time if page gets loaded and user clicks on this button, page is getting refreshed and dialog is not getting launched.
If user clicks on the button for the second time, it is performing what it is supposed to perform.

Any pointer to this problem??
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic