Changes in navigationMenuItem jsf component to make it work with 
HtmlCommandJSCookMenu (action) or any simple URL
-----------------------------------------------------------------------------------------------------------------

         Key: MYFACES-399
         URL: http://issues.apache.org/jira/browse/MYFACES-399
     Project: MyFaces
        Type: Improvement
  Components: Tomahawk  
    Versions: 1.0.9 beta    
 Environment: JDK 1.5.0_03-b07, JBoss 4.0.2, Windows XP SP2
    Reporter: Darlan Oliveira
 Attachments: myfaces-1.0.9.zip

1) 
src/components/org/apache/myfaces/custom/navmenu/HtmlNavigationMenuItemTag.java
Inserted constants.: URL_ATTR and TARGET_ATTR
Inserted attributes: _url and _target
Inserted methods...: setUrl and setTarget
Modified methods...: release and setProperties

2) src/components/org/apache/myfaces/custom/navmenu/NavigationMenuItem.java
Inserted attributes..: _url and _target
Inserted constructors: NavigationMenuItem(Object, String, String, boolean, 
boolean, String, String, String, String, boolean)
                       NavigationMenuItem(String, String, String, String, 
boolean)
Modified constructors: NavigationMenuItem(Object, String, String, boolean, 
String, String, boolean)
                       NavigationMenuItem(String, String, String, boolean)
Inserted methods.....: get/setUrl and get/setTarget

3) src/components/org/apache/myfaces/custom/navmenu/NavigationMenuUtils.java
Modified method: getNavigationMenuItemList

4) src/components/org/apache/myfaces/custom/navmenu/UINavigationMenuItem.java
Inserted attributes: _url and _target
Inserted methods...: get/setUrl and get/setTarget
Modified methods...: restoreState and saveState

5) 
src/components/org/apache/myfaces/custom/navmenu/jscookmenu/HtmlJSCookMenuRenderer.java
Modified method: encodeNavigationMenuItems

6) 
src/components/org/apache/myfaces/custom/navmenu/resource/jscookmenu/JSCookMenu.js
Modified function: cmItemMouseUp

7) tlds/myfaces_ext.tld
Inserted attributes: url and target

8) tlds/myfaces_ext_sf.tld
Inserted attributes: url and target

-- 
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