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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to