Author: ppitonak(a)redhat.com
Date: 2010-11-15 12:04:19 -0500 (Mon, 15 Nov 2010)
New Revision: 20051
Added:
modules/tests/metamer/trunk/application/src/main/resources/org/richfaces/tests/metamer/bean/RichAccordionItemBean.properties
Modified:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichAccordionItemBean.java
modules/tests/metamer/trunk/application/src/main/webapp/components/richAccordionItem/simple.xhtml
Log:
https://jira.jboss.org/browse/RFPL-753
* accordion item sample fixed
Modified:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichAccordionItemBean.java
===================================================================
---
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichAccordionItemBean.java 2010-11-15
16:53:41 UTC (rev 20050)
+++
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichAccordionItemBean.java 2010-11-15
17:04:19 UTC (rev 20051)
@@ -54,12 +54,11 @@
logger = LoggerFactory.getLogger(getClass());
logger.debug("initializing bean " + getClass().getName());
- attributes = Attributes.getUIComponentAttributes(HtmlAccordionItem.class,
getClass());
+ attributes = Attributes.getUIComponentAttributes(HtmlAccordionItem.class,
getClass(), false);
attributes.setAttribute("header", "Item 1");
attributes.setAttribute("name", "item1");
attributes.setAttribute("rendered", true);
-
}
public Attributes getAttributes() {
Added:
modules/tests/metamer/trunk/application/src/main/resources/org/richfaces/tests/metamer/bean/RichAccordionItemBean.properties
===================================================================
---
modules/tests/metamer/trunk/application/src/main/resources/org/richfaces/tests/metamer/bean/RichAccordionItemBean.properties
(rev 0)
+++
modules/tests/metamer/trunk/application/src/main/resources/org/richfaces/tests/metamer/bean/RichAccordionItemBean.properties 2010-11-15
17:04:19 UTC (rev 20051)
@@ -0,0 +1,8 @@
+attr.dir.ltr=ltr
+attr.dir.rtl=rtl
+attr.dir.null=
+attr.switchType.client=client
+attr.switchType.server=server
+attr.switchType.ajax=ajax
+attr.switchType.null=
+
Modified:
modules/tests/metamer/trunk/application/src/main/webapp/components/richAccordionItem/simple.xhtml
===================================================================
---
modules/tests/metamer/trunk/application/src/main/webapp/components/richAccordionItem/simple.xhtml 2010-11-15
16:53:41 UTC (rev 20050)
+++
modules/tests/metamer/trunk/application/src/main/webapp/components/richAccordionItem/simple.xhtml 2010-11-15
17:04:19 UTC (rev 20051)
@@ -42,9 +42,7 @@
<ui:define name="component">
<rich:accordion id="accordion" activeItem="item3">
<rich:accordionItem id="item1"
-
active="#{richAccordionItemBean.attributes['active'].value}"
contentClass="#{richAccordionItemBean.attributes['contentClass'].value}"
-
converter="#{richAccordionItemBean.attributes['converter'].value}"
dir="#{richAccordionItemBean.attributes['dir'].value}"
disabled="#{richAccordionItemBean.attributes['disabled'].value}"
header="#{richAccordionItemBean.attributes['header'].value}"
@@ -54,7 +52,6 @@
headerClassInactive="#{richAccordionItemBean.attributes['headerClassInactive'].value}"
headerStyle="#{richAccordionItemBean.attributes['headerStyle'].value}"
lang="#{richAccordionItemBean.attributes['lang'].value}"
-
localValue="#{richAccordionItemBean.attributes['localValue'].value}"
name="#{richAccordionItemBean.attributes['name'].value}"
onclick="#{richAccordionItemBean.attributes['onclick'].value}"
ondblclick="#{richAccordionItemBean.attributes['ondblclick'].value}"
@@ -75,7 +72,7 @@
styleClass="#{richAccordionItemBean.attributes['styleClass'].value}"
switchType="#{richAccordionItemBean.attributes['switchType'].value}"
title="#{richAccordionItemBean.attributes['title'].value}"
-
value="#{richAccordionItemBean.attributes['value'].value}">
+ >
content of item 1
</rich:accordionItem>
<rich:accordionItem id="item2" name="item2"
header="Item 2">