[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - putting Jsf el on javascript popup window - very urgent-plea

chpadmamca do-not-reply at jboss.com
Thu Oct 4 14:58:20 EDT 2007


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,



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4091702#4091702

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4091702



More information about the jboss-user mailing list