users@woodstock.java.net

Re: [nbusers] WVP: Wacky listbox issues

From: Lark Fitzgerald <Lark.Fitzgerald_at_Sun.COM>
Date: Tue, 01 May 2007 17:01:00 -0400

Does the woodstock team have any recommendations?
Lark

Don Lindsay wrote:
> Hello;
>
> I have a table that contains a listbox. I have bound the selected
> property to a function that returns an array. The listbox is a
> multiple select. When the page renders I get an error:
>
> The current value of component XXXXXX does not match any of the
> selections. did you forget to reset the value after changing the options?
>
> This only occurs on table rows that have no selections in the listbox.
>
> A side effect of this error is that the table will no longer allow the
> user to move between pages of table records.
>
> When a listbox has no items selected my function returns null. Should
> I return something else other than null?
>
> Thanks
>
> Don Lindsay
> */_LQ Computer Consultants
> _/*Email: don_at_lqcomp.com <mailto:don_at_lqcomp.com>