Allow custom theme.js file without duplicating jscookmenu.js
------------------------------------------------------------

         Key: MYFACES-701
         URL: http://issues.apache.org/jira/browse/MYFACES-701
     Project: MyFaces
        Type: Improvement
  Components: Tomahawk  
    Versions: 1.1.1    
    Reporter: Simon Kitching


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. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to