You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Robert McGuinness (JIRA)" <ji...@apache.org> on 2011/07/11 04:06:59 UTC

[jira] [Updated] (WICKET-3884) Null model for AttributeAppender should not render empty attribute

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

Robert McGuinness updated WICKET-3884:
--------------------------------------

    Attachment: test-WICKET-3884.patch

Failing test case added

> Null model for AttributeAppender should not render empty attribute
> ------------------------------------------------------------------
>
>                 Key: WICKET-3884
>                 URL: https://issues.apache.org/jira/browse/WICKET-3884
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-core
>    Affects Versions: 1.5-RC5.1
>            Reporter: Robert McGuinness
>            Priority: Trivial
>              Labels: attributes
>         Attachments: test-WICKET-3884.patch
>
>
> I can't think of a reason this would be valid, but passing in null model renders <span class="">Test</span>.  If previous and new attribute are both null, the component should render cleanly like <span>Test</span>.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira