Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

Code Block
html
html
<html>
<body>
<wicket:panel>
<a href="#" wicket:id="myLink"><span wicket:id="label">bar</span></a>
<span wicket:id="foo">message goes here</a>span>
</wicket:panel>
</body>
</html>

...

Code Block
html
html
<html>
<body>
<wicket:panel>
<span wicket:id="label">bar</span>
<span wicket:id="foo">message goes here</a>span>
</wicket:panel>
</body>
</html>

...

Code Block
<html>
<body>
<span wicket:id="dynamicpanel">x</span>
</body>
</html>

...

Code Block
public class MyPage extends WebPage {
   public MyPage() {
      Object myModel = // ...
      if(modelObject instanceof List) {
          panel = new NestedStaticTextPanel("rowpanel", null);
      } else {
          panel = new NestedLinkPanel("rowpanel", model);
      }
      item.add(panel);
   }
}

...