You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Alastair Maw (JIRA)" <ji...@apache.org> on 2007/06/15 02:31:26 UTC

[jira] Commented: (WICKET-459) Add to API: Palette requires a ChoiceRenderer with both a displayvalue and id value

    [ https://issues.apache.org/jira/browse/WICKET-459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12504978 ] 

Alastair Maw commented on WICKET-459:
-------------------------------------

Sorry, I don't quite follow you. How is this unclear? You need to implement an IChoiceRenderer. This clearly has two method signatures you need to implement, which are both properly javadoc'ed.

> Add to API: Palette requires a ChoiceRenderer with both a displayvalue and id value
> -----------------------------------------------------------------------------------
>
>                 Key: WICKET-459
>                 URL: https://issues.apache.org/jira/browse/WICKET-459
>             Project: Wicket
>          Issue Type: Task
>          Components: wicket-extensions
>    Affects Versions: 1.2.5
>         Environment: tomcat 5.5, java 1.5
>            Reporter: Ivana Cace
>            Priority: Minor
>             Fix For: 1.3.0-rc1
>
>
> The Palette component needs to be constructed with a ChoiceRenderer that specifies both the value to display as the value to identify items. Otherwise the items cannot be identified and the model (selected) will hold n copies of the first item selected.
> This should be in the API.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.