Thomas,

I have checked out the latest source from SVN.  Where can I get the ant build xml files to build the project?  assuming the myfaces (an apache project) is using the apache's ant project to do the building.  I would like to get the jscookmenu working..!

Thanks in advance...

On 12/19/05, Thomas Spiegl <[EMAIL PROTECTED]> wrote:
Hi,

I implemented the actionListener for JSCookMenu. Get the latest version from SVN or use nightly build to get the new feature.
Attached you will find an example.

1) Example 1  Static
<t:navigationMenuItem id="nav_2"
    actionListener="#{navigationMenu.actionListener}"
    itemLabel="#{example_messages[
'nav_Home']}"
    itemValue="go_home"
    action=""
The actionListener JSCookMenuBean.actionListener(ActionEvent event) will be executed. HtmlCommandJSCookMenu is now holding the itemValue of the clicked menu entry. Additionaly the action attribute may be given to trigger a page navigation.

2) Example 2 Dynamic
Shows how to generate menu items 'dynamically' by using NavigationMenuItem(s) + how to define an ActionListener per item (see JSCookMenuBean.getJSCookMenuNavigationItems())
The actionListener JSCookMenuBean.actionListener(ActionEvent event) will be executed. HtmlCommandJSCookMenu is now holding the value that was set for the NavigationMenuItem (see JSCookMenuBean.getMenuNaviagtionItem(...))

Cheers
Thomas

--
http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces


Reply via email to