-
FEATURED COMPONENTS
First time here? Check out the FAQ!
<a:bind model="listaDTipoDocumentos" disabled="_deshabilitarTxt"/> <listbox rows="1" mold="select" id="lsbxTipoDocumento" > <a:bind _var="tdocumentos" value="tdocumentos" label="tdocumentos.tipo_documento" /> <listitem id="mylist" /> </listbox>
i want to select an item for my update form...how do that?...thanks
(by mavirroco)
i want put select in the current item saved in db.....this can showme the update form...
how do that?
First of all, I would suggest you using the new @{...} annotation format. IMO, it is more intuitive and readable.
Are you saying, you want to send the selected item as a form input? Put name="xxx" in listbox will do the job. Or you can see this article
http://www.zkoss.org/smalltalks/legacy-form/legacy-form.html
<listbox name="xxx" rows="1" mold="select" id="lsbxTipoDocumento" model="@{listaDTipoDocumentos}" disabled="@{_deshabilitarTxt}"> <listitem id="mylist" self="@{each=tdocumentos}" value="@{tdocumentos}" label="@{tdocumentos.tipo_documento}"/> </listbox>
Asked: 2008-10-23 00:56:47 +0800
Seen: 196 times
Last updated: Oct 24 '08