Select the tab on the cascading notes struts2

2010-12-07  来源:本站原创  分类:Web  人气:91 

<s:doubleselect The label is one of the classic label struts2 . Examples are as follows :

 Tag :
     <s:doubleselect  firstName=" Select the first select "secondName =" select the second select"
       name="name1"
       list="definitionMap.keySet()"
       listKey="code1" listValue="name1"

       doubleName="name2"
       doubleList="definitionMap[top]"
       doubleListKey="code2" doubleListValue="name2"

       theme="ufaud_1"
      templateDir="/strutsTemplate">
  </s:doubleselect>
 Background group number :
          First marquee corresponds to the object class :Test1
          public class Test1(){
          private String name1;
          private String code1;
          //get,set
          }

          The second marquee corresponds to the object class :Test2
          public class Test2(){
          private String name2;
          private String code2;
          //get,set
          }
      map Is structured : If :Map<Test1,List<Test2>>

 Description :theme="ufaud_1": Define display reference style  :templateDir="/strutsTemplate" Reference template
definitionMap Is the background of the map. map  Specific components such as Map<Test1,List<Test2>> This kind of structure ,top: Is the object type .
相关文章
  • Select the tab on the cascading notes struts2 2010-12-07

    <s:doubleselect The label is one of the classic label struts2 . Examples are as follows : Tag : <s:doubleselect firstName=" Select the first select "secondName =" select the second select" name="name1" list="defini

  • One study notes struts2 (PART 1. Struts2 Introduction and Configuration) 2011-01-05

    One study notes struts2 (PART 1. Struts2 Introduction and Configuration) First, the development environment IDE: MyEclipse6.0 version Servlet Container: Tomcat6.0 Second, create a web project Project Name: struts2 1, function: to complete a user logo

  • Prospective study notes Struts2 2010-10-14

    A few years ago, learning Java, mainly to see Xin Sun's "Java is difficult" and "JavaWeb development explain," after reading benefit. Sun Xin has been watching the free tutorials released, always felt should do something to support the

  • Select the tab bar and the use of devices 2010-11-17

    We are to achieve the following results, is through the bottom of the tab bar to switch the view to show different Picker First create a project, select Window-Based Application template, to take the project name for the Picker. Classes generated aft

  • selected dynamically select Settings tab selected 2011-01-12

    Method 1: Document types : <select> <option value=""> All </option> <option value="IDCARD" <c:if test="${requestScope.certidType=='IDCARD'}">selected="true"</c:if>> ID card </o

  • A super good study notes struts2 2010-07-20

    Met by chance on the Internet, the upload to learn next. Feels good. . . . . .

  • Struts2.1 Label Details 2010-10-27

    Struts 2.1 Tags Struts 2.1 Tags recent study made some notes, posted we will study together, the hope that more exchanges. Nothing else to say, I posted the code, the code comment in more detail, huh, huh. File directory, as follows: index.jsp code <

  • android study notes the layout of the four TabHost 2010-03-29

    1, inherited from TabActivity class 2, getTabHost () Get an instance of TabHost 3, LayoutInflater.from (this). Inflate (interface layout Id, tabHost.getTabContentView (), true); 4, add the option card tabHost.addTab ( tabHost.newTabSpec (tab Tag) / /

  • ADO.NET Entity Framework Study Notes (5) ESQL query 2010-12-01

    Than LINQ to SQL, EF in addition to providing LINQ query, also provides Entity SQL language ESQL similar to Hibernate's HSQL, ESQL and the SQL language syntax similar manner as a string ObjectQuery esql query result set ObjectQuery <entity> myContex

  • Struts2.1.6 + Spring2.5.6 + Hibernate3.3.1 all comments instance explain (a) (reproduced elephant) 2010-12-07

    JavaEE enterprise development in order to SSH2 framework as the core application is very broad, elephants experience of the project, a case in detail for you on how to achieve the development of the whole annotation. Development environment JDK 1.6.0

  • Vim Study Notes 1 - Installation and Configuration 2011-07-02

    Vim Study Notes 1 - Installation and Configuration UE uses a number of years, when the development environment from Win to Linux, I did not dig into the Editor's distress in ...., and decided to enter the vim of the world. Version and history First t

  • Oracle database migration to MySQL Migration Notes combat 2011-03-31

    Oracle database migration to MySQL Migration Notes combat (2010-10-20 14:32:18) Reproduced Tags: Transplant trigger mysql oracle it Category: Database I. Introduction The original project is based on the company's Oracle database, Oracle is powerful,

  • struts2 tag automatically prompts 2010-03-29

    myeclipse6 not prompt struts2 tag, because six failed to incorporate struts2 manually add dtd it yourself tips, steps: window-> preferences-> MyEclipse-> Files and Editors-> XML-> XML Catalog Point to open the XML Catalog to select the firs

  • struts in the html: select tag and html: options for the use of 2010-03-29

    struts in the html: select tag and html: options for the use of The actual development of the project, and finally learned about html: select tag and html: options to use. Code snippet is as follows: <html:select property="answerableDepId" on

  • Getting Started with Eclipse RCP Developer Study Notes - 01.Hello RCP 2010-03-29

    Recent eager to want to learn all aspects of the desktop client development, in addition to work is only beginning to learn a bit of time outside of Delphi, as well as U read a little bit of time VB, VC contacts, in this area can be called super do n

  • Getting Started with Eclipse RCP Developer Study Notes - 06.OpenGL 2010-04-16

    -------------------------------------------------- ------------------------------------------------- Study: http://www.blogjava.net/youxia/archive/2006/12/09/86513.html -------------------------------------------------- ------------------------------

  • oracle study notes [change] 2010-02-07

    1, set linesize 100; set length 2, set pagesize 30; set number per page 3, em a.sql open Notepad 4, @ a implementation of a code file, can specify the file path @ d: a.txt 5, conn username / password under the user name and password to connect to the

  • Shangxue Tang Ma Shibing Oracle Tutorial Notes 2010-03-02

    :wink: First, log on to super administrator oracle sqlplus sys/bjsxt as sysdba Then, lift scott User lock alter user scott account unlock; Then the user name can be used . ( The default global database name orcl) 1.select ename, sal * 12 from emp; //

  • Oracle Study Notes 3 2010-04-25

    rowid information in the definition are: object block table Each record has its own rowid, rowid recorded in the database that records the location, you can quickly read. Who created the index: user, after the construction of the index will slow DML

  • Oracle Table Name field to take notes and other useful statement name 2010-09-27

    Turn - View ORACLE database all the tables under the user SELECT table_name FROM user_tables; - ORACLE database, all users see all the tables under select user, table_name from all_tables; - View ORACLE database of all listed under the user select ta