JBoss Rich Faces SVN: r14653 - in branches/community/3.3.X/ui/progressBAR/src/main: resources/org/richfaces/renderkit/html/js and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: konstantin.mishin
Date: 2009-06-17 13:02:20 -0400 (Wed, 17 Jun 2009)
New Revision: 14653
Modified:
branches/community/3.3.X/ui/progressBAR/src/main/java/org/richfaces/renderkit/AbstractProgressBarRenderer.java
branches/community/3.3.X/ui/progressBAR/src/main/resources/org/richfaces/renderkit/html/js/progressBar.js
Log:
RF-7386
Modified: branches/community/3.3.X/ui/progressBAR/src/main/java/org/richfaces/renderkit/AbstractProgressBarRenderer.java
===================================================================
--- branches/community/3.3.X/ui/progressBAR/src/main/java/org/richfaces/renderkit/AbstractProgressBarRenderer.java 2009-06-17 15:04:53 UTC (rev 14652)
+++ branches/community/3.3.X/ui/progressBAR/src/main/java/org/richfaces/renderkit/AbstractProgressBarRenderer.java 2009-06-17 17:02:20 UTC (rev 14653)
@@ -30,6 +30,7 @@
import java.io.IOException;
import java.io.PrintWriter;
import java.math.BigDecimal;
+import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.Set;
@@ -53,6 +54,7 @@
import org.ajax4jsf.renderkit.AjaxRendererUtils;
import org.ajax4jsf.renderkit.ComponentVariables;
import org.ajax4jsf.renderkit.ComponentsVariableResolver;
+import org.ajax4jsf.renderkit.RendererUtils;
import org.ajax4jsf.renderkit.RendererUtils.HTML;
import org.ajax4jsf.resource.CountingOutputWriter;
import org.apache.commons.logging.Log;
@@ -259,50 +261,29 @@
ComponentVariables variables = ComponentsVariableResolver.getVariables(
this, component);
StringBuffer script = new StringBuffer();
+ Map<String, Object> options = new HashMap<String, Object>();
+ RendererUtils utils = getUtils();
+
String clientId = component.getClientId(context);
String containerId = ((UIComponent) AjaxRendererUtils
.findAjaxContainer(context, component)).getClientId(context);
- String mode = (String) component.getAttributes().get("mode");
- UIComponent form = AjaxRendererUtils.getNestingForm(component);
- String formId = "";
- if (form != null) {
- formId = form.getClientId(context);
- } else if ("ajax".equals(mode)) {
- // Ignore form absent. It can be rendered by forcing from any
- // component
- // throw new FaceletException("Progress bar component in ajax mode
- // should be placed inside the form");
- }
- Number minValue = getNumber(component.getAttributes().get("minValue"));
- Number maxValue = getNumber(component.getAttributes().get("maxValue"));
- Number value = (Number) variables.getVariable("value");
+
+ utils.addToScriptHash(options, "mode", component.getAttributes().get("mode"), "ajax");
+ utils.addToScriptHash(options, "minValue", component.getAttributes().get("minValue"), "0");
+ utils.addToScriptHash(options, "maxValue", component.getAttributes().get("maxValue"), "100");
+ utils.addToScriptHash(options, "context", getContext(component));
StringBuffer markup = getMarkup(context, component);
+ utils.addToScriptHash(options, "markup", markup != null ? new JSLiteral(markup.toString()) : null);
+ utils.addToScriptHash(options, "options", buildAjaxOptions(clientId, progressBar, context));
+ utils.addToScriptHash(options, "progressVar", component.getAttributes().get("progressVar"));
+ utils.addToScriptHash(options, "state", state, "initialState");
+ utils.addToScriptHash(options, "value", variables.getVariable("value"));
script.append("new ProgressBar('").append(clientId).append("','") // id
- .append(containerId).append("','") // containerId
- .append(formId).append("','") // formId
- .append(mode).append("',") // mode
- .append(minValue).append(",") // min value
- .append(maxValue).append(","); // max value
- script.append(getContext(component)); // context
- script.append(",");
- script.append(markup != null ? new JSLiteral(markup.toString())
- : JSReference.NULL); // markup
- script.append(",");
- script.append(ScriptUtils.toScript(buildAjaxOptions(clientId, // options
- progressBar, context)));
- String progressVar = (String) component.getAttributes().get(
- "progressVar");
- if (progressVar != null) {
- script.append(",'");
- script.append(progressVar); // progress var
- script.append("','");
- } else {
- script.append(",null,'");
- }
- script.append(state);
- script.append("',");
- script.append(value.toString());
+ .append(containerId).append("'"); // containerId
+ if (!options.isEmpty()) {
+ script.append(",").append(ScriptUtils.toScript(options));
+ }
script.append(")\n;");
writer.write(script.toString());
}
@@ -602,8 +583,6 @@
if (parameters != null) {
buffer.append("{").append(parameters).append("}");
literal = new JSLiteral(buffer.toString());
- } else {
- literal = new JSLiteral("null");
}
return literal;
}
Modified: branches/community/3.3.X/ui/progressBAR/src/main/resources/org/richfaces/renderkit/html/js/progressBar.js
===================================================================
--- branches/community/3.3.X/ui/progressBAR/src/main/resources/org/richfaces/renderkit/html/js/progressBar.js 2009-06-17 15:04:53 UTC (rev 14652)
+++ branches/community/3.3.X/ui/progressBAR/src/main/resources/org/richfaces/renderkit/html/js/progressBar.js 2009-06-17 17:02:20 UTC (rev 14653)
@@ -1,26 +1,20 @@
ProgressBar = {};
ProgressBar = Class.create();
Object.extend(ProgressBar.prototype, {
- initialize: function(id, containerId, formId, mode, minValue, maxValue, context, markup, options, progressVar, state, value) {
+
+ //default values of options
+ mode: "ajax",
+ minValue: 0,
+ maxValue: 100,
+ options : {},
+ state : "initialState",
+
+ initialize: function(id, containerId, options) {
this.id = id;
-
- this.containerId = containerId;
- if (formId != '') {
- this.formId = formId;
- }else {
- var f = this.getForm();
- this.formId = (f) ? f.id : null;
- }
- this.mode = mode;
- this.state = state;
- this.minValue = minValue;
- this.maxValue = maxValue;
- this.value = value;
+ Object.extend(this, options);
+ var f = this.getForm();
+ this.formId = (f) ? f.id : null;
this.disabled = false;
-
- this.context = context;
- this.markup = markup;
- this.options = options || {};
this.onbeforedomupdate = this.options.onbeforedomupdate;
@@ -29,7 +23,6 @@
this.onComplete(data);
}.bind(this);
- this.progressVar = progressVar;
$(this.id).component = this;
},
15 years, 6 months
JBoss Rich Faces SVN: r14652 - branches/community/3.3.X/ui/tooltip/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: ochikvina
Date: 2009-06-17 11:04:53 -0400 (Wed, 17 Jun 2009)
New Revision: 14652
Modified:
branches/community/3.3.X/ui/tooltip/src/main/config/component/toolTip.xml
Log:
https://jira.jboss.org/jira/browse/RF-6233 - unification of style attributes descriptions;
Modified: branches/community/3.3.X/ui/tooltip/src/main/config/component/toolTip.xml
===================================================================
--- branches/community/3.3.X/ui/tooltip/src/main/config/component/toolTip.xml 2009-06-17 15:03:58 UTC (rev 14651)
+++ branches/community/3.3.X/ui/tooltip/src/main/config/component/toolTip.xml 2009-06-17 15:04:53 UTC (rev 14652)
@@ -150,13 +150,13 @@
<property>
<name>style</name>
<classname>java.lang.String</classname>
- <description>CSS style(s) is/are to be applied when this component is rendered</description>
+ <description>Holds a fragment of a style sheet that applies to the component</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
<property>
<name>styleClass</name>
<classname>java.lang.String</classname>
- <description>Corresponds to the HTML class attribute</description>
+ <description>Assigns one or more space-separated CSS class names to the component. Corresponds to the HTML "class" attribute.</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
15 years, 6 months
JBoss Rich Faces SVN: r14651 - branches/community/3.3.X/ui/toolBar/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: ochikvina
Date: 2009-06-17 11:03:58 -0400 (Wed, 17 Jun 2009)
New Revision: 14651
Modified:
branches/community/3.3.X/ui/toolBar/src/main/config/component/toolBar.xml
Log:
https://jira.jboss.org/jira/browse/RF-6233 - unification of style attributes descriptions;
Modified: branches/community/3.3.X/ui/toolBar/src/main/config/component/toolBar.xml
===================================================================
--- branches/community/3.3.X/ui/toolBar/src/main/config/component/toolBar.xml 2009-06-17 15:03:06 UTC (rev 14650)
+++ branches/community/3.3.X/ui/toolBar/src/main/config/component/toolBar.xml 2009-06-17 15:03:58 UTC (rev 14651)
@@ -72,22 +72,21 @@
<name>separatorClass</name>
<classname>java.lang.String</classname>
<description>
- <![CDATA[A CSS class to be applied to tool bar separators.]]>
+ <![CDATA[Assigns one or more space-separated CSS class names to the tool bar separators]]>
</description>
</property>
<property>
<name>contentClass</name>
<classname>java.lang.String</classname>
<description>
- <![CDATA[A CSS style is to be applied to each element of tool bar content.
- Use this style, for example, to setup parameters of the font.]]>
+ <![CDATA[Assigns one or more space-separated CSS class names to the tool bar content]]>
</description>
</property>
<property>
<name>contentStyle</name>
<classname>java.lang.String</classname>
<description>
- <![CDATA[A CSS style is to be applied to each element of tool bar content.]]>
+ <![CDATA[Holds a fragment of a style sheet that applies to the tool bar content]]>
</description>
</property>
@@ -192,7 +191,7 @@
<name>separatorClass</name>
<classname>java.lang.String</classname>
<description>
- <![CDATA[A CSS class to be applied to tool bar group separators.]]>
+ <![CDATA[Assigns one or more space-separated CSS class names to the tool bar group separators]]>
</description>
</property>
<property>
15 years, 6 months
JBoss Rich Faces SVN: r14650 - branches/community/3.3.X/ui/togglePanel/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: ochikvina
Date: 2009-06-17 11:03:06 -0400 (Wed, 17 Jun 2009)
New Revision: 14650
Modified:
branches/community/3.3.X/ui/togglePanel/src/main/config/component/togglePanel.xml
Log:
https://jira.jboss.org/jira/browse/RF-6233 - unification of style attributes descriptions;
Modified: branches/community/3.3.X/ui/togglePanel/src/main/config/component/togglePanel.xml
===================================================================
--- branches/community/3.3.X/ui/togglePanel/src/main/config/component/togglePanel.xml 2009-06-17 15:02:13 UTC (rev 14649)
+++ branches/community/3.3.X/ui/togglePanel/src/main/config/component/togglePanel.xml 2009-06-17 15:03:06 UTC (rev 14650)
@@ -215,8 +215,7 @@
<name>style</name>
<classname>java.lang.String</classname>
<description>
- CSS style(s) to be applied when this component is
- rendered
+ Holds a fragment of a style sheet that applies to the component
</description>
<defaultvalue>""</defaultvalue>
</property>
@@ -224,10 +223,7 @@
<name>styleClass</name>
<classname>java.lang.String</classname>
<description>
- Space-separated list of CSS style class(es) to be
- applied when this element is rendered. This value must
- be passed through as the "class" attribute on generated
- markup
+ Assigns one or more space-separated CSS class names to the component. Corresponds to the HTML "class" attribute.
</description>
<defaultvalue>""</defaultvalue>
</property>
15 years, 6 months
JBoss Rich Faces SVN: r14649 - branches/community/3.3.X/ui/tabPanel/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: ochikvina
Date: 2009-06-17 11:02:13 -0400 (Wed, 17 Jun 2009)
New Revision: 14649
Modified:
branches/community/3.3.X/ui/tabPanel/src/main/config/component/tabPanel.xml
Log:
https://jira.jboss.org/jira/browse/RF-6233 - unification of style attributes descriptions;
Modified: branches/community/3.3.X/ui/tabPanel/src/main/config/component/tabPanel.xml
===================================================================
--- branches/community/3.3.X/ui/tabPanel/src/main/config/component/tabPanel.xml 2009-06-17 15:01:48 UTC (rev 14648)
+++ branches/community/3.3.X/ui/tabPanel/src/main/config/component/tabPanel.xml 2009-06-17 15:02:13 UTC (rev 14649)
@@ -60,7 +60,7 @@
<property>
<name>tabClass</name>
<classname>java.lang.String</classname>
- <description>A CSS class to be applied to all tabs</description>
+ <description>Assigns one or more space-separated CSS class names to the component tabs</description>
</property>
<property exist="true" existintag="true">
<name>selectedTab</name>
@@ -70,27 +70,27 @@
<property>
<name>activeTabClass</name>
<classname>java.lang.String</classname>
- <description>A CSS class to be applied to an active tab</description>
+ <description>Assigns one or more space-separated CSS class names to the component active tab</description>
</property>
<property>
<name>inactiveTabClass</name>
<classname>java.lang.String</classname>
- <description>CSS class to be applied to an inactive (but not disabled) tab</description>
+ <description>Assigns one or more space-separated CSS class names to the component inactive (but not disabled) tabs</description>
</property>
<property>
<name>disabledTabClass</name>
<classname>java.lang.String</classname>
- <description>A CSS class to be applied to a disabled tab</description>
+ <description>Assigns one or more space-separated CSS class names to the component disabled tab</description>
</property>
<property>
<name>contentStyle</name>
<classname>java.lang.String</classname>
- <description>A CSS style is for the content of a tab panel</description>
+ <description>Assigns one or more space-separated CSS class names to the panel content</description>
</property>
<property>
<name>contentClass</name>
<classname>java.lang.String</classname>
- <description>A CSS class for content of a tab panel</description>
+ <description>Holds a fragment of a style sheet that applies to the panel content</description>
</property>
<property>
<name>headerAlignment</name>
@@ -110,7 +110,7 @@
<property>
<name>headerClass</name>
<classname>java.lang.String</classname>
- <description>A CSS style is for the header of a tab panel.
+ <description>Assigns one or more space-separated CSS class names to the panel header
</description>
</property>
<property hidden="true">
15 years, 6 months
JBoss Rich Faces SVN: r14648 - branches/community/3.3.X/ui/message/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: smukhina
Date: 2009-06-17 11:01:48 -0400 (Wed, 17 Jun 2009)
New Revision: 14648
Modified:
branches/community/3.3.X/ui/message/src/main/config/component/message.xml
Log:
https://jira.jboss.org/jira/browse/RF-7312 Message and messages: The attribute level behavior description is updated
Modified: branches/community/3.3.X/ui/message/src/main/config/component/message.xml
===================================================================
--- branches/community/3.3.X/ui/message/src/main/config/component/message.xml 2009-06-17 15:01:02 UTC (rev 14647)
+++ branches/community/3.3.X/ui/message/src/main/config/component/message.xml 2009-06-17 15:01:48 UTC (rev 14648)
@@ -57,7 +57,7 @@
<name>level</name>
<classname>java.lang.String</classname>
<description>
- A comma-separated list of messages categories which should be displayed. Default value is "ALL".
+ Defines a comma-separated list of messages categories to display. Default value is "ALL".
</description>
</property>
@@ -65,7 +65,7 @@
<name>minLevel</name>
<classname>java.lang.String</classname>
<description>
- A minimum level of messages categories which should be displayed.
+ Defines a minimum level of messages categories to display.
</description>
</property>
@@ -348,7 +348,7 @@
<name>level</name>
<classname>java.lang.String</classname>
<description>
- A comma-separated list of messages categories which should be displayed. Default value is "ALL".
+ Defines a comma-separated list of messages categories to display. Default value is "ALL".
</description>
</property>
@@ -356,7 +356,7 @@
<name>minLevel</name>
<classname>java.lang.String</classname>
<description>
- A minimum level of messages categories which should be displayed.
+ Defines a minimum level of messages categories to display.
</description>
</property>
15 years, 6 months
JBoss Rich Faces SVN: r14647 - branches/community/3.3.X/ui/progressBAR/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: ochikvina
Date: 2009-06-17 11:01:02 -0400 (Wed, 17 Jun 2009)
New Revision: 14647
Modified:
branches/community/3.3.X/ui/progressBAR/src/main/config/component/progressBar.xml
Log:
https://jira.jboss.org/jira/browse/RF-6233 - unification of style attributes descriptions;
Modified: branches/community/3.3.X/ui/progressBAR/src/main/config/component/progressBar.xml
===================================================================
--- branches/community/3.3.X/ui/progressBAR/src/main/config/component/progressBar.xml 2009-06-17 14:58:44 UTC (rev 14646)
+++ branches/community/3.3.X/ui/progressBAR/src/main/config/component/progressBar.xml 2009-06-17 15:01:02 UTC (rev 14647)
@@ -89,27 +89,27 @@
<property>
<name>styleClass</name>
<classname>java.lang.String</classname>
- <description>CSS class that defines style for progress bar</description>
+ <description>Assigns one or more space-separated CSS class names to the component. Corresponds to the HTML "class" attribute.</description>
</property>
<property>
<name>completeClass</name>
<classname>java.lang.String</classname>
- <description>CSS class that defines style for progress line rendering</description>
+ <description>Assigns one or more space-separated CSS class names to the component progress line rendering</description>
</property>
<property>
<name>remainClass</name>
<classname>java.lang.String</classname>
- <description>CSS class that defines style for remained part of progress bar</description>
+ <description>Assigns one or more space-separated CSS class names to the remained part of the progress bar</description>
</property>
<property>
<name>initialClass</name>
<classname>java.lang.String</classname>
- <description>CSS class that defines style for initial state of the component</description>
+ <description>Assigns one or more space-separated CSS class names to the progress bar initial state</description>
</property>
<property>
<name>finishClass</name>
<classname>java.lang.String</classname>
- <description>CSS class that defines style for complete state of the component</description>
+ <description>Assigns one or more space-separated CSS class names to the progress bar complete state</description>
</property>
<property>
<name>reRenderAfterComplete</name>
15 years, 6 months
JBoss Rich Faces SVN: r14646 - branches/community/3.3.X/ui/simpleTogglePanel/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: ochikvina
Date: 2009-06-17 10:58:44 -0400 (Wed, 17 Jun 2009)
New Revision: 14646
Modified:
branches/community/3.3.X/ui/simpleTogglePanel/src/main/config/component/simpleTogglePanel.xml
Log:
https://jira.jboss.org/jira/browse/RF-6233 - unification of style attributes descriptions;
Modified: branches/community/3.3.X/ui/simpleTogglePanel/src/main/config/component/simpleTogglePanel.xml
===================================================================
--- branches/community/3.3.X/ui/simpleTogglePanel/src/main/config/component/simpleTogglePanel.xml 2009-06-17 14:57:05 UTC (rev 14645)
+++ branches/community/3.3.X/ui/simpleTogglePanel/src/main/config/component/simpleTogglePanel.xml 2009-06-17 14:58:44 UTC (rev 14646)
@@ -73,7 +73,7 @@
<name>headerClass</name>
<classname>java.lang.String</classname>
<description>
- Class that defines the style for panel header
+ Assigns one or more space-separated CSS class names to the panel header
</description>
</property>
@@ -81,7 +81,7 @@
<name>bodyClass</name>
<classname>java.lang.String</classname>
<description>
- A class that defines a style for a panel content
+ Assigns one or more space-separated CSS class names to the panel content
</description>
</property>
15 years, 6 months
JBoss Rich Faces SVN: r14645 - branches/community/3.3.X/ui/panelmenu/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: ochikvina
Date: 2009-06-17 10:57:05 -0400 (Wed, 17 Jun 2009)
New Revision: 14645
Modified:
branches/community/3.3.X/ui/panelmenu/src/main/config/component/panelMenu.xml
Log:
https://jira.jboss.org/jira/browse/RF-6233 - unification of style attributes descriptions;
Modified: branches/community/3.3.X/ui/panelmenu/src/main/config/component/panelMenu.xml
===================================================================
--- branches/community/3.3.X/ui/panelmenu/src/main/config/component/panelMenu.xml 2009-06-17 14:55:44 UTC (rev 14644)
+++ branches/community/3.3.X/ui/panelmenu/src/main/config/component/panelMenu.xml 2009-06-17 14:57:05 UTC (rev 14645)
@@ -179,44 +179,44 @@
<property>
<name>style</name>
<classname>java.lang.String</classname>
- <description>The CSS style for the panel menu.</description>
+ <description>Holds a fragment of a style sheet that applies to the component</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
<property>
<name>styleClass</name>
<classname>java.lang.String</classname>
- <description>The CSS class for the panel menu.</description>
+ <description>Assigns one or more space-separated CSS class names to the component. Corresponds to the HTML "class" attribute.</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
<property>
<name>groupStyle</name>
<classname>java.lang.String</classname>
- <description>CSS style(s) is/are to be applied to group when this component is rendered</description>
+ <description>Holds a fragment of a style sheet that applies to any component group except top groups</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
<property>
<name>groupClass</name>
<classname>java.lang.String</classname>
- <description>Space-separated list of CSS style class(es) that are be applied to group of this component</description>
+ <description>Assigns one or more space-separated CSS class names to any component group except top groups</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
<property>
<name>topGroupStyle</name>
<classname>java.lang.String</classname>
- <description> CSS style(s) is/are to be applied to top group when this component is rendered</description>
+ <description>Holds a fragment of a style sheet that applies to the component top groups</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
<property>
<name>topGroupClass</name>
<classname>java.lang.String</classname>
- <description> Space-separated list of CSS style class(es) that are be applied to top group of this component</description>
+ <description>Assigns one or more space-separated CSS class names to the component top groups</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
<property>
<name>itemStyle</name>
<classname>java.lang.String</classname>
<description>
- CSS style(s) is/are to be applied to item when this component is rendered.
+ Holds a fragment of a style sheet that applies to the component item except top items
</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
@@ -224,27 +224,27 @@
<name>itemClass</name>
<classname>java.lang.String</classname>
<description>
- Space-separated list of CSS style class(es) that are be applied to item of this component
+ Assigns one or more space-separated CSS class names to any component item except top items
</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
<property>
<name>topItemStyle</name>
<classname>java.lang.String</classname>
- <description>CSS style(s) is/are to be applied to top item when this component is rendered</description>
+ <description>Holds a fragment of a style sheet that applies to the component top items</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
<property>
<name>topItemClass</name>
<classname>java.lang.String</classname>
- <description>Space-separated list of CSS style class(es) that are be applied to top item of this component</description>
+ <description>Assigns one or more space-separated CSS class names to the component top items</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
<property>
<name>disabledItemClass</name>
<classname>java.lang.String</classname>
<description>
- Space-separated list of CSS style class(es) that are be applied to disabled item of this component
+ Assigns one or more space-separated CSS class names to the component disabled items
</description>
<defaultvalue><![CDATA["rich-pmenu-disabled-element"]]></defaultvalue>
</property>
@@ -252,44 +252,44 @@
<name>disabledItemStyle</name>
<classname>java.lang.String</classname>
<description>
- CSS style(s) is/are to be applied to disabled item when this component is rendered.
+ Holds a fragment of a style sheet that applies to the component disabled items
</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
<property>
<name>disabledGroupClass</name>
<classname>java.lang.String</classname>
- <description>Space-separated list of CSS style class(es) that are be applied to disabled group of this component</description>
+ <description>Assigns one or more space-separated CSS class names to the component disabled groups</description>
<defaultvalue><![CDATA["rich-pmenu-disabled-element"]]></defaultvalue>
</property>
<property>
<name>disabledGroupStyle</name>
<classname>java.lang.String</classname>
- <description>CSS style(s) is/are to be applied to disabled group when this component is rendered</description>
+ <description>Holds a fragment of a style sheet that applies to the component disabled groups</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
<property>
<name>hoveredItemClass</name>
<classname>java.lang.String</classname>
- <description> Space-separated list of CSS style class(es) that are be applied to hovered item of this component</description>
+ <description>Assigns one or more space-separated CSS class names to the component hovered item</description>
<defaultvalue><![CDATA["rich-pmenu-hovered-element"]]></defaultvalue>
</property>
<property>
<name>hoveredItemStyle</name>
<classname>java.lang.String</classname>
- <description> CSS style(s) is/are to be applied to hovered item when this component is rendered</description>
+ <description>Holds a fragment of a style sheet that applies to the component hovered item</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
<property>
<name>hoveredGroupStyle</name>
<classname>java.lang.String</classname>
- <description> CSS style(s) is/are to be applied to hovered group when this component is rendered</description>
+ <description>Holds a fragment of a style sheet that applies to the component hovered group</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
<property>
<name>hoveredGroupClass</name>
<classname>java.lang.String</classname>
- <description> Space-separated list of CSS style class(es) that are be applied to hovered group of this component</description>
+ <description>Assigns one or more space-separated CSS class names to the component hovered group</description>
<defaultvalue><![CDATA["rich-pmenu-hovered-element"]]></defaultvalue>
</property>
<property>
@@ -484,49 +484,49 @@
<property>
<name>hoverClass</name>
<classname>java.lang.String</classname>
- <description>Class to be applied to hovered items.</description>
+ <description>Assigns one or more space-separated CSS class names to the group hovered item</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
<property>
<name>hoverStyle</name>
<classname>java.lang.String</classname>
- <description>CSS style rules to be applied to hovered items.</description>
+ <description>Holds a fragment of a style sheet that applies to the group hovered item</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
<property>
<name>disabledClass</name>
<classname>java.lang.String</classname>
- <description>Class to be applied to disabled items.</description>
+ <description>Assigns one or more space-separated CSS class names to the group disabled items</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
<property>
<name>disabledStyle</name>
<classname>java.lang.String</classname>
- <description>CSS style rules to be applied to disabled items.</description>
+ <description>Holds a fragment of a style sheet that applies to the group disabled items</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
<property>
<name>styleClass</name>
<classname>java.lang.String</classname>
- <description>Corresponds to the HTML class attribute.</description>
+ <description>Assigns one or more space-separated CSS class names to the component. Corresponds to the HTML "class" attribute.</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
<property>
<name>style</name>
<classname>java.lang.String</classname>
- <description>CSS style(s) to be applied when this component is rendered.</description>
+ <description>Holds a fragment of a style sheet that applies to the component</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
<property>
<name>iconClass</name>
<classname>java.lang.String</classname>
- <description>Class to be applied to icon element.</description>
+ <description>Assigns one or more space-separated CSS class names to the group icon element</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
<property>
<name>iconStyle</name>
<classname>java.lang.String</classname>
- <description>CSS style rules to be applied</description>
+ <description>Holds a fragment of a style sheet that applies to the group icon element</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
<property>
@@ -617,49 +617,49 @@
<property>
<name>hoverClass</name>
<classname>java.lang.String</classname>
- <description>Class to be applied to hovered items.</description>
+ <description>Assigns one or more space-separated CSS class names to the hovered item</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
<property>
<name>hoverStyle</name>
<classname>java.lang.String</classname>
- <description>CSS style rules to be applied to hovered items.</description>
+ <description>Holds a fragment of a style sheet that applies to the hovered item</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
<property>
<name>disabledClass</name>
<classname>java.lang.String</classname>
- <description>Class to be applied to disabled items.</description>
+ <description>Assigns one or more space-separated CSS class names to the disabled item</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
<property>
<name>disabledStyle</name>
<classname>java.lang.String</classname>
- <description>CSS style rules to be applied to disabled items.</description>
+ <description>Holds a fragment of a style sheet that applies to the disabled item</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
<property>
<name>styleClass</name>
<classname>java.lang.String</classname>
- <description>Corresponds to the HTML class attribute.</description>
+ <description>Assigns one or more space-separated CSS class names to the component. Corresponds to the HTML "class" attribute.</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
<property>
<name>style</name>
<classname>java.lang.String</classname>
- <description>CSS style(s) to be applied when this component is rendered.</description>
+ <description>Holds a fragment of a style sheet that applies to the component</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
<property>
<name>iconClass</name>
<classname>java.lang.String</classname>
- <description>Class to be applied to icon element.</description>
+ <description>Assigns one or more space-separated CSS class names to the item icon element</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
<property>
<name>iconStyle</name>
<classname>java.lang.String</classname>
- <description>CSS style rules to be applied</description>
+ <description>Holds a fragment of a style sheet that applies to the item icon element</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
&ui_component_attributes;
15 years, 6 months
JBoss Rich Faces SVN: r14644 - branches/community/3.3.X/ui/panelbar/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: ochikvina
Date: 2009-06-17 10:55:44 -0400 (Wed, 17 Jun 2009)
New Revision: 14644
Modified:
branches/community/3.3.X/ui/panelbar/src/main/config/component/panelbar.xml
Log:
https://jira.jboss.org/jira/browse/RF-6233 - unification of style attributes descriptions;
Modified: branches/community/3.3.X/ui/panelbar/src/main/config/component/panelbar.xml
===================================================================
--- branches/community/3.3.X/ui/panelbar/src/main/config/component/panelbar.xml 2009-06-17 14:54:44 UTC (rev 14643)
+++ branches/community/3.3.X/ui/panelbar/src/main/config/component/panelbar.xml 2009-06-17 14:55:44 UTC (rev 14644)
@@ -46,24 +46,24 @@
<property>
<name>style</name>
<classname>java.lang.String</classname>
- <description>CSS style(s) is/are to be applied when this component is rendered</description>
+ <description>Holds a fragment of a style sheet that applies to the component</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
<property>
<name>styleClass</name>
<classname>java.lang.String</classname>
- <description>Corresponds to the HTML class attribute.</description>
+ <description>Assigns one or more space-separated CSS class names to the component. Corresponds to the HTML "class" attribute.</description>
</property>
<property>
<name>headerStyleActive</name>
<classname>java.lang.String</classname>
- <description>The component header style active</description>
+ <description>Holds a fragment of a style sheet that applies to the header of the active component item</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
<property>
<name>headerClassActive</name>
<classname>java.lang.String</classname>
- <description>The component header style class active</description>
+ <description>Assigns one or more space-separated CSS class names to the header of the active component item</description>
</property>
<property>
<name>value</name>
@@ -194,13 +194,13 @@
<property>
<name>headerStyleActive</name>
<classname>java.lang.String</classname>
- <description>The component header style active</description>
+ <description>Holds a fragment of a style sheet that applies to the header of the active item</description>
<defaultvalue><![CDATA[""]]></defaultvalue>
</property>
<property>
<name>headerClassActive</name>
<classname>java.lang.String</classname>
- <description>The component header style class active</description>
+ <description>Assigns one or more space-separated CSS class names to the header of the active item</description>
</property>
<property>
<name>name</name>
15 years, 6 months