You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Stefan Lindner <li...@visionet.de> on 2008/12/12 19:37:48 UTC

IOptionRenderer vs IChioceRenderer in Wicket 1.4M1

The definition of IOptionRenderer is

	Interface IOptionRenderer<T>
		java.lang.String getDisplayValue(java.lang.Object
object)  

the definition of IChoiceRenderer is

	Interface IChoiceRenderer<T>
		java.lang.Object getDisplayValue(T object)  

Why is the parameter getDisplayValue method of IOptionRenderer and
Object and not of Type T? Will this change until 1.4.0?

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: IOptionRenderer vs IChioceRenderer in Wicket 1.4M1

Posted by Igor Vaynberg <ig...@gmail.com>.
open a jira issue please

-igor

On Fri, Dec 12, 2008 at 10:37 AM, Stefan Lindner <li...@visionet.de> wrote:
> The definition of IOptionRenderer is
>
>        Interface IOptionRenderer<T>
>                java.lang.String getDisplayValue(java.lang.Object
> object)
>
> the definition of IChoiceRenderer is
>
>        Interface IChoiceRenderer<T>
>                java.lang.Object getDisplayValue(T object)
>
> Why is the parameter getDisplayValue method of IOptionRenderer and
> Object and not of Type T? Will this change until 1.4.0?
>
> Stefan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org