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

📄 testrichform.xhtml

📁 OperaMasks是一种基于J2EE的Web开发技术
💻 XHTML
字号:
<?xml version="1.0" encoding="UTF-8"?>
<f:view xmlns:f="http://java.sun.com/jsf/core"
        xmlns="http://www.w3.org/1999/xhtml"
        xmlns:h="http://java.sun.com/jsf/html"
        xmlns:w="http://www.apusic.com/jsf/widget"
        xmlns:a="http://www.apusic.com/jsf/ajax"
        renderKitId="HTML_BASIC">
<w:head>
<style type="text/css">
body {
  margin: 0;
  padding: 10px;
  font: 9pts/18pts;
}
</style>
</w:head>
<w:page title="Rich Form Demo" skin="default">  
  
  <w:form transient="true" rich="false">
    
    <h:selectBooleanCheckbox id="effect3D" value="true">
        <a:action event="onclick"/>
      </h:selectBooleanCheckbox>
      <h:outputLabel value=" 3D Effect" for="effect3D"/>
    <h:panelGrid columns="2">
        <f:verbatim>鏂囨湰杈撳叆妗嗭細</f:verbatim>
        <h:inputText value="#{DemoBean.skin}"/>
    
        <f:verbatim>鏃ユ湡鏂囨湰杈撳叆妗嗭細</f:verbatim>
        <h:inputText value="#{MenuBean.date}">
            <f:convertDateTime pattern="yyyy/M/d"/>
        </h:inputText>
    
        <f:verbatim>鏁板瓧鏂囨湰杈撳叆妗嗭細</f:verbatim>
        <h:inputText value="#{DemoBean.number}"/>
    
        <f:verbatim>涓嬫媺鍒楄〃妗嗭細</f:verbatim>
        <h:selectOneMenu id="combo" value="#{ColorBean.color}">
          <f:selectItems value="#{ColorBean.colors}"/>
        </h:selectOneMenu>
    </h:panelGrid>
    <h:commandButton value="鎻愪氦"></h:commandButton><br/><br/>
    <h:panelGrid columns="2">
      <h:graphicImage value="images/#{ColorBean.color}.gif" rendered="#{ColorBean.color!=null}"/>&nbsp;
      <h:outputText value="#{ColorBean.color}" style="color: #{ColorBean.color}"/>
    </h:panelGrid> 
       
  </w:form> 
  <br/>
  
  <a href="../index.html">Back</a>
</w:page>
</f:view>

⌨️ 快捷键说明

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