Tabnine Logo
Taglib.getTaglibLocation
Code IndexAdd Tabnine to your IDE (free)

How to use
getTaglibLocation
method
in
org.apache.openejb.jee.Taglib

Best Java code snippets using org.apache.openejb.jee.Taglib.getTaglibLocation (Showing top 6 results out of 315)

origin: org.apache.geronimo.ext.openejb/openejb-core

for (JspConfig jspConfig : webApp.getJspConfig()) {
  for (Taglib taglib : jspConfig.getTaglib()) {
    String location = taglib.getTaglibLocation();
    if (!location.startsWith("/")) {
origin: org.apache.tomee/openejb-core

for (final JspConfig jspConfig : webApp.getJspConfig()) {
  for (final Taglib taglib : jspConfig.getTaglib()) {
    String location = taglib.getTaglibLocation();
    if (!location.startsWith("/")) {
origin: org.apache.geronimo.modules/geronimo-web-2.5-builder

@Override
public void preProcessWebXmlElement(WebApp webApp, MergeContext context) throws DeploymentException {
  if (webApp.getJspConfig().isEmpty()) {
    return;
  }
  if (webApp.getJspConfig().size() > 1) {
    throw new DeploymentException(WebDeploymentMessageUtils.createMultipleConfigurationWebAppErrorMessage("jsp-config"));
  }
  JspConfig jspConfig = webApp.getJspConfig().get(0);
  for (Taglib taglib : jspConfig.getTaglib()) {
    context.setAttribute(createTaglibKey(taglib), new MergeItem(taglib.getTaglibLocation(), null, ElementSource.WEB_XML));
  }
}
origin: org.apache.openejb/openejb-core

for (final JspConfig jspConfig : webApp.getJspConfig()) {
  for (final Taglib taglib : jspConfig.getTaglib()) {
    String location = taglib.getTaglibLocation();
    if (!location.startsWith("/")) {
origin: org.apache.geronimo.modules/geronimo-jasper-builder

for (Taglib taglib : taglibs) {
  String uri = taglib.getTaglibUri().trim();
  String location = taglib.getTaglibLocation().trim();
  if (!location.equals("")) {
    if (location.startsWith("/")) {
origin: org.apache.geronimo.modules/geronimo-web-2.5-builder

@Override
public void merge(WebFragment webFragment, WebApp webApp, MergeContext mergeContext) throws DeploymentException {
  if (webFragment.getJspConfig().isEmpty()) {
    return;
  }
  if (webFragment.getJspConfig().size() > 1) {
    logger.warn(WebDeploymentMessageUtils.createMultipleConfigurationWarningMessage("jsp-config", mergeContext.getCurrentJarUrl()));
  }
  JspConfig srcJspConfig = webFragment.getJspConfig().get(0);
  if (webApp.getJspConfig().isEmpty()) {
    webApp.getJspConfig().add( new JspConfig());
  }
  JspConfig targetJspConfig = webApp.getJspConfig().get(0);
  //Merge Tag lib configurations
  for (Taglib taglib : srcJspConfig.getTaglib()) {
    if (MergeHelper.mergeRequired(createTaglibKey(taglib), "jsp-config/tag-lib", "taglib-uri", taglib.getTaglibUri(), "taglib-location", taglib.getTaglibLocation()
        , mergeContext)) {
      targetJspConfig.getTaglib().add(taglib);
    }
  }
  //Merge jsp-property-group configurations, seem that no merge actions are required, just add them to the web.xml file
  for (JspPropertyGroup srcJspPropertyGroup : srcJspConfig.getJspPropertyGroup()) {
    targetJspConfig.getJspPropertyGroup().add(srcJspPropertyGroup);
  }
}
org.apache.openejb.jeeTaglibgetTaglibLocation

Popular methods of Taglib

  • getTaglibUri

Popular in Java

  • Updating database using SQL prepared statement
  • getApplicationContext (Context)
  • runOnUiThread (Activity)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • Path (java.nio.file)
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • Top plugins for WebStorm
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