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

-- 
View this message in context: 
http://www.nabble.com/palette-problem-tf4413718.html#a12590320
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to