Action defined in navigationMenuItem doesn't work with tomahawk-sandbox
-----------------------------------------------------------------------

                 Key: TOMAHAWK-1148
                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1148
             Project: MyFaces Tomahawk
          Issue Type: Bug
          Components: JS Cook Menu, NavigationMenuItem
    Affects Versions: 1.1.6
         Environment: Software platform
            Reporter: Rafael Hancke
            Priority: Critical


Using tomahawk-sandbox-examples-1.1.6, downloaded from 
http://repo1.maven.org/maven2/org/apache/myfaces/tomahawk/tomahawk-sandbox-examples/1.1.6/,
I've been tried to use jscookmenu adding the following lines:

==
1) In home.jsp, between <h:form> and  <h:panelGrid>
<div>
  <input type="hidden" name="jscook_action" />
  <t:jscookMenu layout="hbr" theme="ThemeOffice">               
    <t:navigationMenuItem itemLabel="Picklist" action="picklistView" />
  </t:jscookMenu>
</div>

2) In examples-config.xml
<navigation-rule>
  <navigation-case>
        <from-outcome>picklistView</from-outcome>
        <to-view-id>/picklist.jsp</to-view-id>
        <redirect />
  </navigation-case>
</navigation-rule>
==

After apply this changes in a new war file and running it in an application 
server, if I click in the Picklist option that was renderized, nothing happens. 
It seems that the navigation rule defined doesn't have effect.

I try the same test using tomahawk-sandbox-examples-1.1.7-SNAPSHOT, but the 
same problem happens.

I'd like to use sandbox because there are lots of useful components for the 
application that I'm developing, where tomahawk doesnt have them. And I'd like 
to know if you can help me with the bug/problem that I've detailed above.

Best regards
Rafael Hancke

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to