File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes Problem with <tr:commandButton> Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Problem with <tr:commandButton>" Watch "Problem with <tr:commandButton>" New topic

Problem with <tr:commandButton>

Kumar Gaurav
Ranch Hand

Joined: Apr 08, 2008
Posts: 108
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??

I agree. Here's the link:
subject: Problem with <tr:commandButton>
Similar Threads
jQuery UI: make diaglog close when the user clicks on the page
Stop form data load on click of refresh button
submit button