hi
I was refactoring some code (to go from DropDownChoice to
AutoCompleteEdit) when I stumbled upon there's no interface just about
"how to render some given class instances".
Well, it's for sure no big deal, but I was wondering if, for
unification purpose, a IRenderer interface wouldn't make sense, being
something like :
public interface IRenderer<T>
{
/**
* Get the value for displaying to an end user.
*
* @param object
* the actual object
* @return the value meant for displaying to an end user
*/
Object getDisplayValue(T object);
}
Just 2 cents really.
thanks again for all the good work done with Wicket :)
best
zedros
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]