Class FixedSkinActionFactory

  • All Implemented Interfaces:
    DynamicActionAttributes, ActionFactory<SkinAction>

    public class FixedSkinActionFactory
    extends AbstractJspActionFactory<SkinAction>
    A simple action factory implementation that always include the given skin on all pages. It supports dynamic attributes, favicon and image re-mapping. To use image remapping, set the <image-remap-dir> parameter in the configuration file to a path in the /resources dir in the JAR file but without the /resources prefix. For example, if the images to remap are in the /resources/images/remap directory set the parameter to /images/remap.
    • Constructor Detail

      • FixedSkinActionFactory

        public FixedSkinActionFactory()
        Create a new factory instance.
    • Method Detail

      • getActions

        public SkinAction[] getActions​(InvokationContext<? super SkinAction> context)
        Description copied from interface: ActionFactory
        This method may be called one or several times for each request. This is decided by the extension point. If, for example, the extension point is a pure single-item extension point then this method is probably only called once. If the extension point is a per-item extension point in a list context, then this method may be called once for every item in the list. The context parameter contains all information about the context of the extension point, including the current item, if any.
        context - The current invokation context
        Always an array with a single element
      • getId

        public String getId()
      • setId

        public void setId​(String id)
      • getFavicon

        public String getFavicon()
      • setImageRemapDir

        public void setImageRemapDir​(String remapDir)
      • getImageRemapDir

        public String getImageRemapDir()