Author: lfryc(a)redhat.com
Date: 2011-01-25 09:34:05 -0500 (Tue, 25 Jan 2011)
New Revision: 21209
Modified:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichPanelMenuBean.java
modules/tests/metamer/trunk/application/src/main/resources/org/richfaces/tests/metamer/bean/RichPanelMenuBean.properties
modules/tests/metamer/trunk/application/src/main/webapp/components/richPanelMenu/simple.xhtml
Log:
rich:panelMenu - pre-automation fixes (RFPL-950)
Modified:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichPanelMenuBean.java
===================================================================
---
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichPanelMenuBean.java 2011-01-25
14:33:07 UTC (rev 21208)
+++
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichPanelMenuBean.java 2011-01-25
14:34:05 UTC (rev 21209)
@@ -46,6 +46,8 @@
private static final long serialVersionUID = -1L;
private static Logger logger;
private Attributes attributes;
+
+ private Object activeItem;
/**
* Initializes the managed bean.
@@ -54,20 +56,11 @@
public void init() {
logger = LoggerFactory.getLogger(getClass());
logger.debug("initializing bean " + getClass().getName());
-
- // loading from Class to work around RF-10161
+
attributes = Attributes.getComponentAttributesFromFacesConfig(UIPanelMenu.class,
getClass());
-
- attributes.setAttribute("groupLeftIconCollapsed", "disc");
- attributes.setAttribute("groupRightIconCollapsed",
"chevronDown");
- attributes.setAttribute("groupLeftIconExpanded", "disc");
- attributes.setAttribute("groupRightIconExpanded",
"chevronUp");
+
attributes.setAttribute("rendered", true);
attributes.setAttribute("style", "width: 200px;");
- attributes.setAttribute("topGroupLeftIconCollapsed",
"disc");
- attributes.setAttribute("topGroupRightIconCollapsed",
"chevronDown");
- attributes.setAttribute("topGroupLeftIconExpanded", "disc");
- attributes.setAttribute("topGroupRightIconExpanded",
"chevronUp");
// will be tested in another way
attributes.remove("itemChangeListener");
@@ -89,7 +82,15 @@
* an event representing the activation of a user interface component
*/
public void itemChangeListener(ItemChangeEvent event) {
- attributes.get("activeItem").setValue(event.getNewItem());
+ activeItem = event.getNewItem();
RichBean.logToPage("* item changed: " + event.getOldItem() + "
-> " + event.getNewItem());
}
+
+ public void setActiveItem(Object activeItem) {
+ this.activeItem = activeItem;
+ }
+
+ public Object getActiveItem() {
+ return activeItem;
+ }
}
Modified:
modules/tests/metamer/trunk/application/src/main/resources/org/richfaces/tests/metamer/bean/RichPanelMenuBean.properties
===================================================================
---
modules/tests/metamer/trunk/application/src/main/resources/org/richfaces/tests/metamer/bean/RichPanelMenuBean.properties 2011-01-25
14:33:07 UTC (rev 21208)
+++
modules/tests/metamer/trunk/application/src/main/resources/org/richfaces/tests/metamer/bean/RichPanelMenuBean.properties 2011-01-25
14:34:05 UTC (rev 21209)
@@ -6,183 +6,183 @@
attr.itemMode.ajax=ajax
attr.itemMode.server=server
attr.itemMode.null=
-attr.groupCollapseIconLeft.grid=grid
-attr.groupCollapseIconLeft.disc=disc
-attr.groupCollapseIconLeft.chevronUp=chevronUp
-attr.groupCollapseIconLeft.chevronDown=chevronDown
-attr.groupCollapseIconLeft.triangle=triangle
-attr.groupCollapseIconLeft.triangleUp=triangleUp
-attr.groupCollapseIconLeft.triangleDown=triangleDown
-attr.groupCollapseIconLeft.customURL=/resources/images/loading.gif
-attr.groupCollapseIconLeft.null=
-attr.groupCollapseIconRight.grid=grid
-attr.groupCollapseIconRight.disc=disc
-attr.groupCollapseIconRight.chevronUp=chevronUp
-attr.groupCollapseIconRight.chevronDown=chevronDown
-attr.groupCollapseIconRight.triangle=triangle
-attr.groupCollapseIconRight.triangleUp=triangleUp
-attr.groupCollapseIconRight.triangleDown=triangleDown
-attr.groupCollapseIconRight.customURL=/resources/images/loading.gif
-attr.groupCollapseIconRight.null=
-attr.groupDisableIconLeft.grid=grid
-attr.groupDisableIconLeft.disc=disc
-attr.groupDisableIconLeft.chevronUp=chevronUp
-attr.groupDisableIconLeft.chevronDown=chevronDown
-attr.groupDisableIconLeft.triangle=triangle
-attr.groupDisableIconLeft.triangleUp=triangleUp
-attr.groupDisableIconLeft.triangleDown=triangleDown
-attr.groupDisableIconLeft.customURL=/resources/images/loading.gif
-attr.groupDisableIconLeft.null=
-attr.groupDisableIconRight.grid=grid
-attr.groupDisableIconRight.disc=disc
-attr.groupDisableIconRight.chevronUp=chevronUp
-attr.groupDisableIconRight.chevronDown=chevronDown
-attr.groupDisableIconRight.triangle=triangle
-attr.groupDisableIconRight.triangleUp=triangleUp
-attr.groupDisableIconRight.triangleDown=triangleDown
-attr.groupDisableIconRight.customURL=/resources/images/loading.gif
-attr.groupDisableIconRight.null=
-attr.groupExpandIconLeft.grid=grid
-attr.groupExpandIconLeft.disc=disc
-attr.groupExpandIconLeft.chevronUp=chevronUp
-attr.groupExpandIconLeft.chevronDown=chevronDown
-attr.groupExpandIconLeft.triangle=triangle
-attr.groupExpandIconLeft.triangleUp=triangleUp
-attr.groupExpandIconLeft.triangleDown=triangleDown
-attr.groupExpandIconLeft.customURL=/resources/images/loading.gif
-attr.groupExpandIconLeft.null=
-attr.groupExpandIconRight.grid=grid
-attr.groupExpandIconRight.disc=disc
-attr.groupExpandIconRight.chevronUp=chevronUp
-attr.groupExpandIconRight.chevronDown=chevronDown
-attr.groupExpandIconRight.triangle=triangle
-attr.groupExpandIconRight.triangleUp=triangleUp
-attr.groupExpandIconRight.triangleDown=triangleDown
-attr.groupExpandIconRight.customURL=/resources/images/loading.gif
-attr.groupExpandIconRight.null=
-attr.itemDisableIconLeft.grid=grid
-attr.itemDisableIconLeft.disc=disc
-attr.itemDisableIconLeft.chevronUp=chevronUp
-attr.itemDisableIconLeft.chevronDown=chevronDown
-attr.itemDisableIconLeft.triangle=triangle
-attr.itemDisableIconLeft.triangleUp=triangleUp
-attr.itemDisableIconLeft.triangleDown=triangleDown
-attr.itemDisableIconLeft.customURL=/resources/images/loading.gif
-attr.itemDisableIconLeft.null=
-attr.itemDisableIconRight.grid=grid
-attr.itemDisableIconRight.disc=disc
-attr.itemDisableIconRight.chevronUp=chevronUp
-attr.itemDisableIconRight.chevronDown=chevronDown
-attr.itemDisableIconRight.triangle=triangle
-attr.itemDisableIconRight.triangleUp=triangleUp
-attr.itemDisableIconRight.triangleDown=triangleDown
-attr.itemDisableIconRight.customURL=/resources/images/loading.gif
-attr.itemDisableIconRight.null=
-attr.itemIconLeft.grid=grid
-attr.itemIconLeft.disc=disc
-attr.itemIconLeft.chevronUp=chevronUp
-attr.itemIconLeft.chevronDown=chevronDown
-attr.itemIconLeft.triangle=triangle
-attr.itemIconLeft.triangleUp=triangleUp
-attr.itemIconLeft.triangleDown=triangleDown
-attr.itemIconLeft.customURL=/resources/images/loading.gif
-attr.itemIconLeft.null=
-attr.itemIconRight.grid=grid
-attr.itemIconRight.disc=disc
-attr.itemIconRight.chevronUp=chevronUp
-attr.itemIconRight.chevronDown=chevronDown
-attr.itemIconRight.triangle=triangle
-attr.itemIconRight.triangleUp=triangleUp
-attr.itemIconRight.triangleDown=triangleDown
-attr.itemIconRight.customURL=/resources/images/loading.gif
-attr.itemIconRight.null=
-attr.topGroupCollapseIconLeft.grid=grid
-attr.topGroupCollapseIconLeft.disc=disc
-attr.topGroupCollapseIconLeft.chevronUp=chevronUp
-attr.topGroupCollapseIconLeft.chevronDown=chevronDown
-attr.topGroupCollapseIconLeft.triangle=triangle
-attr.topGroupCollapseIconLeft.triangleUp=triangleUp
-attr.topGroupCollapseIconLeft.triangleDown=triangleDown
-attr.topGroupCollapseIconLeft.customURL=/resources/images/loading.gif
-attr.topGroupCollapseIconLeft.null=
-attr.topGroupCollapseIconRight.grid=grid
-attr.topGroupCollapseIconRight.disc=disc
-attr.topGroupCollapseIconRight.chevronUp=chevronUp
-attr.topGroupCollapseIconRight.chevronDown=chevronDown
-attr.topGroupCollapseIconRight.triangle=triangle
-attr.topGroupCollapseIconRight.triangleUp=triangleUp
-attr.topGroupCollapseIconRight.triangleDown=triangleDown
-attr.topGroupCollapseIconRight.customURL=/resources/images/loading.gif
-attr.topGroupCollapseIconRight.null=
-attr.topGroupDisableIconLeft.grid=grid
-attr.topGroupDisableIconLeft.disc=disc
-attr.topGroupDisableIconLeft.chevronUp=chevronUp
-attr.topGroupDisableIconLeft.chevronDown=chevronDown
-attr.topGroupDisableIconLeft.triangle=triangle
-attr.topGroupDisableIconLeft.triangleUp=triangleUp
-attr.topGroupDisableIconLeft.triangleDown=triangleDown
-attr.topGroupDisableIconLeft.customURL=/resources/images/loading.gif
-attr.topGroupDisableIconLeft.null=
-attr.topGroupDisableIconRight.grid=grid
-attr.topGroupDisableIconRight.disc=disc
-attr.topGroupDisableIconRight.chevronUp=chevronUp
-attr.topGroupDisableIconRight.chevronDown=chevronDown
-attr.topGroupDisableIconRight.triangle=triangle
-attr.topGroupDisableIconRight.triangleUp=triangleUp
-attr.topGroupDisableIconRight.triangleDown=triangleDown
-attr.topGroupDisableIconRight.customURL=/resources/images/loading.gif
-attr.topGroupDisableIconRight.null=
-attr.topGroupExpandIconLeft.grid=grid
-attr.topGroupExpandIconLeft.disc=disc
-attr.topGroupExpandIconLeft.chevronUp=chevronUp
-attr.topGroupExpandIconLeft.chevronDown=chevronDown
-attr.topGroupExpandIconLeft.triangle=triangle
-attr.topGroupExpandIconLeft.triangleUp=triangleUp
-attr.topGroupExpandIconLeft.triangleDown=triangleDown
-attr.topGroupExpandIconLeft.customURL=/resources/images/loading.gif
-attr.topGroupExpandIconLeft.null=
-attr.topGroupExpandIconRight.grid=grid
-attr.topGroupExpandIconRight.disc=disc
-attr.topGroupExpandIconRight.chevronUp=chevronUp
-attr.topGroupExpandIconRight.chevronDown=chevronDown
-attr.topGroupExpandIconRight.triangle=triangle
-attr.topGroupExpandIconRight.triangleUp=triangleUp
-attr.topGroupExpandIconRight.triangleDown=triangleDown
-attr.topGroupExpandIconRight.customURL=/resources/images/loading.gif
-attr.topGroupExpandIconRight.null=
-attr.topItemDisableIconLeft.grid=grid
-attr.topItemDisableIconLeft.disc=disc
-attr.topItemDisableIconLeft.chevronUp=chevronUp
-attr.topItemDisableIconLeft.chevronDown=chevronDown
-attr.topItemDisableIconLeft.triangle=triangle
-attr.topItemDisableIconLeft.triangleUp=triangleUp
-attr.topItemDisableIconLeft.triangleDown=triangleDown
-attr.topItemDisableIconLeft.customURL=/resources/images/loading.gif
-attr.topItemDisableIconLeft.null=
-attr.topItemDisableIconRight.grid=grid
-attr.topItemDisableIconRight.disc=disc
-attr.topItemDisableIconRight.chevronUp=chevronUp
-attr.topItemDisableIconRight.chevronDown=chevronDown
-attr.topItemDisableIconRight.triangle=triangle
-attr.topItemDisableIconRight.triangleUp=triangleUp
-attr.topItemDisableIconRight.triangleDown=triangleDown
-attr.topItemDisableIconRight.customURL=/resources/images/loading.gif
-attr.topItemDisableIconRight.null=
-attr.topItemIconLeft.grid=grid
-attr.topItemIconLeft.disc=disc
-attr.topItemIconLeft.chevronUp=chevronUp
-attr.topItemIconLeft.chevronDown=chevronDown
-attr.topItemIconLeft.triangle=triangle
-attr.topItemIconLeft.triangleUp=triangleUp
-attr.topItemIconLeft.triangleDown=triangleDown
-attr.topItemIconLeft.customURL=/resources/images/loading.gif
-attr.topItemIconLeft.null=
-attr.topItemIconRight.grid=grid
-attr.topItemIconRight.disc=disc
-attr.topItemIconRight.chevronUp=chevronUp
-attr.topItemIconRight.chevronDown=chevronDown
-attr.topItemIconRight.triangle=triangle
-attr.topItemIconRight.triangleUp=triangleUp
-attr.topItemIconRight.triangleDown=triangleDown
-attr.topItemIconRight.customURL=/resources/images/loading.gif
-attr.topItemIconRight.null=
\ No newline at end of file
+attr.groupLeftIconCollapsed.grid=grid
+attr.groupLeftIconCollapsed.disc=disc
+attr.groupLeftIconCollapsed.chevronUp=chevronUp
+attr.groupLeftIconCollapsed.chevronDown=chevronDown
+attr.groupLeftIconCollapsed.triangle=triangle
+attr.groupLeftIconCollapsed.triangleUp=triangleUp
+attr.groupLeftIconCollapsed.triangleDown=triangleDown
+attr.groupLeftIconCollapsed.customURL=/resources/images/loading.gif
+attr.groupLeftIconCollapsed.null=
+attr.groupRightIconCollapsed.grid=grid
+attr.groupRightIconCollapsed.disc=disc
+attr.groupRightIconCollapsed.chevronUp=chevronUp
+attr.groupRightIconCollapsed.chevronDown=chevronDown
+attr.groupRightIconCollapsed.triangle=triangle
+attr.groupRightIconCollapsed.triangleUp=triangleUp
+attr.groupRightIconCollapsed.triangleDown=triangleDown
+attr.groupRightIconCollapsed.customURL=/resources/images/loading.gif
+attr.groupRightIconCollapsed.null=
+attr.groupLeftIconDisabled.grid=grid
+attr.groupLeftIconDisabled.disc=disc
+attr.groupLeftIconDisabled.chevronUp=chevronUp
+attr.groupLeftIconDisabled.chevronDown=chevronDown
+attr.groupLeftIconDisabled.triangle=triangle
+attr.groupLeftIconDisabled.triangleUp=triangleUp
+attr.groupLeftIconDisabled.triangleDown=triangleDown
+attr.groupLeftIconDisabled.customURL=/resources/images/loading.gif
+attr.groupLeftIconDisabled.null=
+attr.groupRightIconDisabled.grid=grid
+attr.groupRightIconDisabled.disc=disc
+attr.groupRightIconDisabled.chevronUp=chevronUp
+attr.groupRightIconDisabled.chevronDown=chevronDown
+attr.groupRightIconDisabled.triangle=triangle
+attr.groupRightIconDisabled.triangleUp=triangleUp
+attr.groupRightIconDisabled.triangleDown=triangleDown
+attr.groupRightIconDisabled.customURL=/resources/images/loading.gif
+attr.groupRightIconDisabled.null=
+attr.groupLeftIconExpanded.grid=grid
+attr.groupLeftIconExpanded.disc=disc
+attr.groupLeftIconExpanded.chevronUp=chevronUp
+attr.groupLeftIconExpanded.chevronDown=chevronDown
+attr.groupLeftIconExpanded.triangle=triangle
+attr.groupLeftIconExpanded.triangleUp=triangleUp
+attr.groupLeftIconExpanded.triangleDown=triangleDown
+attr.groupLeftIconExpanded.customURL=/resources/images/loading.gif
+attr.groupLeftIconExpanded.null=
+attr.groupRightIconExpanded.grid=grid
+attr.groupRightIconExpanded.disc=disc
+attr.groupRightIconExpanded.chevronUp=chevronUp
+attr.groupRightIconExpanded.chevronDown=chevronDown
+attr.groupRightIconExpanded.triangle=triangle
+attr.groupRightIconExpanded.triangleUp=triangleUp
+attr.groupRightIconExpanded.triangleDown=triangleDown
+attr.groupRightIconExpanded.customURL=/resources/images/loading.gif
+attr.groupRightIconExpanded.null=
+attr.itemLeftIconDisabled.grid=grid
+attr.itemLeftIconDisabled.disc=disc
+attr.itemLeftIconDisabled.chevronUp=chevronUp
+attr.itemLeftIconDisabled.chevronDown=chevronDown
+attr.itemLeftIconDisabled.triangle=triangle
+attr.itemLeftIconDisabled.triangleUp=triangleUp
+attr.itemLeftIconDisabled.triangleDown=triangleDown
+attr.itemLeftIconDisabled.customURL=/resources/images/loading.gif
+attr.itemLeftIconDisabled.null=
+attr.itemRightIconDisabled.grid=grid
+attr.itemRightIconDisabled.disc=disc
+attr.itemRightIconDisabled.chevronUp=chevronUp
+attr.itemRightIconDisabled.chevronDown=chevronDown
+attr.itemRightIconDisabled.triangle=triangle
+attr.itemRightIconDisabled.triangleUp=triangleUp
+attr.itemRightIconDisabled.triangleDown=triangleDown
+attr.itemRightIconDisabled.customURL=/resources/images/loading.gif
+attr.itemRightIconDisabled.null=
+attr.itemLeftIcon.grid=grid
+attr.itemLeftIcon.disc=disc
+attr.itemLeftIcon.chevronUp=chevronUp
+attr.itemLeftIcon.chevronDown=chevronDown
+attr.itemLeftIcon.triangle=triangle
+attr.itemLeftIcon.triangleUp=triangleUp
+attr.itemLeftIcon.triangleDown=triangleDown
+attr.itemLeftIcon.customURL=/resources/images/loading.gif
+attr.itemLeftIcon.null=
+attr.itemRightIcon.grid=grid
+attr.itemRightIcon.disc=disc
+attr.itemRightIcon.chevronUp=chevronUp
+attr.itemRightIcon.chevronDown=chevronDown
+attr.itemRightIcon.triangle=triangle
+attr.itemRightIcon.triangleUp=triangleUp
+attr.itemRightIcon.triangleDown=triangleDown
+attr.itemRightIcon.customURL=/resources/images/loading.gif
+attr.itemRightIcon.null=
+attr.topGroupLeftIconCollapsed.grid=grid
+attr.topGroupLeftIconCollapsed.disc=disc
+attr.topGroupLeftIconCollapsed.chevronUp=chevronUp
+attr.topGroupLeftIconCollapsed.chevronDown=chevronDown
+attr.topGroupLeftIconCollapsed.triangle=triangle
+attr.topGroupLeftIconCollapsed.triangleUp=triangleUp
+attr.topGroupLeftIconCollapsed.triangleDown=triangleDown
+attr.topGroupLeftIconCollapsed.customURL=/resources/images/loading.gif
+attr.topGroupLeftIconCollapsed.null=
+attr.topGroupRightIconCollapsed.grid=grid
+attr.topGroupRightIconCollapsed.disc=disc
+attr.topGroupRightIconCollapsed.chevronUp=chevronUp
+attr.topGroupRightIconCollapsed.chevronDown=chevronDown
+attr.topGroupRightIconCollapsed.triangle=triangle
+attr.topGroupRightIconCollapsed.triangleUp=triangleUp
+attr.topGroupRightIconCollapsed.triangleDown=triangleDown
+attr.topGroupRightIconCollapsed.customURL=/resources/images/loading.gif
+attr.topGroupRightIconCollapsed.null=
+attr.topGroupLeftIconDisabled.grid=grid
+attr.topGroupLeftIconDisabled.disc=disc
+attr.topGroupLeftIconDisabled.chevronUp=chevronUp
+attr.topGroupLeftIconDisabled.chevronDown=chevronDown
+attr.topGroupLeftIconDisabled.triangle=triangle
+attr.topGroupLeftIconDisabled.triangleUp=triangleUp
+attr.topGroupLeftIconDisabled.triangleDown=triangleDown
+attr.topGroupLeftIconDisabled.customURL=/resources/images/loading.gif
+attr.topGroupLeftIconDisabled.null=
+attr.topGroupRightIconDisabled.grid=grid
+attr.topGroupRightIconDisabled.disc=disc
+attr.topGroupRightIconDisabled.chevronUp=chevronUp
+attr.topGroupRightIconDisabled.chevronDown=chevronDown
+attr.topGroupRightIconDisabled.triangle=triangle
+attr.topGroupRightIconDisabled.triangleUp=triangleUp
+attr.topGroupRightIconDisabled.triangleDown=triangleDown
+attr.topGroupRightIconDisabled.customURL=/resources/images/loading.gif
+attr.topGroupRightIconDisabled.null=
+attr.topGroupLeftIconExpanded.grid=grid
+attr.topGroupLeftIconExpanded.disc=disc
+attr.topGroupLeftIconExpanded.chevronUp=chevronUp
+attr.topGroupLeftIconExpanded.chevronDown=chevronDown
+attr.topGroupLeftIconExpanded.triangle=triangle
+attr.topGroupLeftIconExpanded.triangleUp=triangleUp
+attr.topGroupLeftIconExpanded.triangleDown=triangleDown
+attr.topGroupLeftIconExpanded.customURL=/resources/images/loading.gif
+attr.topGroupLeftIconExpanded.null=
+attr.topGroupRightIconExpanded.grid=grid
+attr.topGroupRightIconExpanded.disc=disc
+attr.topGroupRightIconExpanded.chevronUp=chevronUp
+attr.topGroupRightIconExpanded.chevronDown=chevronDown
+attr.topGroupRightIconExpanded.triangle=triangle
+attr.topGroupRightIconExpanded.triangleUp=triangleUp
+attr.topGroupRightIconExpanded.triangleDown=triangleDown
+attr.topGroupRightIconExpanded.customURL=/resources/images/loading.gif
+attr.topGroupRightIconExpanded.null=
+attr.topItemLeftIconDisabled.grid=grid
+attr.topItemLeftIconDisabled.disc=disc
+attr.topItemLeftIconDisabled.chevronUp=chevronUp
+attr.topItemLeftIconDisabled.chevronDown=chevronDown
+attr.topItemLeftIconDisabled.triangle=triangle
+attr.topItemLeftIconDisabled.triangleUp=triangleUp
+attr.topItemLeftIconDisabled.triangleDown=triangleDown
+attr.topItemLeftIconDisabled.customURL=/resources/images/loading.gif
+attr.topItemLeftIconDisabled.null=
+attr.topItemRightIconDisabled.grid=grid
+attr.topItemRightIconDisabled.disc=disc
+attr.topItemRightIconDisabled.chevronUp=chevronUp
+attr.topItemRightIconDisabled.chevronDown=chevronDown
+attr.topItemRightIconDisabled.triangle=triangle
+attr.topItemRightIconDisabled.triangleUp=triangleUp
+attr.topItemRightIconDisabled.triangleDown=triangleDown
+attr.topItemRightIconDisabled.customURL=/resources/images/loading.gif
+attr.topItemRightIconDisabled.null=
+attr.topItemLeftIcon.grid=grid
+attr.topItemLeftIcon.disc=disc
+attr.topItemLeftIcon.chevronUp=chevronUp
+attr.topItemLeftIcon.chevronDown=chevronDown
+attr.topItemLeftIcon.triangle=triangle
+attr.topItemLeftIcon.triangleUp=triangleUp
+attr.topItemLeftIcon.triangleDown=triangleDown
+attr.topItemLeftIcon.customURL=/resources/images/loading.gif
+attr.topItemLeftIcon.null=
+attr.topItemRightIcon.grid=grid
+attr.topItemRightIcon.disc=disc
+attr.topItemRightIcon.chevronUp=chevronUp
+attr.topItemRightIcon.chevronDown=chevronDown
+attr.topItemRightIcon.triangle=triangle
+attr.topItemRightIcon.triangleUp=triangleUp
+attr.topItemRightIcon.triangleDown=triangleDown
+attr.topItemRightIcon.customURL=/resources/images/loading.gif
+attr.topItemRightIcon.null=
\ No newline at end of file
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/components/richPanelMenu/simple.xhtml
===================================================================
---
modules/tests/metamer/trunk/application/src/main/webapp/components/richPanelMenu/simple.xhtml 2011-01-25
14:33:07 UTC (rev 21208)
+++
modules/tests/metamer/trunk/application/src/main/webapp/components/richPanelMenu/simple.xhtml 2011-01-25
14:34:05 UTC (rev 21209)
@@ -44,8 +44,8 @@
action="#{richBean.dummyAction}"
actionListener="#{richBean.dummyActionListener}"
itemChangeListener="#{richPanelMenuBean.itemChangeListener}"
+ activeItem="#{richPanelMenuBean.activeItem}"
-
activeItem="#{richPanelMenuBean.attributes['activeItem'].value}"
bubbleSelection="#{richPanelMenuBean.attributes['bubbleSelection'].value}"
bypassUpdates="#{richPanelMenuBean.attributes['bypassUpdates'].value}"
collapseEvent="#{richPanelMenuBean.attributes['collapseEvent'].value}"
@@ -107,6 +107,8 @@
<rich:panelMenuItem id="item13" name="item13"
label="Item 1.3"/>
</rich:panelMenuGroup>
+ <rich:panelMenuItem id="item1" name="item1"
label="Item 1"/>
+
<rich:panelMenuGroup id="group2" name="group2"
label="Group 2">
<rich:panelMenuItem id="item21" name="item21"
label="Item 2.1"/>
<rich:panelMenuItem id="item22" name="item22"
label="Item 2.2"/>
@@ -126,6 +128,8 @@
<rich:panelMenuItem id="item263"
name="item263" label="Item 2.6.3"/>
</rich:panelMenuGroup>
</rich:panelMenuGroup>
+
+ <rich:panelMenuItem id="item2" name="item2"
label="Item 2" disabled="true" />
<rich:panelMenuGroup id="group3" name="group3"
label="Group 3">
<rich:panelMenuItem id="item31" name="item31"
label="Item 3.1"/>
@@ -138,6 +142,10 @@
<rich:panelMenuItem id="item42" name="item42"
label="Item 4.2"/>
<rich:panelMenuItem id="item43" name="item43"
label="Item 4.3"/>
</rich:panelMenuGroup>
+
+ <rich:panelMenuItem id="item3" name="item3"
label="Item 3" />
+ <rich:panelMenuItem id="item4" name="item4"
label="Item 4" disabled="true" />
+ <rich:panelMenuItem id="item5" name="item5"
label="Item 5" />
</rich:panelMenu>
@@ -147,7 +155,7 @@
<legend>selected item</legend>
<a4j:outputPanel id="selectedPanel"
ajaxRendered="true">
- <h:outputText id="current"
value="#{richPanelMenuBean.attributes['activeItem'].value}" />
+ <h:outputText id="current"
value="#{richPanelMenuBean.activeItem}" />
</a4j:outputPanel>
</fieldset>