You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by Apache Wiki <wi...@apache.org> on 2006/11/01 11:18:07 UTC

[Myfaces Wiki] Update of "JSCook Menu" by ArashRajaeeyan

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Myfaces Wiki" for change notification.

The following page has been changed by ArashRajaeeyan:
http://wiki.apache.org/myfaces/JSCook_Menu

------------------------------------------------------------------------------
  ##language:en
- == <t:jscookMenu> ==
+ <t:jscookMenu>
+ == Description ==
  Renders a Javascript Menu based on the excellent [http://www.cs.ucla.edu/~heng/JSCookMenu JSCookMenu];  by Heng Yuan, the nested NavigationMenuItem(s) are rendered as Javascript Menu.
  
- See Also: [http://myfaces.apache.org/tomahawk/jscookmenu.html Official Documentation] 
- The offical docs seem to be out of date. You no longer have to include the javascript, as that is now handled by the extensions filter.
+ == Screen Shot ==
+ Not a Visual Component
  
+ == API ==
+ || component-family || javax.faces.Command ||
+ || renderer-type || org.apache.myfaces.JSCookMenu ||
+ || component-class || org.apache.myfaces.custom.navmenu.jscookmenu.HtmlCommandJSCookMenu ||
+ || renderer-class || org.apache.myfaces.custom.navmenu.jscookmenu.HtmlJSCookMenuRenderer ||
+ || tag-class || org.apache.myfaces.custom.navmenu.jscookmenu.HtmlJSCookMenuTag ||
+ 
+ == Usage ==
+ 
+ == Syntax ==
+ 
+ == Instructions ==
+ 
+ == Attributes ==
+   * ui_component_attributes
+   * user_role_attributes
+   * alt_location_attributes
+   * faces_immediate_attribute
+   * tomahawk_js_cook_menu_attributes
+ 
+ || '''name''' || '''required''' || ''''''description''' ||
+ || layout || true || one of the {hbr, hbl, hur, hul, vbr, vbl, vur, vul} values ||
+ || theme || true || one of the {ThemeIE, ThemeMiniBlack, ThemeOffice, ThemePanel} values ||
+  
+ 
+ == Configuration ==
+ Don't need any extra configuration.
+ 
+ == Notes and Known issues ==
+ === Java Script Sources ===
+ The offical docs seem to be out of date. You no longer have to include the javascript, as that is now handled by the extensions filter. Now by default, javascript is retrieved from the extentionFilter.  The filter is defined in web.xml in order for {{{<t:jscookMenu>}}} to work.
+ 
+ === Place of Menu tag in relation to Forms ===
+ Menus must placed inside forms starting with Tomahawk 1.1.3.
+ 
+ {{{
+ <h:form>
+     <t:jscookMenu >
+     ...
+     </t:jscookMen>
+ </h:form> 
+ }}}
+ 
+ Menus should not be placed inside forms before Tomahawk 1.1.3.
+ 
+ 
+ {{{
+ <t:jscookMenu >
+ ...
+ </t:jscookMen>
+ 
+ <h:form>
+ ...
+ </h:form> 
+ }}}
+ 
+ === problem with JSF 1.2 and Facelets 1.2 ===
+ 
+ Using with JSF 1.2 RI and Facelets 1.2 the componente not work correctly, being necessary to insert the following code manually in the page:
+ 
+ 
+ {{{
+ <input type="hidden" name="jscook_action" />
+ }}}
+ 
+ == Examples ==
  
  === Example 1 ===
  A simple menu with navigation rules.
@@ -136, +203 @@

  }}}
  
  
- === Notes about Attributes ===
- Below is additional documentation about attributes.   At some point the [http://myfaces.apache.org/tomahawk/tlddoc/index.html TagLib Documentation] will be updated to include these notes.
  
+ == FAQ ==
- ==== javascriptLocation ====
-  * By default, javascript is retrieved from the extentionFilter.  The filter is defined in web.xml in order for {{{<t:jscookMenu>}}} to work.
  
- === Common Problems ===
+ == Additional Information ==
  
- Menus must placed inside forms starting with Tomahawk 1.1.3.
- 
- {{{
- <h:form>
-     <t:jscookMenu >
-     ...
-     </t:jscookMen>
- </h:form> 
- }}}
- 
- Menus should not be placed inside forms before Tomahawk 1.1.3.
- 
- 
- {{{
- <t:jscookMenu >
- ...
- </t:jscookMen>
- 
- <h:form>
- ...
- </h:form> 
- }}}
- 
- 
- 
- Using with JSF 1.2 RI and Facelets 1.2 the componente not work correctly, being necessary to insert the following code manually in the page:
- 
- 
- {{{
- <input type="hidden" name="jscook_action" />
- }}}
-