[ 
https://issues.apache.org/jira/browse/WICKET-2874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12871256#action_12871256
 ] 

Igor Vaynberg commented on WICKET-2874:
---------------------------------------

juergen, how about fixing this only in 1.5? i think we can live without this in 
1.4


> 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
>         Attachments: PanelWithAttribute.java
>
>
> 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