Ignore:
Timestamp:
Nov 14, 2014, 2:34:01 PM (8 years ago)
Author:
Nicklas Nordborg
Message:

References #1886: Extension point for "skinning" web gui

Added extension point, action class and a simple reference factory implementation. The Page/Head/Body? uses the extension to add script and stylesheets to the generated html.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/clients/web/web-extensions.xml

    r6440 r6596  
    155155      and/or password prompts, help texts, etc. Since there is only one login form,
    156156      only the first extension found for this extension point is used.
     157    </description>
     158  </extension-point>
     159 
     160  <extension-point
     161    id="global-skin">
     162    <action-class>net.sf.basedb.clients.web.extensions.skin.SkinAction</action-class>
     163    <name>Skins</name>
     164    <description>
     165      Extension point for GUI customizations. Extensions should implement
     166      the SkinAction interface, which can be used to set the favicon and
     167      add custom data to a hidden div tag on the page. Most work is expected
     168      to be done by stylesheets and/or scripts added to the JspContext
     169      instance passed to factory via the prepareContext method.
    157170    </description>
    158171  </extension-point>
Note: See TracChangeset for help on using the changeset viewer.