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

Raist_Majere do-not-reply at jboss.com
Fri Oct 5 23:42:19 EDT 2007


I don't know nearly nothing about JSF, but I do for HTML and JavaScript, and I've found some errors in your 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="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> 
  | 
- Removed "javascript:" from onmousedown
- Changed \ for / in URL of search page
- Plus sign outside String before approveType.value
- Removed double quote after approveType.value


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

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



More information about the jboss-user mailing list