On Wed, Feb 29, 2012 at 11:08 AM, Dan12321 <[email protected]> wrote:
> Thanks.
>
> I have: MyPanel.java (this class extends Panel), MyPanel.html and
> MyPanel_test.html.
> I try in MyPanel.java add method:
>
>        @Override
>        public String getVariation() {
>                return "test";
>        }
>
> It is good, is not it? But it do not work.
>
> Is not there in wicket 1.5.4 same kind of bug with getVariation:
> https://issues.apache.org/jira/browse/WICKET-4361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#issue-tabs

No, this bug is not related in your case.
With this code you should see the markup for MyPanel_test.html
There is a test about this in Wicket - org.apache.wicket.PageMarkupLoadingTest

>
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/wicket-more-html-templates-for-one-java-class-tp4430757p4431001.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to