THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block | ||||
---|---|---|---|---|
| ||||
<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> <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); } } |
...