You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Igor Vaynberg (JIRA)" <ji...@apache.org> on 2008/11/07 07:48:44 UTC

[jira] Resolved: (WICKET-1915) wicket:message sometimes broken

     [ https://issues.apache.org/jira/browse/WICKET-1915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Vaynberg resolved WICKET-1915.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.4-RC2
                   1.3.6

this had nothing to do with repeaters. as i explained on the list we do not support using wicket:message on raw markup and then embedding components inside - which is exactly what the example did:

td was the raw markup (no wicket:id) with wicket:message and nested inside was a label component.

anyways, we now support the usecase so it should work

> wicket:message sometimes broken
> -------------------------------
>
>                 Key: WICKET-1915
>                 URL: https://issues.apache.org/jira/browse/WICKET-1915
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.5
>         Environment: Wicket 1.3.5, tomcat 5.5, but should have the same behavior with any container
>            Reporter: Piller Sébastien
>            Assignee: Igor Vaynberg
>            Priority: Minor
>             Fix For: 1.3.6, 1.4-RC2
>
>         Attachments: WicketMessage.zip
>
>
> The behavior described here: http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html (use wicket:message as attribute) sometimes doesn't work, depending on the hierarchy and the tag where it applies.
> I've reproduced it using a repeater and applying wicket:message it to a <td> tag.
> Instead of correctly modifying the attribute, it throws the usual MarkupException "WicketMessage: Unable to find component with id 'label' in [MarkupContainer"

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