File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Modal Window JSF

 
RamyaR Ramakrishna
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic