Author: a.izobov
Date: 2007-06-15 04:39:06 -0400 (Fri, 15 Jun 2007)
New Revision: 1195
Modified:
trunk/richfaces/menu-components/src/main/config/component/menucomponents.xml
trunk/richfaces/menu-components/src/main/java/org/richfaces/component/MenuComponent.java
trunk/richfaces/menu-components/src/main/java/org/richfaces/renderkit/html/MenuItemRendererBase.java
Log:
http://jira.jboss.com/jira/browse/RF-263 fixed
Modified: trunk/richfaces/menu-components/src/main/config/component/menucomponents.xml
===================================================================
---
trunk/richfaces/menu-components/src/main/config/component/menucomponents.xml 2007-06-15
00:06:13 UTC (rev 1194)
+++
trunk/richfaces/menu-components/src/main/config/component/menucomponents.xml 2007-06-15
08:39:06 UTC (rev 1195)
@@ -211,7 +211,6 @@
<classname>java.lang.String</classname>
<description>Set the submission mode (ajax, server(Default),
none)</description>
- <defaultvalue>"server"</defaultvalue>
</property>
<!-- Command attributes -->
Modified:
trunk/richfaces/menu-components/src/main/java/org/richfaces/component/MenuComponent.java
===================================================================
---
trunk/richfaces/menu-components/src/main/java/org/richfaces/component/MenuComponent.java 2007-06-15
00:06:13 UTC (rev 1194)
+++
trunk/richfaces/menu-components/src/main/java/org/richfaces/component/MenuComponent.java 2007-06-15
08:39:06 UTC (rev 1195)
@@ -40,5 +40,6 @@
* Getter for submit mode property.
*/
public String getSubmitMode();
+ public void setSubmitMode(String submitMode);
}
Modified:
trunk/richfaces/menu-components/src/main/java/org/richfaces/renderkit/html/MenuItemRendererBase.java
===================================================================
---
trunk/richfaces/menu-components/src/main/java/org/richfaces/renderkit/html/MenuItemRendererBase.java 2007-06-15
00:06:13 UTC (rev 1194)
+++
trunk/richfaces/menu-components/src/main/java/org/richfaces/renderkit/html/MenuItemRendererBase.java 2007-06-15
08:39:06 UTC (rev 1195)
@@ -111,7 +111,7 @@
menuItem, context).toString());
} else if (mode.equalsIgnoreCase(MenuComponent.MODE_SERVER)) {
CommandScriptBuilder builder = new CommandScriptBuilder(menuItem);
- //builder.setCheckActionAndListener(true);
+ builder.setCheckActionAndListener(false);
Object target = menuItem.getAttributes().get("target");
if (null != target) {
builder.setTarget((String) target);