Author: amarkhel
Date: 2010-12-21 09:15:13 -0500 (Tue, 21 Dec 2010)
New Revision: 20721
Modified:
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractPanel.java
Log:
https://issues.jboss.org/browse/RF-9942 Taglib: panel has not attributes
Modified: trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractPanel.java
===================================================================
--- trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractPanel.java 2010-12-21
13:31:53 UTC (rev 20720)
+++ trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractPanel.java 2010-12-21
14:15:13 UTC (rev 20721)
@@ -27,7 +27,7 @@
import org.richfaces.cdk.annotations.JsfRenderer;
import org.richfaces.cdk.annotations.Tag;
import org.richfaces.cdk.annotations.TagType;
-
+import org.richfaces.cdk.annotations.Attribute;
/**
* JSF component class
*
@@ -38,8 +38,17 @@
)
public abstract class AbstractPanel extends UIComponentBase {
- private static final String COMPONENT_FAMILY = "org.richfaces.Panel";
+ private static final String COMPONENT_FAMILY = "org.richfaces.Panel";
+ @Attribute
+ public abstract String getHeader();
+
+ @Attribute
+ public abstract String getHeaderClass();
+
+ @Attribute
+ public abstract String getBodyClass();
+
public boolean getRendersChildren() {
return true;
}