home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / vgserv45.zip / BASE / HPTWGS2 / CSOERRORUIR.jsp next >
Text File  |  2001-03-21  |  3KB  |  79 lines

  1. <!-- The following 3 lines are for JSP 1.0 support. Comment out
  2.      the lines for JSP 0.91 support -->
  3. <%@ page errorPage="Vagen1ErrorPage.jsp" %>
  4. <%@ page import = "com.ibm.vgj.uibean.VGDataElement" %>
  5. <jsp:useBean id="CSOERRORUIR" scope="request" class="com.ibm.hpt.gateway.CSOERRORUIRBean" />
  6. <!-- Uncomment the following 2 lines for JSP 0.92 support and comment out
  7.      the lines for JSP 1.0 support -->
  8. <!-- %@ import="com.ibm.vgj.uibean.VGDataElement" % -->
  9. <!-- BEAN NAME="CSOERRORUIR" TYPE="com.ibm.hpt.gateway.CSOERRORUIRBean" SCOPE=REQUEST></BEAN -->
  10. <!--
  11.                 This is JAVA code that gets the individual data elements
  12.                 from the UI Bean that are to be used by this page to
  13.                 access all dynamic data. -->
  14.  
  15. <%
  16.     VGDataElement PGMERROR = CSOERRORUIR.getPGMERROR();
  17.     VGDataElement DATEERROR = CSOERRORUIR.getDATEERROR();
  18.     VGDataElement TIMEERROR = CSOERRORUIR.getTIMEERROR();
  19.     VGDataElement MSGCOUNT = CSOERRORUIR.getMSGCOUNT();
  20.     VGDataElement MSGERROR = CSOERRORUIR.getMSGERROR(); %>
  21. <HTML><HEAD>
  22. <TITLE><%= CSOERRORUIR.getTitle() %></TITLE>
  23. </HEAD>
  24. <BODY>
  25. <TABLE BORDER="4" CELLPADDING="20">
  26.     <TR>
  27.         <TD>
  28.             <TABLE ALIGN="left">
  29.                 <TR>
  30.                     <TD>
  31.                         <FORM METHOD="POST" ACTION="<%= CSOERRORUIR.getGatewayURL() %>">
  32.  
  33.                             <!-- No comment defined for item PGMERROR -->
  34.                             <b><%= PGMERROR.getLabel() %> </b><%= PGMERROR.getTextValue() %>
  35.                             <br>
  36.  
  37.                             <!-- No comment defined for item DATEERROR -->
  38.                             <b><%= DATEERROR.getLabel() %> </b><%= DATEERROR.getTextValue() %>
  39.                             <br>
  40.  
  41.                             <!-- No comment defined for item TIMEERROR -->
  42.                             <b><%= TIMEERROR.getLabel() %> </b><%= TIMEERROR.getTextValue() %>
  43.                             <br>
  44.  
  45.                             <!-- No comment defined for item MSGERROR -->
  46.  
  47.                             <% if (MSGERROR.notEmpty()) { %>
  48.                                 <b><%= MSGERROR.getLabel() %> </b>
  49.                                 <% { %>
  50.                                     <%
  51.                                         java.util.Enumeration lines = MSGERROR.occurrences();
  52.                                         while (lines.hasMoreElements()) {
  53.                                             VGDataElement line = (VGDataElement)lines.nextElement(); %><pre><%= line.getTextValue() %></pre>
  54.                                         <% } %>
  55.                                 <% } %>
  56.                             <% } %>
  57.                             <br>
  58.                             <P>
  59.  
  60.  
  61.  
  62.                             <!-- VG Gateway control fields - DO NOT MODIFY -->
  63.  
  64.                             <INPUT TYPE=HIDDEN NAME="hptAppId" VALUE="<%= CSOERRORUIR.getAppID() %>">
  65.                             <INPUT TYPE=HIDDEN NAME="hptSessionId" VALUE="<%= CSOERRORUIR.getSessionID() %>">
  66.                             <INPUT TYPE=HIDDEN NAME="hptPageId" VALUE="<%= CSOERRORUIR.getPageID() %>">
  67.  
  68.                         </FORM>
  69.                         </TD>
  70.                 </TR>
  71.  
  72.             </TABLE>
  73.             </TD>
  74.     </TR>
  75.  
  76. </TABLE>
  77.  
  78. </BODY></HTML>
  79.