org.appng.api

## Interface GlobalTaglet

- All Superinterfaces:
    Taglet

      public interface GlobalTaglet
      extends Taglet

  A `GlobalTaglet` is a specialized kind of a `Taglet`. The `Site` that is calling the `GlobalTaglet` can be different from the `Site` that is executing the call, whereas in a `Taglet`, the calling and executing `Site` are always the same.
  Author:
    Matthias Müller

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `processTaglet(Site callingSite, Site executingSite, Application application, Request request, Map<String,String> tagletAttributes)` Executes the `Taglet` and returns a `String` to be embedded at the calling JSP-page.

    - ### Methods inherited from interface org.appng.api.Taglet

      `processTaglet`

- - ### Method Detail

    - #### processTaglet

          String processTaglet(Site callingSite,
                               Site executingSite,
                               Application application,
                               Request request,
                               Map<String,String> tagletAttributes)

      Executes the `Taglet` and returns a `String` to be embedded at the calling JSP-page.
      Parameters:
        `callingSite` - the `Site` where the original JSP-call came from
        `executingSite` - the `Site` in which the JSP-call will be executed
        `application` - the current `Application`
        `request` - the current `Request`
        `tagletAttributes` - a `Map` containing the attributes for the `Taglet`
      Returns:
        a String to be embedded into the calling JSP

Copyright © 2011–2023 aiticon GmbH. All rights reserved.