Author: dbiatenia
Date: 2007-05-22 12:01:03 -0400 (Tue, 22 May 2007)
New Revision: 832
Modified:
trunk/richfaces/panelmenu/src/main/java/org/richfaces/renderkit/PanelMenuRenderer.java
Log:
Modified:
trunk/richfaces/panelmenu/src/main/java/org/richfaces/renderkit/PanelMenuRenderer.java
===================================================================
---
trunk/richfaces/panelmenu/src/main/java/org/richfaces/renderkit/PanelMenuRenderer.java 2007-05-22
14:10:22 UTC (rev 831)
+++
trunk/richfaces/panelmenu/src/main/java/org/richfaces/renderkit/PanelMenuRenderer.java 2007-05-22
16:01:03 UTC (rev 832)
@@ -274,7 +274,10 @@
if (property!=null && property.toString().equals("true")){
buffer.append(",true");
} else {
- buffer.append(",false");
+
+ //return isChildrenExpanded(component) ? "opened" : "closed";
+ buffer.append(isChildrenExpanded(child) ? ",true" : ",false");
+ //buffer.append(",false");
}
}
}
Show replies by date