You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Frank Bille Jensen (JIRA)" <ji...@apache.org> on 2007/11/04 10:41:54 UTC

[jira] Updated: (WICKET-1064) Mock up overriding

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

Frank Bille Jensen updated WICKET-1064:
---------------------------------------

    Fix Version/s:     (was: 1.3.0-rc1)

> Mock up overriding
> ------------------
>
>                 Key: WICKET-1064
>                 URL: https://issues.apache.org/jira/browse/WICKET-1064
>             Project: Wicket
>          Issue Type: New Feature
>          Components: wicket
>            Reporter: Kirils Mensikovs
>            Assignee: Eelco Hillenius
>            Priority: Minor
>
> I have MyComponent class with all needed functionality and mockup file. In one page I like to use component twice. But with different layouts, it's not about styles. I like override header or add or remove some element.  
> Example *MyComponent.html*:
> <html xmlns:wicket="http://wicket.apache.org">
> <body>
> <wicket:panel>
> 	<wicket:message key="title" wicket:id="label"/><a href="#">Some stuff</a>
> </wicket:panel>
> </body>
> </html>
> Overriding in main page *MainPage.html*:
> <html>
>   <head></head>
>   <body>
>        <wicket:panel id="myComponent">
>                <wicket:message key="newTitle" wicket:id="label"/>
>        </wicket:panel>
>   </body>
> </html>
> In the example in main page the label is override to another resource.

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