Author: Alex.Kolonitsky
Date: 2010-12-15 08:59:15 -0500 (Wed, 15 Dec 2010)
New Revision: 20580
Modified:
trunk/ui/output/ui/src/main/resources/META-INF/pn.faces-config.xml
trunk/ui/output/ui/src/main/resources/META-INF/pn.taglib.xml
Log:
RF-9945: Taglib: toggleControl has no attributes
Modified: trunk/ui/output/ui/src/main/resources/META-INF/pn.faces-config.xml
===================================================================
--- trunk/ui/output/ui/src/main/resources/META-INF/pn.faces-config.xml 2010-12-15 13:32:31
UTC (rev 20579)
+++ trunk/ui/output/ui/src/main/resources/META-INF/pn.faces-config.xml 2010-12-15 13:59:15
UTC (rev 20580)
@@ -8,6 +8,26 @@
<behavior>
<behavior-id>org.richfaces.component.behavior.ToggleControl</behavior-id>
<behavior-class>org.richfaces.component.behavior.ToggleControl</behavior-class>
+ <property>
+ <property-name>targetPanel</property-name>
+ <property-class>java.lang.String</property-class>
+ </property>
+ <property>
+ <property-name>targetItem</property-name>
+ <property-class>java.lang.String</property-class>
+ </property>
+ <property>
+ <property-name>event</property-name>
+ <property-class>java.lang.String</property-class>
+ </property>
+ <property>
+ <property-name>disableDefault</property-name>
+ <property-class>java.lang.Boolean</property-class>
+ </property>
+ <property>
+ <property-name>for</property-name>
+ <property-class>java.lang.String</property-class>
+ </property>
</behavior>
<component>
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-15 13:32:31 UTC
(rev 20579)
+++ trunk/ui/output/ui/src/main/resources/META-INF/pn.taglib.xml 2010-12-15 13:59:15 UTC
(rev 20580)
@@ -3,6 +3,33 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-facelettaglibrary_2_0.xsd">
<
namespace>http://richfaces.org/pn</namespace>
<tag>
+ <tag-name>toggleControl</tag-name>
+ <behavior>
+
<behavior-id>org.richfaces.component.behavior.ToggleControl</behavior-id>
+
<handler-class>org.richfaces.view.facelets.html.CustomBehaviorHandler</handler-class>
+ </behavior>
+ <attribute>
+ <name>targetPanel</name>
+ <type>java.lang.String</type>
+ </attribute>
+ <attribute>
+ <name>targetItem</name>
+ <type>java.lang.String</type>
+ </attribute>
+ <attribute>
+ <name>event</name>
+ <type>java.lang.String</type>
+ </attribute>
+ <attribute>
+ <name>disableDefault</name>
+ <type>java.lang.Boolean</type>
+ </attribute>
+ <attribute>
+ <name>for</name>
+ <type>java.lang.String</type>
+ </attribute>
+ </tag>
+ <tag>
<tag-name>tabPanel</tag-name>
<component>
<component-type>org.richfaces.TabPanel</component-type>