Uploaded image for project: 'MyFaces Tomahawk'
  1. MyFaces Tomahawk
  2. TOMAHAWK-25

Allow custom theme.js file without duplicating jscookmenu.js

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Reopened
    • Major
    • Resolution: Unresolved
    • None
    • None
    • JS Cook Menu
    • None

    Description

      In release 1.1.0 and earlier, defining a custom theme for a jscookMenu component was possible but rather clumsy.

      Since the 1.1.0 release some code has been added to the jscookMenu component to provide a new "javascriptLocation" attribute.
      However it would appear that the "javascriptLocation" attribute is used to locate the JSCookMenu.js and MyFacesHack.js files as well as the custom theme's theme.js file.

      Can this be separated into two different attributes? I would like to be able to specify a theme.js file without having to extract the core files "JSCookMenu.js" and "MyFacesHack.js" from the tomahawk jar and put them in the same directory.

      I think introducing a new attribute whose value is the URL of the custom theme file is possible without causing any incompatibilities with prior releases.

      Attachments

        Activity

          People

            skitching Simon Kitching
            skitching Simon Kitching
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: