Author: ppitonak(a)redhat.com
Date: 2010-11-22 08:26:33 -0500 (Mon, 22 Nov 2010)
New Revision: 20131
Modified:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/Attributes.java
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichInplaceSelectBean.java
Log:
https://jira.jboss.org/browse/RF-9037
* default values for for inplace select added
Modified:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/Attributes.java
===================================================================
---
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/Attributes.java 2010-11-22
13:13:02 UTC (rev 20130)
+++
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/Attributes.java 2010-11-22
13:26:33 UTC (rev 20131)
@@ -71,12 +71,12 @@
private static final long serialVersionUID = -1L;
private static Logger logger = LoggerFactory.getLogger(Attributes.class);
- private static Map<Class<?>, List<Attribute>> richfacesAttributes;
+ private Map<Class<?>, List<Attribute>> richfacesAttributes;
// K - name of a component attribute, V - value of the component attribute
private Map<String, Attribute> attributes;
// class object of managed bean
private Class<?> beanClass;
-
+
/**
* Constructor for class Attributes.
*
Modified:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichInplaceSelectBean.java
===================================================================
---
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichInplaceSelectBean.java 2010-11-22
13:13:02 UTC (rev 20130)
+++
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichInplaceSelectBean.java 2010-11-22
13:26:33 UTC (rev 20131)
@@ -72,7 +72,11 @@
attributes.setAttribute("defaultLabel", "Click here to
edit");
attributes.setAttribute("editEvent", "click");
+ attributes.setAttribute("listHeight", "200px");
+ attributes.setAttribute("listWidth", "200px");
+ attributes.setAttribute("openOnEdit", true);
attributes.setAttribute("rendered", true);
+ attributes.setAttribute("saveOnSelect", true);
// TODO has to be tested in another way
attributes.remove("converter");