congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
JavaScriptUrlReferenceHeaderItem.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.apache.wicket.markup.head.JavaScriptUrlReferenceHeaderItem
constructor

Best Java code snippets using org.apache.wicket.markup.head.JavaScriptUrlReferenceHeaderItem.<init> (Showing top 4 results out of 315)

origin: org.apache.wicket/wicket-core

/**
 * Creates a {@link JavaScriptUrlReferenceHeaderItem} for the given url.
 *
 * @param url
 *            context-relative url of the the javascript resource
 * @param id
 *            id that will be used to filter duplicate reference (it's still filtered by URL
 *            too)
 * @param defer
 *            specifies that the execution of a script should be deferred (delayed) until after
 *            the page has been loaded.
 * @param charset
 *            a non null value specifies the charset attribute of the script tag
 * @return A newly created {@link JavaScriptUrlReferenceHeaderItem} for the given url.
 */
public static JavaScriptUrlReferenceHeaderItem forUrl(String url, String id, boolean defer,
  String charset, String condition)
{
  return new JavaScriptUrlReferenceHeaderItem(url, id, defer, charset, condition);
}
origin: apache/wicket

/**
 * Creates a {@link JavaScriptUrlReferenceHeaderItem} for the given url.
 *
 * @param url
 *            context-relative url of the the javascript resource
 * @param id
 *            id that will be used to filter duplicate reference (it's still filtered by URL
 *            too)
 * @param defer
 *            specifies that the execution of a script should be deferred (delayed) until after
 *            the page has been loaded.
 * @param charset
 *            a non null value specifies the charset attribute of the script tag
 * @return A newly created {@link JavaScriptUrlReferenceHeaderItem} for the given url.
 */
public static JavaScriptUrlReferenceHeaderItem forUrl(String url, String id, boolean defer,
  String charset, String condition)
{
  return new JavaScriptUrlReferenceHeaderItem(url, id, defer, charset, condition);
}
origin: org.geoserver.web/gs-web-wms

        null));
header.render(
    new JavaScriptUrlReferenceHeaderItem(
        ResponseUtils.buildURL(base, "/openlayers3/ol.js", null, URLType.RESOURCE),
        null,
origin: org.geoserver.web/gs-web-demo

  @Override
  public void renderHead(Component component, IHeaderResponse response) {
    HttpServletRequest req =
        getGeoServerApplication().servletRequest(getRequest());
    String baseUrl = baseURL(req);
    response.render(
        new CssUrlReferenceHeaderItem(
            buildURL(
                baseUrl,
                "openlayers3/ol.css",
                null,
                URLMangler.URLType.RESOURCE),
            null,
            null));
    response.render(
        new JavaScriptUrlReferenceHeaderItem(
            buildURL(
                baseUrl,
                "openlayers3/ol.js",
                null,
                URLMangler.URLType.RESOURCE),
            null,
            false,
            "UTF-8",
            null));
  }
});
org.apache.wicket.markup.headJavaScriptUrlReferenceHeaderItem<init>

Javadoc

Creates a new JavaScriptUrlReferenceHeaderItem.

Popular methods of JavaScriptUrlReferenceHeaderItem

  • forReference
  • getCharset
  • getCondition
  • getId
  • getUrl
  • internalRenderJavaScriptReference
  • isAsync
  • isDefer
  • setId

Popular in Java

  • Finding current android device location
  • getResourceAsStream (ClassLoader)
  • getExternalFilesDir (Context)
  • onCreateOptionsMenu (Activity)
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • Notification (javax.management)
  • JLabel (javax.swing)
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Top 17 Plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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