The selectedIndex attribute of <db:select> tag seems not to be working with
my application. e.g. if I put:

        <db:select fieldName="account_type_suffix" size="1"
selectedIndex="5"> 
                        <db:staticData name="data-account_type_suffix"> 
                                <db:staticDataItem key="A"
value="accountType.accountTypeSuffix.A"/> 
                                <db:staticDataItem key="B"
value="accountType.accountTypeSuffix.B"/>
                                <db:staticDataItem key="C"
value="accountType.accountTypeSuffix.C"/>
                                <db:staticDataItem key="E"
value="accountType.accountTypeSuffix.E"/>
                                <db:staticDataItem key="I"
value="accountType.accountTypeSuffix.I"/>
                                <db:staticDataItem key="N"
value="accountType.accountTypeSuffix.N"/>
                        </db:staticData> 
                </db:select>

I expect the last option to be selected but this is not happening. 

Am I doing it wrongly? Please help.


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
DbForms Mailing List

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

Reply via email to