Win a copy of Practical SVG this week in the HTML/CSS/JavaScript 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.
 
brevity is the soul of wit - shakepeare. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!