DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
...
<wicket:fragment> - is similar to <wicket:panel> but its is declared in the parent's markup instead of in a separate markup file.
Example:
| Code Block | ||||||
|---|---|---|---|---|---|---|
| ||||||
<html xmlns:wicket="http://wicket.apache.org">
<body>
<span wicket:id="panel1">panel</span>
<span wicket:id="panel2">panel</span>
<wicket:fragment wicket:id="frag1">This is the content of fragment 1</wicket:fragment>
<wicket:fragment wicket:id="frag2">fragment 2222222</wicket:fragment>
</body>
</html>
|
| Code Block | ||||||
|---|---|---|---|---|---|---|
| ||||||
public MyPage() {
Fragment panel1 = new Fragment("panel1", "frag1", MyPage.this);
add(panel1);
Fragment panel2 = new Fragment("panel2", "frag2", MyPage.this);
add(panel2);
}
|
...