File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes Modal Window JSF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Modal Window JSF " Watch "Modal Window JSF " New topic

Modal Window JSF

RamyaR Ramakrishna

Joined: Apr 09, 2008
Posts: 4
I have a jsf datatable with a few columns and a radio button.. On select of the radio button i need to display the details of this in a modal window. The code below is shown for opening the window.

<h:commandButton type="button" id="mod" image="../images/edit_record.jpg" action="#{domainbean.getSelectedDomain}" on click="modifydomain();"/>

But the problem is the javascript is executed first , and the valuechangelistener of radio button and action is executed later which displays empty in the modal window.
I agree. Here's the link:
subject: Modal Window JSF
It's not a secret anymore!