Hello Martin,

My hunch is that you got it with f:selectItems wierdness. What kind of
variable is #{groupController.groupItems}? The way you're currently using
it, it should be a list of selected indexes... (really annoying imho). You
can get rid of that by setting valuePassThru attribute on your shuttle to
"true". It implies that selectable values are Serializable though.

Regards,

~ Simon

On 7/5/07, Martin Ahrer <[EMAIL PROTECTED]> wrote:


I'm trying to show a selectManyShuttle with initially selected items (this
is
the right item box of the shuttle).

In my backing bean the property groupSelectItems holds all objects
available
for the shuttle (as list of SelectItem wrapping an item), property
groupItems holds all of the initally selected items (as simple list of
items)

<tr:selectManyShuttle id="shuttle2" leadingHeader="Unlinked"
trailingHeader="Linked" value="#{groupController.groupItems}" >

    <f:selectItems value="#{groupController.groupSelectItems}" />
</tr:selectManyShuttle>

when initially displaying the shuttle the right side remains empty - I'd
expect to see the items from #{groupController.groupItems}! The left side
shows all of the elements from #{groupController.groupSelectItems}.

Would appreciate any help with that! Thanks Martin
--
View this message in context:
http://www.nabble.com/-Trinidad--selectManyShuttle---not-showing-initially-selected-items-tf4029381.html#a11445472
Sent from the MyFaces - Users mailing list archive at Nabble.com.


Reply via email to