://apache-wicket.1842946.n4.nabble.com/unselected-choices-of-Palette-contain-duplicates-tp4656430p4656566.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
/unselected-choices-of-Palette-contain-duplicates-tp4656430p4656566.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [hidden
email]http://user/SendEmail.jtp?type=nodenode
(unselectedChoices);
System.out.println(SIZE AFTER ADDING selection + collection.size() +
);
update.getTarget().add(this);
}
}
}
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/unselected-choices-of-Palette-contain-duplicates-tp4656430p4656566.html
Sent
would be add it twice. Why twice ?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/unselected-choices-of-Palette-contain-duplicates-tp4656430p4656437.html
Sent from the Users forum mailing list archive at Nabble.com
(this);
}
}
}
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/unselected-choices-of-Palette-contain-duplicates-tp4656430.html
Sent from the Users forum mailing list archive at Nabble.com
this message in context:
http://apache-wicket.1842946.n4.nabble.com/unselected-choices-of-Palette-contain-duplicates-tp4656430p4656434.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users
In the onEvent method, update.getModelObject() is added to the choices
collection.
The collection is not a Set, but a List.
So each time you add an item to choices, you create a new entry.
François Meillet
Formation Wicket - Développement Wicket
Le 16 févr. 2013 à 16:56, grazia