And if the adapter class bothers you, I could move the adapter class to contrib.
Eelco
Johan Compagner wrote:
no not convinced
I hate a that a UI framework forces me to use a specific interface for my persistent objecsts
Those are 2 worlds..
Also depending on toString() is not the way we want. toString should be used for debugging not display.
and also: What if we want one time just the lastname to display and another time first and lastname??
The problem if you don't extend list then you can't do a drop in replacement into the DropDown anyway
because it needs a List (or Collection) for getting the values.
So if we don't extends list then we also should change the constructor of dropdown..
But i really don't mind that because it is a list anyway and you will use an ArrayList 99% of the times for it anyway.
i personally find this way of working with the IIdList just fine. I find it easy to use and gives me full control.
johan
------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Wicket-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-develop
