File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

Modal Window JSF

RamyaR Ramakrishna
Greenhorn

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: http://aspose.com/file-tools
 
subject: Modal Window JSF
 
Similar Threads
Problem with sessionScoped
Display Different Sections while selecting different radio buttons
Session expires showModalDialog fnc call followed by window.open fnc call
JDialog trigger action opening JFrame closing problem
JSF tree component getting rendered before action method call (richfaces)