5 Replies Latest reply on Oct 8, 2007 5:28 AM by raist_majere

    putting Jsf el on javascript popup window - very urgent-plea

    chpadmamca

      Hi,

      I am using JSF.

      I got the need to pass the value from datatable as the parameter to javascript popup window.

      Could any body help me in passing the value as el expression and displaying that parameter on the popup window.


      Here is my code

      <h:panelGroup>
      <h:dataTable value="#{requestBean.screenApprovalLine}" var="req">
      <h:inputText value="#{req.approverId}" readOnly="#{req.readOnly}" id="#{req.seqNbr}" />
      <h:commandButton value="Search" onmousedown="javascript:window.open('\search.jsp?approveType=+'approveType.value'','Employees','scrollbars=yes','height=200,width=150');" rendered="#{!req.readOnly}" >

      <f:param value="#{req.approveType}" name="approveType"></f:param>
      </h:commandButton>
      </h:panelGroup>

      </h:dataTable>


      search.jsp is my popup window.

      please help me.

      Thanks,