Hi Huseyin,

On Monday February 15 2010 11:33:15 hkalyoncu wrote:
> my original selectbox options in html is like this:
> 
> ....
> <option value="">text</option>
> ....
> 
> now i can show them in qx selectBox as value#text
> (i need those values for db queries)
> then i am parsing them in form submit.  showing value
> with text is not a nice way  and parsing it on every form
> submit is not a good practice. is there any way to include
> values. if its only way to extend the selectBox class,  which
> methods do i have to overwrite?
You can use the "model" property to store additiional information at every 
ListItem widget.

        http://demo.qooxdoo.org/current/apiviewer/#qx.ui.form.ListItem

Just take a look at the "model" property. This should do the job, I guess.

cheers,
  Alex

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to