Author: Alex.Kolonitsky
Date: 2011-01-21 09:30:04 -0500 (Fri, 21 Jan 2011)
New Revision: 21152
Modified:
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractAccordion.java
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractCollapsiblePanel.java
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractTabPanel.java
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractTogglePanel.java
Log:
RF-10261 Taglib: panels are missing attributes
Modified: trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractAccordion.java
===================================================================
---
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractAccordion.java 2011-01-21
13:58:26 UTC (rev 21151)
+++
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractAccordion.java 2011-01-21
14:30:04 UTC (rev 21152)
@@ -47,6 +47,7 @@
}
@Override
+ @Attribute
public String getActiveItem() {
String res = super.getActiveItem();
if (res == null) {
Modified:
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractCollapsiblePanel.java
===================================================================
---
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractCollapsiblePanel.java 2011-01-21
13:58:26 UTC (rev 21151)
+++
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractCollapsiblePanel.java 2011-01-21
14:30:04 UTC (rev 21152)
@@ -84,7 +84,7 @@
return isExpanded();
}
-
+ @Attribute
public boolean isExpanded() {
return Boolean.parseBoolean(getActiveItem());
}
Modified: trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractTabPanel.java
===================================================================
---
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractTabPanel.java 2011-01-21
13:58:26 UTC (rev 21151)
+++
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractTabPanel.java 2011-01-21
14:30:04 UTC (rev 21152)
@@ -49,6 +49,7 @@
}
@Override
+ @Attribute(generate = false)
public String getActiveItem() {
String res = super.getActiveItem();
if (res == null) {
Modified:
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractTogglePanel.java
===================================================================
---
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractTogglePanel.java 2011-01-21
13:58:26 UTC (rev 21151)
+++
trunk/ui/output/ui/src/main/java/org/richfaces/component/AbstractTogglePanel.java 2011-01-21
14:30:04 UTC (rev 21152)
@@ -132,6 +132,7 @@
getStateHelper().put(PropertyKeys.required, required);
}
+ @Attribute
public boolean isImmediate() {
return (Boolean) getStateHelper().eval(PropertyKeys.immediate, false);
}
@@ -574,6 +575,7 @@
setLocalValueSet(true);
}
+ @Attribute
public String getActiveItem() {
return (String) getValue();
}
Show replies by date