Tabnine Logo
StyleSheetReference.checkComponentTag
Code IndexAdd Tabnine to your IDE (free)

How to use
checkComponentTag
method
in
org.apache.wicket.markup.html.resources.StyleSheetReference

Best Java code snippets using org.apache.wicket.markup.html.resources.StyleSheetReference.checkComponentTag (Showing top 2 results out of 315)

origin: org.apache.wicket/com.springsource.org.apache.wicket

  /**
   * @see org.apache.wicket.Component#onComponentTag(org.apache.wicket.markup.ComponentTag)
   */
  protected void onComponentTag(ComponentTag tag)
  {
    // Must be attached to a style tag
    checkComponentTag(tag, "link");
    IValueMap attributes = tag.getAttributes();
    attributes.put("rel", "stylesheet");
    attributes.put("type", "text/css");
  }
}
origin: org.ops4j.pax.wicket/pax-wicket-service

  /**
   * @see org.apache.wicket.Component#onComponentTag(org.apache.wicket.markup.ComponentTag)
   */
  @Override
  protected void onComponentTag(ComponentTag tag)
  {
    // Must be attached to a style tag
    checkComponentTag(tag, "link");
    IValueMap attributes = tag.getAttributes();
    attributes.put("rel", "stylesheet");
    attributes.put("type", "text/css");
  }
}
org.apache.wicket.markup.html.resourcesStyleSheetReferencecheckComponentTag

Popular methods of StyleSheetReference

  • <init>
    Construct.

Popular in Java

  • Parsing JSON documents to java classes using gson
  • startActivity (Activity)
  • getSharedPreferences (Context)
  • getResourceAsStream (ClassLoader)
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • JList (javax.swing)
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now