Hi Yeeswara, <t:select t:id="ANY_UNIQUE_FORM_VALUE_AS_ID" t:value="This value stores the selected oprtion by the user and should have getter-setter same as that of the key used in the model" t:model=" This can be a hash table with any type of primititive data type or their Wrapper as key- value pair " blankOption="never" /> Hope it works for you.
Cheers Vivek Davor Hrg wrote: > > look for keyword SELECT on > http://wiki.apache.org/tapestry/Tapestry5HowTos > > > On Dec 19, 2007 8:55 AM, Francois Armand <farm...@linagora.com> wrote: >> Yeeswara Nadapana (HCL Financial Services) wrote: >> > Hi, >> > >> Hello Yeeswara, >> > Can anyone >> > please explain me the procedure to add a <select> box to my form? If I >> > write as: >> > <select t:type="select" t:id="selectId" t:model="selectModel" >> t:value="selectValue"/> >> > >> Corelib components are document here : >> http://tapestry.apache.org/tapestry5/tapestry-core/component-parameters.html >> >> For the select component, you can read this : >> - value: The value to read or update. >> => it's the choice the user did. Tapestry will update the Java property >> of your page accessible by the setter "setSelectValue" with ths choice's >> value. >> - model: The model used to identify the option groups and options to be >> presented to the user. This can be generated automatically for Enum >> types. >> => it's the available choices for the select. This parameter accept a >> comma separated list of value, a collection retrieved from the Java >> part, or a full SelectModel implementation. >> >> I suggest you to read the documentation available on the site to >> understand how Java classes and template files are links, how components >> paramters, etc. >> You whould begin by the tutorial here : >> http://tapestry.apache.org/tapestry5/tutorial1/ >> And read all the topic of the user guide here : >> http://tapestry.apache.org/tapestry5/tapestry-core/ >> >> Hope it helps, >> >> -- >> Francois Armand >> Etudes & Développements J2EE >> Groupe Linagora - http://www.linagora.com >> Tél.: +33 (0)1 58 18 68 28 >> ----------- >> InterLDAP - http://interldap.org >> FederID - http://www.federid.org/ >> Open Source identities management and federation >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > > -- View this message in context: http://www.nabble.com/Using-%3Ct%3Aselect%3E-in-Tapestry-5-tp14411791p21931228.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org