i want to select an item for my update form

asked 2008-10-23 00:56:47 +0800

jeanher gravatar image jeanher
1719 1 6
ZK Team

 <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"  />

i want to select an item for my update form...how do that?...thanks
(by mavirroco)

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2008-10-23 13:34:40 +0800

mavirroco gravatar image mavirroco
93 2

i want put select in the current item saved in db.....this can showme the update form...

how do that?

link publish delete flag offensive edit

answered 2008-10-24 10:33:11 +0800

henrichen gravatar image henrichen
3869 2
ZK Team

updated 2008-10-24 10:43:37 +0800

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

<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}"/> 

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools




Asked: 2008-10-23 00:56:47 +0800

Seen: 196 times

Last updated: Oct 24 '08

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More