Author: amarkhel
Date: 2010-12-14 10:16:23 -0500 (Tue, 14 Dec 2010)
New Revision: 20557
Modified:
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractToolbar.java
trunk/ui/output/ui/src/main/resources/META-INF/pn.taglib.xml
trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/toolbar.ecss
Log:
https://issues.jboss.org/browse/RF-9970 Toolbar: attribute width doesn't work .
Also empty handler-class tags in pn.taglib.xml deleted (for myfaces compabilities)
Modified: trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractToolbar.java
===================================================================
---
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractToolbar.java 2010-12-14
14:12:16 UTC (rev 20556)
+++
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractToolbar.java 2010-12-14
15:16:23 UTC (rev 20557)
@@ -43,7 +43,7 @@
@Attribute
public abstract String getHeight();
- @Attribute
+ @Attribute(defaultValue = "100%")
public abstract String getWidth();
@Attribute
Modified: trunk/ui/output/ui/src/main/resources/META-INF/pn.taglib.xml
===================================================================
--- trunk/ui/output/ui/src/main/resources/META-INF/pn.taglib.xml 2010-12-14 14:12:16 UTC
(rev 20556)
+++ trunk/ui/output/ui/src/main/resources/META-INF/pn.taglib.xml 2010-12-14 15:16:23 UTC
(rev 20557)
@@ -186,7 +186,6 @@
<component>
<component-type>org.richfaces.AccordionItem</component-type>
<renderer-type>org.richfaces.AccordionItem</renderer-type>
- <handler-class/>
</component>
<attribute>
<name>disabled</name>
@@ -463,7 +462,6 @@
<component>
<component-type>org.richfaces.PanelMenuItem</component-type>
<renderer-type>org.richfaces.PanelMenuItem</renderer-type>
- <handler-class/>
</component>
<attribute>
<description>MethodExpression representing the application action to invoke when
this component is activated by the user. The expression must evaluate to a public method
that takes no parameters, and returns an Object (the toString() of which is called to
derive the logical outcome) which is passed to the NavigationHandler for this
application.</description>
@@ -619,7 +617,6 @@
<component>
<component-type>org.richfaces.PanelMenuGroup</component-type>
<renderer-type>org.richfaces.PanelMenuGroup</renderer-type>
- <handler-class/>
</component>
<attribute>
<description>MethodExpression representing the application action to invoke when
this component is activated by the user. The expression must evaluate to a public method
that takes no parameters, and returns an Object (the toString() of which is called to
derive the logical outcome) which is passed to the NavigationHandler for this
application.</description>
@@ -1014,7 +1011,6 @@
<component>
<component-type>org.richfaces.Tooltip</component-type>
<renderer-type>org.richfaces.Tooltip</renderer-type>
- <handler-class/>
</component>
<attribute>
<name>for_</name>
@@ -1505,7 +1501,6 @@
<component>
<component-type>org.richfaces.TogglePanelItem</component-type>
<renderer-type>org.richfaces.TogglePanelItem</renderer-type>
- <handler-class/>
</component>
<attribute>
<name>name</name>
@@ -1743,7 +1738,6 @@
<component>
<component-type>org.richfaces.AccordionItem</component-type>
<renderer-type>org.richfaces.AccordionItem</renderer-type>
- <handler-class/>
</component>
<attribute>
<name>disabled</name>
Modified:
trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/toolbar.ecss
===================================================================
---
trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/toolbar.ecss 2010-12-14
14:12:16 UTC (rev 20556)
+++
trunk/ui/output/ui/src/main/resources/META-INF/resources/org.richfaces/toolbar.ecss 2010-12-14
15:16:23 UTC (rev 20557)
@@ -11,7 +11,6 @@
background-repeat:repeat-x;
/*check gradient from headerGradientColor to headerBackgroundColor*/
background-image:url("#{resource['org.richfaces.renderkit.html.GradientA']}");
- width:100%;
}
.rf-tb-itm {