Hi Colin,
It sounds like the ComboBox in question isn't receiving it's data.
I would work backwards to verify that the dataProvider contains
data, the RPC is coded correctly, middle tier queries work and
webservice works. Somewhere along the way there is an inconsistency.
> Is there a way to explicitly tell the combobox NOT to
> automatically select the first item in the collection to which its
> being bound?
The default ComboBox selectedIndex == -1 (none selected). You can
set the ComboBox prompt property to initially display a message
("Please Select a State") instead of the first item in the list.
-TH
--- In [email protected], "Colin Shreffler"
<[EMAIL PROTECTED]> wrote:
>
> I have a situation where I am populating 3 different combo boxes
with 3
> different collections of objects that are returned from web
services.
>
> In two of the cases, the combo box automatically selects the first
item in
> the collection and automatically displays it in the combo boxes.
>
> In one of the cases, the combo box does NOT automatically select
or display
> any of the items in the collection to which its being bound.
>
> All comboboxes are being bound in exactly the same fashion: using
the
> dataProvider="{serviceName.MethodName.lastResult}".
>
> Has anyone else experienced this inconsistency?
>
> Is there a way to explicitly tell the combobox NOT to
automatically select
> the first item in the collection to which its being bound?
>
> Thank you,
> CLS
>
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/