You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Filip Balas <fb...@IMVProjects.com> on 2004/11/30 23:21:35 UTC

Palette "Selected" initialization...

I would like to populate the selected portion
of a palette with data.

I have tried simply inserting the objects that
I want into the selected list, but that doesn't work.
I suspected this because how would tapestry
know how to extract the "display worthy" data
from the custom objects.

NEXT:
I have tried inserting the appropriate values
of someModel.getValue(i); into the selected list
in the hopes that the palette would fetch the
appropriate option from the model.  No luck.

NEXT:
I have tried inserting the appropriate values
of someModel.getOption(i); into the selected list
in the hopes that the palette would use the model
to retrieve the appropriate value to display. No luck.

Does anyone have any suggestions.
Thanks,
Filip