We use tomahawk with a JSF-RI (not Myfaces or Trinidad) and we have found a
misfunction after the rev. 434574 in the jscookmenu renderer, with this
correction we solved the problem in our environment:

Index:
C:/current/tomahawk/core/src/main/java/org/apache/myfaces/custom/navmenu/jscookmenu/HtmlJSCookMenuRenderer.java
===================================================================
---
C:/current/tomahawk/core/src/main/java/org/apache/myfaces/custom/navmenu/jscookmenu/HtmlJSCookMenuRenderer.java
(revision 478926)
+++
C:/current/tomahawk/core/src/main/java/org/apache/myfaces/custom/navmenu/jscookmenu/HtmlJSCookMenuRenderer.java
(working copy)
@@ -170,7 +170,7 @@
                formName = DummyFormUtils.getDummyFormName();
            }
            else {*/
-            if (RendererUtils.isAdfOrTrinidadForm(parentFormInfo.getForm()))
{
+            if (!RendererUtils.isAdfOrTrinidadForm(parentFormInfo.getForm()))
{
                // need to add hidden input, cause MyFaces form is missing
hence will not render hidden inputs
                writer.write("<input type=\"hidden\" name=\"");
                writer.write(JSCOOK_ACTION_PARAM);


We have made this patch against the last revision.
bye
Mt3

Reply via email to