NonAJAXPortletView.jsp
<%-- jsf:pagecode language="java" location="/src/pagecode/NonAJAXPortletView.java" --%><%-- /jsf:pagecode --%> <%@taglib uri="http://java.sun.com/jsf/core" prefix="f"%> <%@taglib uri="http://java.sun.com/portlet" prefix="portlet"%> <%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%> <%@taglib uri="http://www.ibm.com/jsf/html_extended" prefix="hx"%> <%@page language="java" contentType="text/html" pageEncoding="ISO-8859-1" session="false"%> <portlet:defineObjects /> <link rel="stylesheet" type="text/css" href='<%= renderResponse.encodeURL(renderRequest.getContextPath() + "/theme/stylesheet.css") %>' title="Style"> <link rel="stylesheet" type="text/css" href='<%= renderResponse.encodeURL(renderRequest.getContextPath() + "/theme/stylesheet.css") %>' title="Style"> <link rel="stylesheet" type="text/css" href='<%= renderResponse.encodeURL(renderRequest.getContextPath() + "/theme/stylesheet.css") %>' title="Style"> <f:view> <hx:scriptCollector id="scriptCollector1">Search employee by Id<h:form id="form1" styleClass="form"> <table> <tbody> <tr> <td align="left">Employee Id:</td> <td style="width:5px">&nbsp;</td> <td><h:inputText id="textEmpno1" value="#{pc_NonAJAXPortletView.employeeBeanNonAjax.empno}" styleClass="inputText"> </h:inputText></td> </tr> </tbody> </table> <h:messages styleClass="messages" id="messages1"></h:messages> <br> <hx:commandExButton id="button1" styleClass="commandExButton" type="submit" value="Search" action="#{pc_NonAJAXPortletView.doButton1Action}"> </hx:commandExButton> </h:form> <table> <tbody> <tr> <td align="left">Employee Id:</td> <td style="width:5px">&nbsp;</td> <td><h:outputText id="textEmpno2" value="#{pc_NonAJAXPortletView.employeeBeanNonAjax.empno}" styleClass="outputText"> </h:outputText></td> </tr> <tr> <td align="left">First Name:</td> <td style="width:5px">&nbsp;</td> <td><h:outputText id="textFirstname1" value="#{pc_NonAJAXPortletView.employeeBeanNonAjax.firstname}" styleClass="outputText"> </h:outputText></td> </tr> <tr> <td align="left">Last Name:</td> <td style="width:5px">&nbsp;</td> <td><h:outputText id="textLastname1" value="#{pc_NonAJAXPortletView.employeeBeanNonAjax.lastname}" styleClass="outputText"> </h:outputText></td> </tr> <tr> <td align="left">Work Dept:</td> <td style="width:5px">&nbsp;</td> <td><h:outputText id="textWorkdept1" value="#{pc_NonAJAXPortletView.employeeBeanNonAjax.workdept}" styleClass="outputText"> </h:outputText></td> </tr> <tr> <td align="left">Job:</td> <td style="width:5px">&nbsp;</td> <td><h:outputText id="textJob1" value="#{pc_NonAJAXPortletView.employeeBeanNonAjax.job}" styleClass="outputText"> </h:outputText></td> </tr> <tr> <td align="left">Hire Date:</td> <td style="width:5px">&nbsp;</td> <td><h:outputText id="textHiredate1" value="#{pc_NonAJAXPortletView.employeeBeanNonAjax.hiredate}" styleClass="outputText"> </h:outputText></td> </tr> <tr> <td align="left">Sex:</td> <td style="width:5px">&nbsp;</td> <td><h:outputText id="textSex1" value="#{pc_NonAJAXPortletView.employeeBeanNonAjax.sex}" styleClass="outputText"> </h:outputText></td> </tr> <tr> <td align="left">Salary:</td> <td style="width:5px">&nbsp;</td> <td><h:outputText id="textSalary1" value="#{pc_NonAJAXPortletView.employeeBeanNonAjax.salary}" styleClass="outputText"> </h:outputText></td> </tr> </tbody> </table> <h:messages styleClass="messages" id="messages2"></h:messages> </hx:scriptCollector> </f:view>