I've never used this component, so I'm guessing here.

Try using a converter to convert between String[] and Long[].

Also, it's possible that s:selectManyPicklist needs to be improved to
perform automatic conversion better.  See if you can patch the code
and and submit patches to fix the issue.

On 1/18/06, Alin Dosoniu <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I am interested if the value attribute of a s:selectManyPicklist is required
> to be a String[].
>
> My managed been is returning a Long[] for value of selectManyPicklist and I
> can correctly select some values from the available list. But when trying to
> edit the selected list, reenter on page or try to edit the record, the
> selected list of selectManyPicklist is empty, all the values are in the
> available list.
> I have to mention that if the managed bean is returning String[], then the
> selectManyPicklist component is working correctly.
>
> And one more question:
> Is it possible to have the available list on the right and selected list on
> the left side?
>
> Thank you for your answers,
> Alin.

Reply via email to