Wicket-YAML integration

This project integrates the great CSS-Framework into Wicket.

Usage

Your master page should extend com.cedarsoft.wicket.yaml.YamlPage

You may use a constructor that might look like that:

add( new StyleSheetReference( "myStyleSheet", new ResourceReference( MyYamlPage.class, "css/myStyleSheet.css" ) ) );

//the impressum link
addOrReplace( new MyTopNav( ID_TOP_NAV ) );

//Add the navigation
addOrReplace( new YamlNavigation( ID_NAVIGATION, getMainNavigationLinksView(), new ResourceReference( CedarsoftPage.class, "css/navigation.css" ) ) );

//Add the footer
addOrReplace( new Label( ID_FOOTER, "my footer...." ) );

//There exists an enum with the most common layouts
setLayoutStyleSheet( YamlLayout.THREE_COL_DEFAULT );

//the right navigation
addOrReplace( new Col1Content( ID_COL1_CONTENT ) );