You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by MT3 MTCube <mt...@gmail.com> on 2006/11/28 18:35:59 UTC
jscookmenu renderer error from rev. 434574
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