Author: dbiatenia
Date: 2007-05-23 07:00:07 -0400 (Wed, 23 May 2007)
New Revision: 839
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-23
10:58:10 UTC (rev 838)
+++
trunk/richfaces/panelmenu/src/main/java/org/richfaces/renderkit/PanelMenuRenderer.java 2007-05-23
11:00:07 UTC (rev 839)
@@ -163,14 +163,16 @@
setExpandedIfNeeded(context,child,buffer);
+ addAjaxFunction(context,child,buffer);
+
String iconPos = child.getParent() instanceof UIPanelMenu ?
iconPositionTopLevel.toLowerCase() : iconPosition.toLowerCase() ;
buffer.append(","+'"'+iconPos+'"');
addImages(buffer,context,child,component.getClientId(context).toString());
- addAjaxFunction(context,child,buffer);
+
buffer.append(");\n");
}
} else {
Show replies by date