[jboss-cvs] jboss-seam/src/ui/META-INF ...
Gavin King
gavin.king at jboss.com
Mon Oct 2 14:20:36 EDT 2006
User: gavin
Date: 06/10/02 14:20:36
Modified: src/ui/META-INF faces-config.xml seam.taglib.xml
taglib.tld
Log:
make stuff work in JSP
add s:div
Revision Changes Path
1.15 +192 -17 jboss-seam/src/ui/META-INF/faces-config.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: faces-config.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/ui/META-INF/faces-config.xml,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- faces-config.xml 2 Oct 2006 01:28:00 -0000 1.14
+++ faces-config.xml 2 Oct 2006 18:20:36 -0000 1.15
@@ -6,6 +6,20 @@
<faces-config>
<component>
+ <component-type>org.jboss.seam.ui.UIValidateAll</component-type>
+ <component-class>org.jboss.seam.ui.UIValidateAll</component-class>
+ </component>
+
+ <component>
+ <component-type>org.jboss.seam.ui.UIDecorate</component-type>
+ <component-class>org.jboss.seam.ui.UIDecorate</component-class>
+ <property>
+ <property-name>for</property-name>
+ <property-class>java.lang.String</property-class>
+ </property>
+ </component>
+
+ <component>
<component-type>org.jboss.seam.ui.UICache</component-type>
<component-class>org.jboss.seam.ui.UICache</component-class>
<property>
@@ -102,25 +116,120 @@
<property-name>buttonClass</property-name>
<property-class>java.lang.String</property-class>
</property>
- </component>
-
- <component>
- <component-type>org.jboss.seam.ui.UIValidateAll</component-type>
- <component-class>org.jboss.seam.ui.UIValidateAll</component-class>
- </component>
- <component>
- <component-type>org.jboss.seam.ui.UIDecorate</component-type>
- <component-class>org.jboss.seam.ui.UIDecorate</component-class>
<property>
- <property-name>for</property-name>
+ <property-name>accesskey</property-name>
+ <property-class>java.lang.String</property-class>
+ </property>
+ <property>
+ <property-name>charset</property-name>
+ <property-class>java.lang.String</property-class>
+ </property>
+ <property>
+ <property-name>coords</property-name>
+ <property-class>java.lang.String</property-class>
+ </property>
+ <property>
+ <property-name>dir</property-name>
+ <property-class>java.lang.String</property-class>
+ </property>
+ <property>
+ <property-name>hreflang</property-name>
+ <property-class>java.lang.String</property-class>
+ </property>
+ <property>
+ <property-name>lang</property-name>
+ <property-class>java.lang.String</property-class>
+ </property>
+ <property>
+ <property-name>onblur</property-name>
+ <property-class>java.lang.String</property-class>
+ </property>
+ <property>
+ <property-name>onclick</property-name>
+ <property-class>java.lang.String</property-class>
+ </property>
+ <property>
+ <property-name>ondblclick</property-name>
+ <property-class>java.lang.String</property-class>
+ </property>
+ <property>
+ <property-name>onfocus</property-name>
+ <property-class>java.lang.String</property-class>
+ </property>
+ <property>
+ <property-name>onkeydown</property-name>
+ <property-class>java.lang.String</property-class>
+ </property>
+ <property>
+ <property-name>onkeypress</property-name>
+ <property-class>java.lang.String</property-class>
+ </property>
+ <property>
+ <property-name>onkeyup</property-name>
+ <property-class>java.lang.String</property-class>
+ </property>
+ <property>
+ <property-name>onmousedown</property-name>
+ <property-class>java.lang.String</property-class>
+ </property>
+ <property>
+ <property-name>onmousemove</property-name>
+ <property-class>java.lang.String</property-class>
+ </property>
+ <property>
+ <property-name>onmouseout</property-name>
+ <property-class>java.lang.String</property-class>
+ </property>
+ <property>
+ <property-name>onmouseover</property-name>
+ <property-class>java.lang.String</property-class>
+ </property>
+ <property>
+ <property-name>onmouseup</property-name>
+ <property-class>java.lang.String</property-class>
+ </property>
+ <property>
+ <property-name>rel</property-name>
+ <property-class>java.lang.String</property-class>
+ </property>
+ <property>
+ <property-name>rev</property-name>
+ <property-class>java.lang.String</property-class>
+ </property>
+ <property>
+ <property-name>shape</property-name>
+ <property-class>java.lang.String</property-class>
+ </property>
+ <property>
+ <property-name>style</property-name>
+ <property-class>java.lang.String</property-class>
+ </property>
+ <property>
+ <property-name>styleClass</property-name>
+ <property-class>java.lang.String</property-class>
+ </property>
+ <property>
+ <property-name>tabindex</property-name>
+ <property-class>java.lang.String</property-class>
+ </property>
+ <property>
+ <property-name>target</property-name>
+ <property-class>java.lang.String</property-class>
+ </property>
+ <property>
+ <property-name>title</property-name>
+ <property-class>java.lang.String</property-class>
+ </property>
+ <property>
+ <property-name>type</property-name>
<property-class>java.lang.String</property-class>
</property>
</component>
<component>
- <component-type>org.jboss.seam.ui.UIMessageDecoration</component-type>
- <component-class>org.jboss.seam.ui.UIMessageDecoration</component-class>
+ <component-type>org.jboss.seam.ui.HtmlMessageDecoration</component-type>
+ <component-class>org.jboss.seam.ui.HtmlMessageDecoration</component-class>
<property>
<property-name>showSummary</property-name>
<property-class>java.lang.Boolean</property-class>
@@ -129,15 +238,81 @@
<property-name>showDetail</property-name>
<property-class>java.lang.Boolean</property-class>
</property>
+ <property>
+ <property-name>errorClass</property-name>
+ <property-class>java.lang.String</property-class>
+ </property>
+ <property>
+ <property-name>errorStyle</property-name>
+ <property-class>java.lang.String</property-class>
+ </property>
+ <property>
+ <property-name>fatalClass</property-name>
+ <property-class>java.lang.String</property-class>
+ </property>
+ <property>
+ <property-name>fatalStyle</property-name>
+ <property-class>java.lang.String</property-class>
+ </property>
+ <property>
+ <property-name>infoClass</property-name>
+ <property-class>java.lang.String</property-class>
+ </property>
+ <property>
+ <property-name>infoStyle</property-name>
+ <property-class>java.lang.String</property-class>
+ </property>
+ <property>
+ <property-name>style</property-name>
+ <property-class>java.lang.String</property-class>
+ </property>
+ <property>
+ <property-name>styleClass</property-name>
+ <property-class>java.lang.String</property-class>
+ </property>
+ <property>
+ <property-name>title</property-name>
+ <property-class>java.lang.String</property-class>
+ </property>
+ <property>
+ <property-name>tooltip</property-name>
+ <property-class>boolean</property-class>
+ <default-value>false</default-value>
+ </property>
+ <property>
+ <property-name>warnClass</property-name>
+ <property-class>java.lang.String</property-class>
+ </property>
+ <property>
+ <property-name>warnStyle</property-name>
+ <property-class>java.lang.String</property-class>
+ </property>
</component>
<component>
- <component-type>org.jboss.seam.ui.UIStyleDecoration</component-type>
- <component-class>org.jboss.seam.ui.UIStyleDecoration</component-class>
+ <component-type>org.jboss.seam.ui.HtmlSpan</component-type>
+ <component-class>org.jboss.seam.ui.HtmlSpan</component-class>
<property>
<property-name>styleClass</property-name>
<property-class>java.lang.String</property-class>
</property>
+ <property>
+ <property-name>style</property-name>
+ <property-class>java.lang.String</property-class>
+ </property>
+ </component>
+
+ <component>
+ <component-type>org.jboss.seam.ui.HtmlDiv</component-type>
+ <component-class>org.jboss.seam.ui.HtmlDiv</component-class>
+ <property>
+ <property-name>styleClass</property-name>
+ <property-class>java.lang.String</property-class>
+ </property>
+ <property>
+ <property-name>style</property-name>
+ <property-class>java.lang.String</property-class>
+ </property>
</component>
<validator>
1.13 +27 -20 jboss-seam/src/ui/META-INF/seam.taglib.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: seam.taglib.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/ui/META-INF/seam.taglib.xml,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- seam.taglib.xml 2 Oct 2006 01:28:00 -0000 1.12
+++ seam.taglib.xml 2 Oct 2006 18:20:36 -0000 1.13
@@ -7,6 +7,27 @@
<namespace>http://jboss.com/products/seam/taglib</namespace>
<tag>
+ <tag-name>cache</tag-name>
+ <component>
+ <component-type>org.jboss.seam.ui.UICache</component-type>
+ </component>
+ </tag>
+
+ <tag>
+ <tag-name>validateAll</tag-name>
+ <component>
+ <component-type>org.jboss.seam.ui.UIValidateAll</component-type>
+ </component>
+ </tag>
+
+ <tag>
+ <tag-name>decorate</tag-name>
+ <component>
+ <component-type>org.jboss.seam.ui.UIDecorate</component-type>
+ </component>
+ </tag>
+
+ <tag>
<tag-name>action</tag-name>
<component>
<component-type>org.jboss.seam.ui.UIAction</component-type>
@@ -49,30 +70,23 @@
</tag>
<tag>
- <tag-name>validateAll</tag-name>
- <component>
- <component-type>org.jboss.seam.ui.UIValidateAll</component-type>
- </component>
- </tag>
-
- <tag>
- <tag-name>decorate</tag-name>
+ <tag-name>message</tag-name>
<component>
- <component-type>org.jboss.seam.ui.UIDecorate</component-type>
+ <component-type>org.jboss.seam.ui.HtmlMessageDecoration</component-type>
</component>
</tag>
<tag>
- <tag-name>message</tag-name>
+ <tag-name>span</tag-name>
<component>
- <component-type>org.jboss.seam.ui.UIMessageDecoration</component-type>
+ <component-type>org.jboss.seam.ui.HtmlSpan</component-type>
</component>
</tag>
<tag>
- <tag-name>span</tag-name>
+ <tag-name>div</tag-name>
<component>
- <component-type>org.jboss.seam.ui.UIStyleDecoration</component-type>
+ <component-type>org.jboss.seam.ui.HtmlDiv</component-type>
</component>
</tag>
@@ -83,11 +97,4 @@
</validator>
</tag>
- <tag>
- <tag-name>cache</tag-name>
- <component>
- <component-type>org.jboss.seam.ui.UICache</component-type>
- </component>
- </tag>
-
</facelet-taglib>
\ No newline at end of file
1.15 +779 -454 jboss-seam/src/ui/META-INF/taglib.tld
(In the diff below, changes in quantity of whitespace are not shown.)
Index: taglib.tld
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/ui/META-INF/taglib.tld,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- taglib.tld 30 Sep 2006 00:11:03 -0000 1.14
+++ taglib.tld 2 Oct 2006 18:20:36 -0000 1.15
@@ -9,6 +9,18 @@
<uri>http://jboss.com/products/seam/taglib</uri>
<tag>
+ <name>decorate</name>
+ <tag-class>org.jboss.seam.ui.tag.DecorateTag</tag-class>
+ <body-content>JSP</body-content>
+
+ <attribute>
+ <name>for</name>
+ <required>false</required>
+ <rtexprvalue>false</rtexprvalue>
+ </attribute>
+ </tag>
+
+ <tag>
<name>validate</name>
<tag-class>org.jboss.seam.ui.tag.ValidateTag</tag-class>
<body-content>empty</body-content>
@@ -45,6 +57,98 @@
</tag>
<tag>
+ <name>span</name>
+ <tag-class>org.jboss.seam.ui.tag.SpanTag</tag-class>
+ <body-content>JSP</body-content>
+
+ <attribute>
+ <name>style</name>
+ <required>false</required>
+ <rtexprvalue>false</rtexprvalue>
+ </attribute>
+ <attribute>
+ <name>styleClass</name>
+ <required>false</required>
+ <rtexprvalue>false</rtexprvalue>
+ </attribute>
+
+ <!-- UIComponent attributes -->
+ <attribute>
+ <name>id</name>
+ <required>false</required>
+ <rtexprvalue>false</rtexprvalue>
+ <type>java.lang.String</type>
+ <description>
+ Every component may have an unique id. Automatically
+ created if omitted.
+ </description>
+ </attribute>
+ <attribute>
+ <name>rendered</name>
+ <required>false</required>
+ <rtexprvalue>false</rtexprvalue>
+ <type>java.lang.String</type>
+ <description>
+ If false, this component will not be rendered.
+ </description>
+ </attribute>
+ <attribute>
+ <name>binding</name>
+ <required>false</required>
+ <rtexprvalue>false</rtexprvalue>
+ <type>java.lang.String</type>
+ <description>Component binding.</description>
+ </attribute>
+
+ </tag>
+
+ <tag>
+ <name>div</name>
+ <tag-class>org.jboss.seam.ui.tag.DivTag</tag-class>
+ <body-content>JSP</body-content>
+
+ <attribute>
+ <name>style</name>
+ <required>false</required>
+ <rtexprvalue>false</rtexprvalue>
+ </attribute>
+ <attribute>
+ <name>styleClass</name>
+ <required>false</required>
+ <rtexprvalue>false</rtexprvalue>
+ </attribute>
+
+ <!-- UIComponent attributes -->
+ <attribute>
+ <name>id</name>
+ <required>false</required>
+ <rtexprvalue>false</rtexprvalue>
+ <type>java.lang.String</type>
+ <description>
+ Every component may have an unique id. Automatically
+ created if omitted.
+ </description>
+ </attribute>
+ <attribute>
+ <name>rendered</name>
+ <required>false</required>
+ <rtexprvalue>false</rtexprvalue>
+ <type>java.lang.String</type>
+ <description>
+ If false, this component will not be rendered.
+ </description>
+ </attribute>
+ <attribute>
+ <name>binding</name>
+ <required>false</required>
+ <rtexprvalue>false</rtexprvalue>
+ <type>java.lang.String</type>
+ <description>Component binding.</description>
+ </attribute>
+
+ </tag>
+
+ <tag>
<name>link</name>
<tag-class>org.jboss.seam.ui.tag.LinkTag</tag-class>
<body-content>JSP</body-content>
@@ -287,6 +391,227 @@
</tag>
<tag>
+ <name>message</name>
+ <tag-class>org.jboss.seam.ui.tag.MessageTag</tag-class>
+ <body-content>JSP</body-content>
+
+ <!-- UIComponent attributes -->
+ <attribute>
+ <name>id</name>
+ <required>false</required>
+ <rtexprvalue>false</rtexprvalue>
+ <type>java.lang.String</type>
+ <description>
+ Every component may have an unique id. Automatically
+ created if omitted.
+ </description>
+ </attribute>
+ <attribute>
+ <name>rendered</name>
+ <required>false</required>
+ <rtexprvalue>false</rtexprvalue>
+ <type>java.lang.String</type>
+ <description>
+ If false, this component will not be rendered.
+ </description>
+ </attribute>
+ <attribute>
+ <name>binding</name>
+ <required>false</required>
+ <rtexprvalue>false</rtexprvalue>
+ <type>java.lang.String</type>
+ <description>Component binding.</description>
+ </attribute>
+
+ <!-- attribute>
+ <name>for</name>
+ <required>true</required>
+ <rtexprvalue>false</rtexprvalue>
+ <type>java.lang.String</type>
+ <description>The client identifier of the component for which this component represents associated message(s).</description>
+ </attribute-->
+ <attribute>
+ <name>showSummary</name>
+ <required>false</required>
+ <rtexprvalue>false</rtexprvalue>
+ <type>java.lang.String</type>
+ <description>
+ Indicates whether the summary of the associated
+ message(s) should be displayed. Default is: true
+ </description>
+ </attribute>
+ <attribute>
+ <name>showDetail</name>
+ <required>false</required>
+ <rtexprvalue>false</rtexprvalue>
+ <type>java.lang.String</type>
+ <description>
+ Indicates whether the detail of the associated
+ message(s) should be displayed. Default is: false
+ </description>
+ </attribute>
+
+
+ <!-- HTML 4.0 universal attributes -->
+ <attribute>
+ <name>dir</name>
+ <required>false</required>
+ <rtexprvalue>false</rtexprvalue>
+ </attribute>
+ <attribute>
+ <name>lang</name>
+ <required>false</required>
+ <rtexprvalue>false</rtexprvalue>
+ </attribute>
+ <attribute>
+ <name>style</name>
+ <required>false</required>
+ <rtexprvalue>false</rtexprvalue>
+ </attribute>
+ <attribute>
+ <name>title</name>
+ <required>false</required>
+ <rtexprvalue>false</rtexprvalue>
+ </attribute>
+ <attribute>
+ <name>styleClass</name>
+ <required>false</required>
+ <rtexprvalue>false</rtexprvalue>
+ <description>
+ Corresponds to the HTML class attribute.
+ </description>
+ </attribute>
+
+ <!-- HTML 4.0 event-handler attributes -->
+ <attribute>
+ <name>onclick</name>
+ <required>false</required>
+ <rtexprvalue>false</rtexprvalue>
+ </attribute>
+ <attribute>
+ <name>ondblclick</name>
+ <required>false</required>
+ <rtexprvalue>false</rtexprvalue>
+ </attribute>
+ <attribute>
+ <name>onmousedown</name>
+ <required>false</required>
+ <rtexprvalue>false</rtexprvalue>
+ </attribute>
+ <attribute>
+ <name>onmouseup</name>
+ <required>false</required>
+ <rtexprvalue>false</rtexprvalue>
+ </attribute>
+ <attribute>
+ <name>onmouseover</name>
+ <required>false</required>
+ <rtexprvalue>false</rtexprvalue>
+ </attribute>
+ <attribute>
+ <name>onmousemove</name>
+ <required>false</required>
+ <rtexprvalue>false</rtexprvalue>
+ </attribute>
+ <attribute>
+ <name>onmouseout</name>
+ <required>false</required>
+ <rtexprvalue>false</rtexprvalue>
+ </attribute>
+ <attribute>
+ <name>onkeypress</name>
+ <required>false</required>
+ <rtexprvalue>false</rtexprvalue>
+ </attribute>
+ <attribute>
+ <name>onkeydown</name>
+ <required>false</required>
+ <rtexprvalue>false</rtexprvalue>
+ </attribute>
+ <attribute>
+ <name>onkeyup</name>
+ <required>false</required>
+ <rtexprvalue>false</rtexprvalue>
+ </attribute>
+
+ <!-- HtmlMessage attributes -->
+ <attribute>
+ <name>infoClass</name>
+ <required>false</required>
+ <rtexprvalue>false</rtexprvalue>
+ <description>
+ CSS class to be used for messages with severity "INFO".
+ </description>
+ </attribute>
+ <attribute>
+ <name>infoStyle</name>
+ <required>false</required>
+ <rtexprvalue>false</rtexprvalue>
+ <description>
+ CSS style to be used for messages with severity "INFO".
+ </description>
+ </attribute>
+ <attribute>
+ <name>warnClass</name>
+ <required>false</required>
+ <rtexprvalue>false</rtexprvalue>
+ <description>
+ CSS class to be used for messages with severity "WARN".
+ </description>
+ </attribute>
+ <attribute>
+ <name>warnStyle</name>
+ <required>false</required>
+ <rtexprvalue>false</rtexprvalue>
+ <description>
+ CSS style to be used for messages with severity "WARN".
+ </description>
+ </attribute>
+ <attribute>
+ <name>errorClass</name>
+ <required>false</required>
+ <rtexprvalue>false</rtexprvalue>
+ <description>
+ CSS class to be used for messages with severity "ERROR".
+ </description>
+ </attribute>
+ <attribute>
+ <name>errorStyle</name>
+ <required>false</required>
+ <rtexprvalue>false</rtexprvalue>
+ <description>
+ CSS style to be used for messages with severity "ERROR".
+ </description>
+ </attribute>
+ <attribute>
+ <name>fatalClass</name>
+ <required>false</required>
+ <rtexprvalue>false</rtexprvalue>
+ <description>
+ CSS class to be used for messages with severity "FATAL".
+ </description>
+ </attribute>
+ <attribute>
+ <name>fatalStyle</name>
+ <required>false</required>
+ <rtexprvalue>false</rtexprvalue>
+ <description>
+ CSS style to be used for messages with severity "FATAL".
+ </description>
+ </attribute>
+ <attribute>
+ <name>tooltip</name>
+ <required>false</required>
+ <rtexprvalue>false</rtexprvalue>
+ <description>
+ If true, the message summary will be rendered as a
+ tooltip (i.e. HTML title attribute).
+ </description>
+ </attribute>
+
+ </tag>
+
+ <tag>
<name>commandButton</name>
<tag-class>org.jboss.seam.ui.tag.CommandButtonTag</tag-class>
<body-content>JSP</body-content>
@@ -509,7 +834,7 @@
<tag>
<name>commandLink</name>
- <tag-class>org.jboss.seam.ui.tag.HtmlCommandLinkTag</tag-class>
+ <tag-class>org.jboss.seam.ui.tag.CommandLinkTag</tag-class>
<body-content>JSP</body-content>
<attribute>
More information about the jboss-cvs-commits
mailing list