Examples of StyleSheetReference


Examples of org.apache.wicket.markup.html.resources.StyleSheetReference

    super( id );

    if ( styleSheetReference == null ) {
      add( new EmptyPanel( WicketConstants.ID_STYLE_SHEET ) );
    } else {
      add( new StyleSheetReference( WicketConstants.ID_STYLE_SHEET, styleSheetReference ) );
    }

    WebMarkupContainer container = new WebMarkupContainer( NAVIGATION_UL );
    add( container );
    container.add( dataView );
View Full Code Here

Examples of org.apache.wicket.markup.html.resources.StyleSheetReference

    String uri = Utils.getUri(parameters);
    //check user authorisation
    if(uri != ""){
      PickwickAuthorization.check(settings.getImageDirectoryRoot() + "/" + uri, PickwickSession.get());
    }
    add(new StyleSheetReference("pickwickCss", BasePage.class, "css/pickwick.css"));
   
    addHeader();
    add(new DiaporamaPanel("diapo", new Model(uri)));
  }
View Full Code Here

Examples of org.apache.wicket.markup.html.resources.StyleSheetReference

 
  public BasePage(PageParameters parameters) {
    super();
    add(new JavaScriptReference("extBase", ExtAnchor.class, "2.0/adapter/ext/ext-base.js"));
    add(new JavaScriptReference("extAll", ExtAnchor.class, "2.0/ext-all.js"));
    add(new StyleSheetReference("extAllCss", ExtAnchor.class, "2.0/resources/css/ext-all.css"));
    add(new StyleSheetReference("pickwickCss", BasePage.class, "css/pickwick.css"));
   
    initPage(parameters);
   
    addHeader();
    add(west = getWestPanel(WEST));
View Full Code Here

Examples of org.apache.wicket.markup.html.resources.StyleSheetReference

 
  public BaseAdminPage(PageParameters parameters) {
    super();
    add(new JavaScriptReference("extBase", ExtAnchor.class, "2.0/adapter/ext/ext-base.js"));
    add(new JavaScriptReference("extAll", ExtAnchor.class, "2.0/ext-all.js"));
    add(new StyleSheetReference("extAllCss", ExtAnchor.class, "2.0/resources/css/ext-all.css"));
    add(new StyleSheetReference("pickwickCss", BasePage.class, "css/pickwick.css"));
   
    initPage(parameters);
   
    addHeader();
    add(west = getWestPanel(WEST));
View Full Code Here

Examples of org.apache.wicket.markup.html.resources.StyleSheetReference

import org.wicketstuff.pickwick.frontend.pages.BasePage;

public class PickwickLoginPage extends SignInPage {
 
  public PickwickLoginPage() {
    add(new StyleSheetReference("pickwickCss", BasePage.class, "css/pickwick.css"));
  }
View Full Code Here

Examples of org.apache.wicket.markup.html.resources.StyleSheetReference

    super( parameters );
    //Page Title
    add( new Label( ID_PAGE_TITLE, new PropertyModel<YamlPage>( this, "pageTitle" ) ) );

    //Default style sheets
    add( new StyleSheetReference( "baseStyleSheet", new ResourceReference( YamlPage.class, "css/core/base.css" ) ) );
    add( new StyleSheetReference( "wicketYamlStyleSheet", new ResourceReference( YamlPage.class, "css/core/wicketyaml.css" ) ) );
    add( new StyleSheetReference( "ieHacksStyleSheet", new ResourceReference( YamlPage.class, "css/core/iehacks.css" ) ) );

    //Add the empty panels for footer, navigation and content
    add( new EmptyPanel( ID_NAVIGATION ) );
    add( new EmptyPanel( ID_FOOTER ) );
    add( new EmptyPanel( ID_COL1_CONTENT ) );
View Full Code Here

Examples of org.apache.wicket.markup.html.resources.StyleSheetReference

   * Sets the layout style sheet
   *
   * @param styleSheetReference the style sheet reference for the layout
   */
  public void setLayoutStyleSheet( @NotNull ResourceReference styleSheetReference ) {
    addOrReplace( new StyleSheetReference( ID_LAYOUT_STYLE_SHEET, styleSheetReference ) );
  }
View Full Code Here

Examples of org.apache.wicket.markup.html.resources.StyleSheetReference

public class TestYamlPage extends YamlPage {
  public static final String THE_TITLE = "theTitle";

  public TestYamlPage() {
    //Add my custom style sheets
    add( new StyleSheetReference( "basemodStyleSheet", new ResourceReference( TestYamlPage.class, "css/basemod.css" ) ) );
    add( new StyleSheetReference( "contentStyleSheet", new ResourceReference( TestYamlPage.class, "css/content.css" ) ) );

    //Add the navigation
    addOrReplace( new YamlNavigation( ID_NAVIGATION, new YamlNavigationLinksView( new ListDataProvider( getLinkProviders() ) ), new ResourceReference( TestYamlPage.class, "css/navigation.css" ) ) );
    //Add the footer
    addOrReplace( new YamlFooter( ID_FOOTER ) );
View Full Code Here

Examples of org.apache.wicket.markup.html.resources.StyleSheetReference

  protected YamlPage() {
    //Page Title
    add( new Label( ID_PAGE_TITLE, new PropertyModel<YamlPage>( this, "pageTitle" ) ) );

    //Default style sheets
    add( new StyleSheetReference( "baseStyleSheet", new ResourceReference( YamlPage.class, "css/core/base.css" ) ) );
    add( new StyleSheetReference( "wicketYamlStyleSheet", new ResourceReference( YamlPage.class, "css/core/wicketyaml.css" ) ) );
    add( new StyleSheetReference( "ieHacksStyleSheet", new ResourceReference( YamlPage.class, "css/core/iehacks.css" ) ) );

    //Add the empty panels for footer, navigation and content
    add( new EmptyPanel( ID_NAVIGATION ) );
    add( new EmptyPanel( ID_FOOTER ) );
    add( new EmptyPanel( ID_COL1_CONTENT ) );
View Full Code Here

Examples of org.apache.wicket.markup.html.resources.StyleSheetReference

   * Sets the layout style sheet
   *
   * @param styleSheetReference the style sheet reference for the layout
   */
  public void setLayoutStyleSheet( @NotNull ResourceReference styleSheetReference ) {
    addOrReplace( new StyleSheetReference( ID_LAYOUT_STYLE_SHEET, styleSheetReference ) );
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.