⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 jstype.jsp

📁 jakarta-struts-1.2.4-src
💻 JSP
字号:
<%@ page contentType="text/html;charset=UTF-8" %><%@ taglib uri="/tags/struts-bean" prefix="bean" %><%@ taglib uri="/tags/struts-html" prefix="html" %><%@ taglib uri="/tags/struts-logic" prefix="logic" %>
<html:html>
  <head>
    <title>
      <bean:message key="typeForm.title" />
    </title>
    <html:base />
  </head>
  <body>
    <logic:messagesPresent>
      <bean:message key="errors.header" />
      <ul>
        <html:messages id="error">
          <li>
            <bean:write name="error" />
          </li>
        </html:messages>
      </ul>
      <hr />
    </logic:messagesPresent>
    <html:form action="jsType-submit" onsubmit="return validateJsTypeForm(this);">
      <html:hidden property="action" />
      <table border="0">
        <tr>
          <th align="left">
            <bean:message key="typeForm.name.displayname" />
          </th>
          <td align="left">
            <html:text property="name" size="15" maxlength="15" />
          </td>
        </tr>
        <tr>
          <th align="left">
            <bean:message key="typeForm.byte.displayname" />
          </th>
          <td align="left">
            <html:text property="byte" size="15" maxlength="15" />
          </td>
        </tr>
        <tr>
          <th align="left">
            <bean:message key="typeForm.short.displayname" />
          </th>
          <td align="left">
            <html:text property="short" size="15" maxlength="15" />
          </td>
        </tr>
        <tr>
          <th align="left">
            <bean:message key="typeForm.integer.displayname" />
          </th>
          <td align="left">
            <html:text property="integer" size="15" maxlength="15" />
          </td>
        </tr><%--
                  <tr>
                    <th align="left">
                      <bean:message key="typeForm.long.displayname"/>
                    </th>
                    <td align="left">
                      <html:text property="long" size="15" maxlength="15"/>
                    </td>
                  </tr>
                --%>
        <tr>
          <th align="left">
            <bean:message key="typeForm.float.displayname" />
          </th>
          <td align="left">
            <html:text property="float" size="15" maxlength="15" />
          </td>
        </tr>
        <tr>
          <th align="left">
            <bean:message key="typeForm.floatRange.displayname" />
          </th>
          <td align="left">
            <html:text property="floatRange" size="15" maxlength="15" />
          </td>
        </tr><%--
                  <tr>
                    <th align="left">
                      <bean:message key="typeForm.double.displayname"/>
                    </th>
                    <td align="left">
                      <html:text property="double" size="15" maxlength="15"/>
                    </td>
                  </tr>
                --%>
        <tr>
          <th align="left">
            <bean:message key="typeForm.date.displayname" />
          </th>
          <td align="left">
            <html:text property="date" size="15" maxlength="15" />
          </td>
        </tr>
        <tr>
          <th align="left">
            <bean:message key="typeForm.creditCard.displayname" />
          </th>
          <td align="left">
          <html:text property="creditCard" size="16" maxlength="16" />(e.g. 4111111111111111, 5500000000000004)</td>
        </tr>
        <tr>
          <th align="left">
          <bean:message key="typeForm.option.satisfaction" />:</th>
          <td align="left">
            <html:select property="satisfaction">
              <html:option value="" key="typeForm.option.select.one" />
              <html:options collection="satisfactionList" property="value" labelProperty="label" />
            </html:select>
          </td>
        </tr>
        <tr>
          <th align="left">
          <bean:message key="typeForm.option.os.list" />:</th>
          <td align="left">
            <html:select property="osList" multiple="true">
              <html:option value="" key="typeForm.option.select.many" />
              <html:options collection="osTypes" property="value" labelProperty="label" />
            </html:select>
          </td>
        </tr>
        <tr>
          <th align="left">
          <bean:message key="typeForm.radio.overall.satisfaction" />:</th>
          <td align="left">
            <logic:iterate id="satBean" name="satisfactionList" type="org.apache.struts.util.LabelValueBean">
              <html:radio property="overallSatisfaction" value="<%=satBean.getValue()%>">
                <%=satBean.getLabel()%>
              </html:radio>
            </logic:iterate>
          </td>
        </tr>
        <tr>
          <th align="left">
          <bean:message key="typeForm.checkbox.wouldrecommend" />:</th>
          <td align="left">
            <html:checkbox property="wouldRecommend" />
          </td>
        </tr>
        <tr>
          <th align="left">
          <bean:message key="typeForm.checkbox.used.languages" />:</th>
          <td align="left">
            <logic:iterate id="langBean" indexId="usedIndex" name="languageTypes" type="org.apache.struts.util.LabelValueBean">
              <html:multibox property="usedLanguages" value="<%=langBean.getValue()%>" /><%=langBean.getLabel()%>
            </logic:iterate>
          </td>
        </tr>
        <tr>
          <td>
          <html:submit property="submit" onclick="bCancel=false;">
            <bean:message key="button.save" />
          </html:submit>&#160; 
          <html:reset>
            <bean:message key="button.reset" />
          </html:reset>&#160; 
          <html:cancel onclick="bCancel=true;">
            <bean:message key="button.cancel" />
          </html:cancel></td>
        </tr>
      </table>
    </html:form>
    <html:javascript formName="jsTypeForm" dynamicJavascript="true" staticJavascript="true" />
  </body>
</html:html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -