posts - 325,  comments - 25,  trackbacks - 0
          <%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
          <%@ taglib prefix="s" uri="/struts-tags" %>
          <html>
          <head>
              <title>UI Tags Example</title>
              <s:head/>
          </head>
          <body>
          <s:actionerror/>
          <s:actionmessage/>
          <s:fielderror />
          <s:form action="exampleSubmit" enctype="multipart/form-data" tooltipConfig="%{'jsTooltipEnabled':'true'}">
              <s:textfield
                      label="Name"
                      name="name"
                      tooltip="Enter your Name here" />
              <s:datetimepicker
                      tooltip="Select Your Birthday"
                      label="Birthday"
                      name="birthday" />
              <s:textarea
                      tooltip="Enter your Biography"
                      label="Biography"
                      name="bio"
                      cols="20"
                      rows="3"/>
              <s:select
                      tooltip="Choose Your Favourite Color"
                      label="Favorite Color"
                      list="{'Red', 'Blue', 'Green'}"
                      name="favouriteColor"
                      emptyOption="true"
                      headerKey="None"
                      headerValue="None"/>
              <s:select
                      tooltip="Choose Your Favourite Language"
                      label="Favourite Language"
                      list="favouriteLanguages"
                      name="favouriteLanguage"
                      listKey="key"
                      listValue="description"
                      emptyOption="true"
                      headerKey="None"
                      headerValue="None"/>
              <s:checkboxlist
                      tooltip="Choose your Friends"
                      label="Friends"
                      list="{'Patrick', 'Jason', 'Jay', 'Toby', 'Rene'}"
                      name="friends"/>
              <s:checkbox
                      tooltip="Confirmed that your are Over 18"
                      label="Age 18+"
                      name="legalAge"/>
              <s:doubleselect
                      tooltip="Choose Your State"
                      label="State"
                      name="region" list="{'North', 'South'}"
                      value="'South'"
                      doubleValue="'Florida'"
                      doubleList="top == 'North' ? {'Oregon', 'Washington'} : {'Texas', 'Florida'}"
                      doubleName="state"
                      headerKey="-1"
                      headerValue="---------- Please Select ----------"
                      emptyOption="true" />
              <s:doubleselect
                      tooltip="Choose your Vehical"
                      label="Favourite Vehical"
                      name="favouriteVehicalType"
                      list="vehicalTypeList"
                      listKey="key"
                      listValue="description"
                      value="'MotorcycleKey'"
                      doubleValue="'YamahaKey'"
                      doubleList="vehicalSpecificList"
                      doubleListKey="key"
                      doubleListValue="description"
                      doubleName="favouriteVehicalSpecific" headerKey="-1"
                      headerValue="---------- Please Select ----------"
                      emptyOption="true" />
              <s:file
                      tooltip="Upload Your Picture"
                      label="Picture"
                      name="picture" />          
              <s:optiontransferselect
                      tooltip="Select Your Favourite Cartoon Characters"
                      label="Favourite Cartoons Characters"
                      name="leftSideCartoonCharacters"
                      leftTitle="Left Title"
                      rightTitle="Right Title"
                      list="{'Popeye', 'He-Man', 'Spiderman'}"
                      multiple="true"
                      headerKey="headerKey"
                      headerValue="--- Please Select ---"
                      emptyOption="true"
                      doubleList="{'Superman', 'Mickey Mouse', 'Donald Duck'}"
                      doubleName="rightSideCartoonCharacters"
                      doubleHeaderKey="doubleHeaderKey"
                      doubleHeaderValue="--- Please Select ---"
                      doubleEmptyOption="true"
                      doubleMultiple="true" />  
              <s:textarea
                      label="Your Thougths"
                      name="thoughts"
                      tooltip="Enter your thoughts here" />         
              <s:submit onclick="alert('Custom onclick event triggered before submitting form... Press OK to continue!');" />
              <s:reset onclick="alert('Resetting form now... Press OK to continue!');" />
          </s:form> 
          </body>
          </html>
          posted on 2008-05-08 11:04 長春語林科技 閱讀(160) 評論(0)  編輯  收藏

          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          <2008年5月>
          27282930123
          45678910
          11121314151617
          18192021222324
          25262728293031
          1234567

           

          長春語林科技歡迎您!

          常用鏈接

          留言簿(6)

          隨筆分類

          隨筆檔案

          文章分類

          文章檔案

          相冊

          收藏夾

          搜索

          •  

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 霍山县| 儋州市| 龙门县| 都匀市| 龙江县| 内黄县| 南昌市| 绥中县| 鄂伦春自治旗| 卫辉市| 溧水县| 吉木萨尔县| 海城市| 尉犁县| 大余县| 葫芦岛市| 富宁县| 福安市| 兴海县| 安徽省| 海丰县| 宁武县| 霍山县| 南木林县| 岢岚县| 莱西市| 兰考县| 巴里| 万全县| 宜都市| 县级市| 临猗县| 绥化市| 鄂托克旗| 二连浩特市| 诏安县| 奉贤区| 行唐县| 蓬安县| 漳平市| 康乐县|