Author: amarkhel
Date: 2009-06-04 11:45:41 -0400 (Thu, 04 Jun 2009)
New Revision: 14497
Modified:
branches/community/3.3.X/ui/togglePanel/src/main/java/org/richfaces/renderkit/html/TogglePanelRenderer.java
Log:
Fix RF-7227
Modified:
branches/community/3.3.X/ui/togglePanel/src/main/java/org/richfaces/renderkit/html/TogglePanelRenderer.java
===================================================================
---
branches/community/3.3.X/ui/togglePanel/src/main/java/org/richfaces/renderkit/html/TogglePanelRenderer.java 2009-06-04
15:45:37 UTC (rev 14496)
+++
branches/community/3.3.X/ui/togglePanel/src/main/java/org/richfaces/renderkit/html/TogglePanelRenderer.java 2009-06-04
15:45:41 UTC (rev 14497)
@@ -36,6 +36,7 @@
import javax.faces.context.ResponseWriter;
import org.ajax4jsf.renderkit.RendererBase;
+import org.ajax4jsf.renderkit.RendererUtils.HTML;
import org.richfaces.component.UITogglePanel;
import org.richfaces.event.SwitchablePanelSwitchEvent;
@@ -124,6 +125,7 @@
out.writeAttribute("style", "display: none;", null);
out.startElement("input", component);
out.writeAttribute("type", "hidden", null);
+ out.writeAttribute(HTML.autocomplete_ATTRIBUTE, "off", null);
out.writeAttribute("id", idInput, null);
out.writeAttribute("name", panel.getClientId(context), null);
out.writeAttribute("value", state, null);