Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Modal Window JSF

 
RamyaR Ramakrishna
Greenhorn
Posts: 4
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic