Copy attributes from wicket:panel to source tag
-----------------------------------------------

                 Key: WICKET-2874
                 URL: https://issues.apache.org/jira/browse/WICKET-2874
             Project: Wicket
          Issue Type: New Feature
          Components: wicket
    Affects Versions: 1.4.7
            Reporter: Maarten Billemont


When I have a page like so:
{code}
<div wicket:id="content" />
{code}

And two types of panels that could go in there, that should have different 
styling, I'm currently stuck using a pointless extra div:
{code}
<wicket:panel>
    <div class="style1">
        Content 1
    </div>
</wicket:panel>
{code}

If wicket allows copying attributes on from the wicket:panel tag to the source 
tag of the panel; this would become a lot cleaner and neater:
{code}
<wicket:panel class="style1">
    Content 1
</wicket:panel>
{code}

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

Reply via email to