Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=3082176
By: sandra81

In my select tag I would select by default one value.
I try to use option selectedIndex but it doesn't work.
Here my code :

<db:select fieldName="id_supplier" selectedIndex="7" styleClass="clsSelectStyle"
onChange="this.form.submit();">
                                        <db:queryData
                                            name="reference"
                                            query="SELECT id_company, name FROM 
alter_annuaire_companies WHERE
type='SUPPL'"
                                            disableCache="true"
                                        /></db:select>

the id_supplier I want to select by default has value 7.

Could you explain me where is my error?

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=55830


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
DbForms Mailing List

http://www.wap-force.net/dbforms

Reply via email to