>Now when User 1 selects something in
>comboBoxA and does a submit...User 1 page
>will now fail because the <ListItem>
>selectedItemComboA is now>null for this user
Troy, could you clarify what you mean by
"User 1 page will now fail" - what fails?
Are you using binding to do updates and it
is not finding that value in the list?
We often use hidden fields in this case.
1) bind the dataobject to the hidden field,
which needs to be placed before the combobox
on in the .htm file.
2) this_onBeforeDisplayEvent do your doAutoFill
3) combo_onBeforeDisplayEvent, read the
hidden field and set the value in the combo
4) btnSave_onWebEvent, get the value from
the combo and set the hidden field prior
to "doAction(event)" being called.
I hope this answers your question, if not
perhaps it will come in handy in the future!
-Chip
Team NetDynamics
"Troy Mckinnon" <[EMAIL PROTECTED]> wrote:
>Hey all,>>Combo boxes are quite a pain aren't they!>>My problem is with multi users
and Combobox selected values.>>User 1 enters page A which displays comboBoxA
-- values
are (User 1 value 1,>User 1 value 2,...)>User 2 enters page A which displays
comboBoxA
-- values are (User 2 value 1,>User 2 value 2,...)>>Now when User 1 selects
something
in comboBoxA and does a submit...>User 1 page will now fail because the
<ListItem>
selectedItemComboA is now>null for this user because user 2 entered the page
(and
executed the>doAutofill()).>>I had to add the comboBoxA.doAutofill(); command
to
the onBeforeDisplay or>all users see the same values in comboBoxA (whatever
it was
set to first).> i.e. user 1 value (may not equal) user 2 value>>Is
there some way
to get around this?>I appreciate any advice...>>Troy McKinnon>Technical Team
Leader>Integrated
Quality Management System>Nortel Networks - GHCT (Dept. 1J11)>(613) 765-7685
or
ESN (395) 7685>
_________________________________________________________________________
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]