Hi,
I'm not sure if this is the right mail list to post this issue,
but since I got no replies from the myfaces-user list, I wonder if any
developer has worked with the Sun JSF RI + myfaces-extensions. Please
note that I'm not asking about how to use it, but to confirm that this
works. That way I'll continue fighting with it.
For some reason JSCookMenu is ignoring the actions assigned to the
NavigationMenuItem's. I'm using Sun RI (RSA 6.0 distribution) and the
myfaces-extensions.jar.
Converting the POSTto a GET (just to know what is being sent), this
is the string:
http://localhost:8080/testApp/faces/index.jsp?autoScroll=&jscook_action=formIndex__id0_menu%3AtestOption
"testOption" is the action, so it's being sent without problems.
The relevant parts of faces-config.xml are:
<navigation-rule>
<from-view-id> * </from-view-id>
<navigation-case>
<from-outcome>test</from-outcome>
<to-view-id>/testpage.jsp</to-view-id>
</navigation-case>
</navigation-rule>
<navigation-rule>
<from-view-id> * </from-view-id>
<navigation-case>
<to-view-id>/whateverSelected.jsp</to-view-id>
</navigation-case>
</navigation-rule>
Please notice that the second rule should be executed in any case.
Well, the browser just reloads the current page every time I select an
option in the menu. JSCookMenu ignores both rules.Looks like the menu
isn't aware of the config file.
Could anyone confirm that JSCookMenu actions work without problems in
Sun JSF RI + myfaces-extensions?
Thanks in advance,
- Juan