BorderPage edited by Knut PapeInitial page for bordersTable of contents ScopeComponentBackground | componentJavadoc=Border BackgroundA Border is a reusable component that holds markup and other components. Is special type of Panel with the ability to wrap code with a header and a footer specified by the Border component. You can use Markup inheritance with Borders too. See Panels and borders to see the difference between Panels and Borders and Fragment to see how to use 'in-line' panels. Borders can be used to create dynamic markup hierarchies. FAQExamplesTypical usageBaseBorder.java:
public class BaseBorder extends Border {
public BaseBorder (String id, User user) {
super(id);
add(new Label("username", user.getUsername()));
add(new Label("lastLogin", user.getLastLogin()));
}
}
Change Notification Preferences
View Online
|
View Change
|
Add Comment
|
- [CONF] Apache Wicket > Border confluence
- [CONF] Apache Wicket > Border confluence
