wheleph wrote:
Hello everyone!
I've got a problem using component Palette from Wicket-Extensions-1.2.6. The
code I use to add Palette on a Form is cited below:
-----------------------------------------------
final Form pupilForm = new PupilForm("pupilForm");
List<String> available = new ArrayList<String>();
available.add("third");
available.add("fourth");
List<String> selected = new ArrayList<String>();
selected.add("first");
selected.add("second");
final Palette pupilPalette = new Palette("pupilPalette", new
Model((Serializable) selected), new Model((Serializable)available), new
ChoiceRenderer(), 10, false);
pupilForm.add(pupilPalette);
add(pupilForm);
-----------------------------------------------
Instead of
available selected
| third |->| first |
| fourth |<-| second |
I get
| |->| third |
| |<-| |
I guess this is one of those stupid mistakes you'll never find in your own
code. What's wrong with it?
wheleph
See http://issues.apache.org/jira/browse/WICKET-459.
Regards,
Al
--
Alastair Maw
Wicket-biased blog at http://herebebeasties.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]