You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Juergen Donnerstag (JIRA)" <ji...@apache.org> on 2010/11/27 12:57:16 UTC
[jira] Resolved: (WICKET-2874) Copy attributes from wicket:panel to
source tag
[ https://issues.apache.org/jira/browse/WICKET-2874?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Juergen Donnerstag resolved WICKET-2874.
----------------------------------------
Resolution: Fixed
Fix Version/s: 1.5-M4
> 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
> Assignee: Juergen Donnerstag
> Fix For: 1.5-M4
>
> 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.