Author: akazakov
Date: 2009-06-02 18:46:48 -0400 (Tue, 02 Jun 2009)
New Revision: 15662
Added:
trunk/jst/plugins/org.jboss.tools.jst.web.kb/taglibs/Facelets.xml
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.kb/resources/kbCustomTagLibSchema-1.0.dtd
Log:
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.kb/resources/kbCustomTagLibSchema-1.0.dtd
===================================================================
---
trunk/jst/plugins/org.jboss.tools.jst.web.kb/resources/kbCustomTagLibSchema-1.0.dtd 2009-06-02
22:25:30 UTC (rev 15661)
+++
trunk/jst/plugins/org.jboss.tools.jst.web.kb/resources/kbCustomTagLibSchema-1.0.dtd 2009-06-02
22:46:48 UTC (rev 15662)
@@ -12,7 +12,7 @@
uri - URI of this tag lib.
dafault-prefix - Default prefix.
-->
-<!ELEMENT tag-lib (component*, componentExtension?) >
+<!ELEMENT tag-lib (component*, componentExtension?)>
<!ATTLIST schema dafault-prefix CDATA #IMPLIED>
@@ -24,12 +24,14 @@
closeTag - "true" - Component can have a body.
"false" - Component cannot have a body. Used by default.
extended - "true" - Component is relevant only if this component exists in
other tag-libs (tld, faclets, ...). Set to "true" by default.
+ description
-->
-<!ELEMENT component (attribute*) >
+<!ELEMENT component (attribute*)>
<!ATTLIST component name CDATA #REQUIRED>
<!ATTLIST component closeTag %Boolean; #IMPLIED>
<!ATTLIST component extended %Boolean; #IMPLIED>
+<!ATTLIST component description CDATA #IMPLIED>
<!--
Describes attribute of component.
@@ -38,20 +40,22 @@
required - "true" - attribute of element is required. "false" by
default.
defaultValue - default value of attribute.
extended - "true" - Attribute is relevant only if this attribute exists in
other tag-libs (tld, faclets, ...). Set to "true" by default.
+ description
-->
-<!ELEMENT attribute (proposal*) >
+<!ELEMENT attribute (proposal*)>
<!ATTLIST attribute name CDATA #REQUIRED>
<!ATTLIST attribute required %Boolean; #REQUIRED>
<!ATTLIST attribute defaultValue CDATA #IMPLIED>
<!ATTLIST attribute extended %Boolean; #IMPLIED>
+<!ATTLIST attribute description CDATA #IMPLIED>
<!--
Describe content assist proposal for value of attribute.
Attributes:
type - Type of proposal.
-->
-<!ELEMENT proposal (param*) >
+<!ELEMENT proposal (param*)>
<!ATTLIST proposal type CDATA #REQUIRED>
@@ -61,7 +65,7 @@
value - Value of param.
name - Name of param.
-->
-<!ELEMENT param >
+<!ELEMENT param ()>
<!ATTLIST param value CDATA #REQUIRED>
<!ATTLIST param name CDATA #IMPLIED>
Added: trunk/jst/plugins/org.jboss.tools.jst.web.kb/taglibs/Facelets.xml
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.kb/taglibs/Facelets.xml
(rev 0)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.kb/taglibs/Facelets.xml 2009-06-02 22:46:48
UTC (rev 15662)
@@ -0,0 +1,191 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE tag-lib PUBLIC "-//Red Hat, Inc//DTD Knowledge Base 2.0//EN"
"http://anonsvn.jboss.org/repos/jbosstools/trunk/jst/plugins/org.jboss.tools.jst.web.kb/resources/kbCustomTagLibSchema-1.0.dtd">
+<tag-lib defaultPrefix="ui">
+ <component name="component" extended="true">
+ <description>The component tag and the composition tag behave exactly
+ the same, except the component tag will insert a new UIComponent
+ instance into the tree as the root of all the child
+ components/fragments it has.</description>
+ <attribute extended="true" name="id">
+ <description>A unique id may be provided, otherwise Facelets will
+ automatically assign one under the same logic it uses for all
+ UIComponents.</description>
+ </attribute>
+ <attribute extended="true" name="binding">
+ <description>This binding attribute is used the same as with any
+ other UIComponent such that it allows you to reference them as a
+ property of a JavaBean. If that target property did not have a
+ UIComponent instance assigned already, JavaServer Faces will lazily
+ create an instance for you and set it on your JavaBean before
+ continuing with building the tree.</description>
+ </attribute>
+ <attribute extended="true" name="xmlns">
+ <proposal type="taglib" />
+ </attribute>
+ <attribute extended="true" name="xmlns:*">
+ <proposal type="taglib" />
+ </attribute>
+ </component>
+ <component name="composition" extended="true">
+ <attribute extended="true" name="template">
+ <description>The resolvable URI of the template to use. The content
+ within the composition tag will be used in populating the template
+ specified.</description>
+ <proposal type="file">
+ <param name="extensions" value="%page%" />
+ </proposal>
+ </attribute>
+ <attribute extended="true" name="xmlns">
+ <proposal type="taglib" />
+ </attribute>
+ <attribute extended="true" name="xmlns:*">
+ <proposal type="taglib" />
+ </attribute>
+ </component>
+ <component closeTag="true" name="debug"
extended="true">
+ <description>The debug tag will capture the component tree and
+ variables when it is encoded, storing the data for retrieval later.
+ You may launch the debug window at any time from your browser by
+ pressing 'CTRL' + 'SHIFT' + 'D' (by default). The debug tag
doesn't
+ need to be used with the facelet.DEVELOPMENT parameter. The best
+ place to put this tag is in your site's main template where it can be
+ enabled/disabled across your whole application. If your application
+ uses multiple windows, you might want to assign different hot keys to
+ each one.</description>
+ <attribute extended="true" name="hotkey">
+ <description>The hot key to use in combination with 'CTRL' +
'SHIFT'
+ to launch the debug window. By default, when the debug tag is used,
+ you may launch the debug window with 'CTRL' + 'SHIFT' + 'D'.
This
+ value cannot be an EL expression.</description>
+ </attribute>
+ <attribute extended="true" name="rendered">
+ <description>Creating debug output on every request adds some
+ overhead, so you can use the UIComponent rendered property to turn
+ debugging on or off based on some expression.</description>
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="decorate" extended="true">
+ <description>The decorate tag acts the same as a composition tag, but
+ it will not trim everything outside of it. This is useful in cases
+ where you have a list of items in a document, which you would like to
+ be decorated or framed. The sum of it all is that you can take any
+ element in the document and decorate it with some external logic as
+ provided by the template.</description>
+ <attribute extended="true" name="template"
required="true">
+ <description>The resolvable URI of the template to use. The content
+ within the decorate tag will be used in populating the template
+ specified.</description>
+ <proposal type="file">
+ <param name="extensions" value="%page%" />
+ </proposal>
+ </attribute>
+ <attribute extended="true" name="xmlns">
+ <proposal type="taglib" />
+ </attribute>
+ <attribute extended="true" name="xmlns:*">
+ <proposal type="taglib" />
+ </attribute>
+ </component>
+ <component name="define" extended="true">
+ <description>The define tag can be used within tags that allow
+ templating. This includes composition and decorate tags.</description>
+ <attribute extended="true" name="name"
required="true">
+ <description>The literal name for this definition. This name will
+ match up with a <ui:insert/> tag in a target
template.</description>
+ </attribute>
+ </component>
+ <component name="fragment" extended="true">
+ <description>Just like composition has decorate as a non-trimming
+ version of the same behavior, component has fragment. This allows you
+ to logically insert a UIComponent into the tree and possibly bind
+ this fragment to a JavaBean property or Map for management. The
+ fragment tag was also added to Facelets to get around some of the
+ optimizations used in handling text within your document. If you are
+ using components such as <f:panelGrid/>, which renders its
+ children, you may want more control over the building process that
+ Facelets does and using a fragment tag will help guarantee
+ parent/child relationships for you.</description>
+ <attribute extended="true" name="id">
+ <description>A unique id may be provided, otherwise Facelets will
+ automatically assign one under the same logic it uses for all
+ UIComponents.</description>
+ </attribute>
+ <attribute extended="true" name="binding">
+ <description>This binding attribute is used the same as with any
+ other UIComponent such that it allows you to reference them as a
+ property of a JavaBean. If that target property did not have a
+ UIComponent instance assigned already, JavaServer Faces will lazily
+ create an instance for you and set it on your JavaBean before
+ continuing with building the tree.</description>
+ </attribute>
+ <attribute extended="true" name="xmlns">
+ <proposal type="taglib" />
+ </attribute>
+ <attribute extended="true" name="xmlns:*">
+ <proposal type="taglib" />
+ </attribute>
+ </component>
+ <component closeTag="true" name="include"
extended="true">
+ <description>The include tag can point at any Facelet which might use
+ the composition tag, component tag, or simply be straight XHTML/XML.
+ It should be noted that the src path does allow relative path names,
+ but they will always be resolved against the original Facelet
+ requested. The include tag can be used in conjunction with multiple
+ <ui:param/> tags to pass EL expressions/values to the target
+ page.</description>
+ <attribute extended="true" name="src"
required="true">
+ <description>A literal or EL expression that specifies the target
+ Facelet that you would like to include into your document.</description>
+ <proposal type="file">
+ <param name="extensions" value="%page%" />
+ </proposal>
+ </attribute>
+ </component>
+ <component name="insert" extended="true">
+ <description>The insert tag is used within your templates to declare
+ spots of replacable data.</description>
+ <attribute extended="true" name="name">
+ <description>The optional name attribute matches the associated
+ <ui:define/> tag in this template's client. If no name is
+ specified, it's expected that the whole template client will be
+ inserted.</description>
+ </attribute>
+ </component>
+ <component closeTag="true" name="param"
extended="true">
+ <description />
+ <attribute extended="true" name="name"
required="true">
+ <description>The name of the variable to pass to the included
+ Facelet.</description>
+ </attribute>
+ <attribute extended="true" name="value"
required="true">
+ <description>The literal or EL expression value to assign to the
+ named variable.</description>
+ </attribute>
+ </component>
+ <component name="remove" extended="true">
+ <description>The remove tag does not have any attributes and is used
+ to remove chunks of XML content from a Facelet at compilation time.
+ The remove tag is often used in conjunction with the jsfc
feature.</description>
+ </component>
+ <component name="repeat" extended="true">
+ <attribute extended="true" name="value"
required="true">
+ <description>Expression for the list of items</description>
+ </attribute>
+ <attribute extended="true" name="var"
required="true">
+ <description>The name of the variable to put the current
item.</description>
+ </attribute>
+ <attribute extended="true" name="offset">
+ <description>The offset index.</description>
+ </attribute>
+ <attribute extended="true" name="size">
+ <description>Number of items to produce.</description>
+ </attribute>
+ <attribute extended="true" name="varStatus">
+ <description>Index object.</description>
+ </attribute>
+ </component>
+</tag-lib>
\ No newline at end of file
Property changes on: trunk/jst/plugins/org.jboss.tools.jst.web.kb/taglibs/Facelets.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Show replies by date