You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Alexander Keul (JIRA)" <ji...@apache.org> on 2008/05/06 11:51:56 UTC
[jira] Created: (WICKET-1590) AjaxEditableChoiceLabel ignores
ChoiceRenderer in newLabel(...)
AjaxEditableChoiceLabel ignores ChoiceRenderer in newLabel(...)
---------------------------------------------------------------
Key: WICKET-1590
URL: https://issues.apache.org/jira/browse/WICKET-1590
Project: Wicket
Issue Type: Improvement
Components: wicket-extensions
Affects Versions: 1.4-M1, 1.3.3
Reporter: Alexander Keul
Priority: Minor
Fix For: 1.4-M1, 1.3.3
AjaxEditableChoiceLabel doesn't take any ChoiceRenderer passed in the constructor into account when creating the Label. I believe it defaults to the toString() of the modelObject, which isn't exactly optimal.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (WICKET-1590) AjaxEditableChoiceLabel ignores
ChoiceRenderer in newLabel(...)
Posted by "Nobutaka Otsuji (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1590?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nobutaka Otsuji updated WICKET-1590:
------------------------------------
Comment: was deleted
(was: A comment with security level 'jira-users' was removed.)
> AjaxEditableChoiceLabel ignores ChoiceRenderer in newLabel(...)
> ---------------------------------------------------------------
>
> Key: WICKET-1590
> URL: https://issues.apache.org/jira/browse/WICKET-1590
> Project: Wicket
> Issue Type: Improvement
> Components: wicket-extensions
> Affects Versions: 1.3.3, 1.4-M1
> Reporter: Alexander Keul
> Priority: Minor
> Fix For: 1.3.4, 1.4-M2
>
> Attachments: patch-1.3.x.txt, patch.txt
>
>
> AjaxEditableChoiceLabel doesn't take any ChoiceRenderer passed in the constructor into account when creating the Label. I believe it defaults to the toString() of the modelObject, which isn't exactly optimal.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (WICKET-1590) AjaxEditableChoiceLabel ignores
ChoiceRenderer in newLabel(...)
Posted by "Alexander Keul (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1590?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexander Keul updated WICKET-1590:
-----------------------------------
Attachment: patch-1.3.x.txt
patch.txt
Patch.txt should work on the 1.4 version of wicket, however I don't use it yet and as such haven't tested it.
Patch-1.3.x.txt is more or less the same as I'm doing as a workaround, so it should be functional.
> AjaxEditableChoiceLabel ignores ChoiceRenderer in newLabel(...)
> ---------------------------------------------------------------
>
> Key: WICKET-1590
> URL: https://issues.apache.org/jira/browse/WICKET-1590
> Project: Wicket
> Issue Type: Improvement
> Components: wicket-extensions
> Affects Versions: 1.3.3, 1.4-M1
> Reporter: Alexander Keul
> Priority: Minor
> Fix For: 1.3.3, 1.4-M1
>
> Attachments: patch-1.3.x.txt, patch.txt
>
>
> AjaxEditableChoiceLabel doesn't take any ChoiceRenderer passed in the constructor into account when creating the Label. I believe it defaults to the toString() of the modelObject, which isn't exactly optimal.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (WICKET-1590) AjaxEditableChoiceLabel ignores
ChoiceRenderer in newLabel(...)
Posted by "Gerolf Seitz (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1590?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gerolf Seitz resolved WICKET-1590.
----------------------------------
Resolution: Fixed
Fix Version/s: (was: 1.3.3)
(was: 1.4-M1)
1.4-M2
1.3.4
Assignee: Gerolf Seitz
i ended up wrapping the model parameter in an AbstractReadOnlyModel which uses the renderer if available
> AjaxEditableChoiceLabel ignores ChoiceRenderer in newLabel(...)
> ---------------------------------------------------------------
>
> Key: WICKET-1590
> URL: https://issues.apache.org/jira/browse/WICKET-1590
> Project: Wicket
> Issue Type: Improvement
> Components: wicket-extensions
> Affects Versions: 1.3.3, 1.4-M1
> Reporter: Alexander Keul
> Assignee: Gerolf Seitz
> Priority: Minor
> Fix For: 1.3.4, 1.4-M2
>
> Attachments: patch-1.3.x.txt, patch.txt
>
>
> AjaxEditableChoiceLabel doesn't take any ChoiceRenderer passed in the constructor into account when creating the Label. I believe it defaults to the toString() of the modelObject, which isn't exactly optimal.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.