Author: dbiatenia
Date: 2007-07-31 12:49:11 -0400 (Tue, 31 Jul 2007)
New Revision: 1962
Modified:
trunk/ui/panelmenu/src/main/config/component/panelMenu.xml
trunk/ui/panelmenu/src/main/java/org/richfaces/component/UIPanelMenuGroup.java
trunk/ui/panelmenu/src/main/java/org/richfaces/renderkit/PanelMenuRendererBase.java
Log:
RF-512
Modified: trunk/ui/panelmenu/src/main/config/component/panelMenu.xml
===================================================================
--- trunk/ui/panelmenu/src/main/config/component/panelMenu.xml 2007-07-31 16:49:04 UTC
(rev 1961)
+++ trunk/ui/panelmenu/src/main/config/component/panelMenu.xml 2007-07-31 16:49:11 UTC
(rev 1962)
@@ -336,7 +336,7 @@
<superclass>org.ajax4jsf.webapp.taglib.HtmlComponentTagBase</superclass>
</tag>
<property>
- <name>mode</name>
+ <name>expandMode</name>
<classname>java.lang.String</classname>
<description>
Set the submission mode for all panel menu groups after expand/collapse
Modified: trunk/ui/panelmenu/src/main/java/org/richfaces/component/UIPanelMenuGroup.java
===================================================================
---
trunk/ui/panelmenu/src/main/java/org/richfaces/component/UIPanelMenuGroup.java 2007-07-31
16:49:04 UTC (rev 1961)
+++
trunk/ui/panelmenu/src/main/java/org/richfaces/component/UIPanelMenuGroup.java 2007-07-31
16:49:11 UTC (rev 1962)
@@ -42,8 +42,8 @@
public abstract String getStyleClass();
public abstract void setStyleClass(String styleClass);
- public abstract String getMode();
- public abstract void setMode(String mode);
+ public abstract String getExpandMode();
+ public abstract void setExpandMode(String exapandMode);
public abstract String getIconExpanded();
public abstract void setIconExpanded(String expanded);
Modified:
trunk/ui/panelmenu/src/main/java/org/richfaces/renderkit/PanelMenuRendererBase.java
===================================================================
---
trunk/ui/panelmenu/src/main/java/org/richfaces/renderkit/PanelMenuRendererBase.java 2007-07-31
16:49:04 UTC (rev 1961)
+++
trunk/ui/panelmenu/src/main/java/org/richfaces/renderkit/PanelMenuRendererBase.java 2007-07-31
16:49:11 UTC (rev 1962)
@@ -233,8 +233,8 @@
String mode = "none";
if (component instanceof UIPanelMenuGroup) {
UIPanelMenuGroup group = (UIPanelMenuGroup) component;
- if (null != group.getMode() && ! "".equals(group.getMode()))
- mode = group.getMode();
+ if (null != group.getExpandMode() && !
"".equals(group.getExpandMode()))
+ mode = group.getExpandMode();
else
mode = parentExpandMode;
} else if (component instanceof UIPanelMenuItem) {
Show replies by date