CustomerDetailEntry.jsp

 

+

Search Tips   |   Advanced Search

 

<%@page session="false" 
        contentType="text/html" 
        pageEncoding="ISO-8859-1" 
        import="java.util.*,javax.portlet.*,com.ibm.etools.portlet.jsr286.*" %>

<%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet"%>        

<%@taglib uri="http://www.ibm.com/xmlns/prod/websphere/portal/v6.1/portlet-client-model" 
          prefix="portlet-client-model" %>        

<portlet:defineObjects/> 

<portlet-client-model:init>
      <portlet-client-model:require module="ibm.portal.xml.*"/>
      <portlet-client-model:require module="ibm.portal.portlet.*"/>   
</portlet-client-model:init>         

<%
CustomerDetailBean cdb = (CustomerDetailBean) renderRequest.getAttribute(CustomerDetailPortlet.CUSTOMER_DETAIL_BEAN);
%>

<FORM method="POST"
      action="<%= cdb.getActionURL() %>"
      enctype="application/x-www-form-urlencoded"
      name="<portletAPI:encodeNamespace value='CustomerDetails' />">

    <LABEL class="wpsLabelText" 
           for="<%= CustomerDetailPortlet.CUSTOMER_ID %>">

           Enter customer id to display details:

    </LABEL>
    <BR/>

    <INPUT class="wpsEditField" 
           name="<%= CustomerDetailPortlet.CUSTOMER_ID %>" type="text"/>
    <BR/>

    <INPUT class="wpsButtonText" name="submit" type="submit" value="Submit"/>

</FORM>
<br />