Author: Alex.Kolonitsky
Date: 2011-01-21 05:07:25 -0500 (Fri, 21 Jan 2011)
New Revision: 21139
Modified:
trunk/ui/output/ui/src/main/java/org/richfaces/component/behavior/ToggleControl.java
Log:
RF-9945 Taglib: toggleControl has no attributes
Modified:
trunk/ui/output/ui/src/main/java/org/richfaces/component/behavior/ToggleControl.java
===================================================================
---
trunk/ui/output/ui/src/main/java/org/richfaces/component/behavior/ToggleControl.java 2011-01-21
06:17:17 UTC (rev 21138)
+++
trunk/ui/output/ui/src/main/java/org/richfaces/component/behavior/ToggleControl.java 2011-01-21
10:07:25 UTC (rev 21139)
@@ -29,10 +29,7 @@
import javax.faces.context.FacesContext;
import org.ajax4jsf.component.behavior.ClientBehavior;
-import org.richfaces.cdk.annotations.JsfBehavior;
-import org.richfaces.cdk.annotations.JsfBehaviorRenderer;
-import org.richfaces.cdk.annotations.Tag;
-import org.richfaces.cdk.annotations.TagType;
+import org.richfaces.cdk.annotations.*;
import org.richfaces.component.AbstractTogglePanel;
import org.richfaces.renderkit.util.RendererUtils;
@@ -59,6 +56,7 @@
disableDefault
}
+ @Attribute
public String getEvent() {
return (String) getStateHelper().eval(PropertyKeys.event);
}
@@ -67,6 +65,7 @@
getStateHelper().eval(PropertyKeys.event, eventName);
}
+ @Attribute
public String getTargetItem() {
return (String) getStateHelper().eval(PropertyKeys.targetItem,
AbstractTogglePanel.META_NAME_NEXT);
}
@@ -75,6 +74,7 @@
getStateHelper().put(PropertyKeys.targetItem, target);
}
+ @Attribute
public String getTargetPanel() {
return (String) getStateHelper().eval(PropertyKeys.targetPanel);
}
@@ -83,6 +83,7 @@
getStateHelper().put(PropertyKeys.targetPanel, selector);
}
+ @Attribute
public void setDisableDefault(Boolean disableDefault) {
getStateHelper().put(PropertyKeys.disableDefault, disableDefault);
}
Show replies by date