Thanks, it worked.
"NetDynamics" <[EMAIL PROTECTED]> wrote:
>If you are trying to retrieve the value of the selected item in the combo>box, try
using the getDisplayFieldValue() method instead.>>I had a similar problem
where I
was trying to retrieve the index of the>selected item by using the
getSelectedIndex()
method. Just like your>situation, the first time through it would not return
the
index of the>selected item. Instead it returned zero for the index.
Subsequent>executions
of the method appeared to return the correct index.... sometimes.>>Using the
getDisplayFieldValue()
method seems to have resolved the issue for>me.>>I hope this
helps!!>>>shankar wrote
in message <[EMAIL PROTECTED]>...>>>>Hi,>> I am expriencing a
wierd
problem with combobox(ND ver 4.1.3).>> The problem seems to happen only on
solaris
machines and when the>> AppServer is first started OR/AND everytime the cache
is
cleared .>>If I try to get the value of a ComboBox
as>combobox.getSelected().getLabel()
I get>>null the first time and every other time I access the page I seem to
get a>value.>>The
problem does not seem to show up on windows NT. Is this a
known>problem??>>Any help
is appreciated.>>
_________________________________________________________________________
For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
For dire need help, email: [EMAIL PROTECTED]