JBoss Tools SVN: r13088 - trunk/common/plugins/org.jboss.tools.common.kb/schemas/tld.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2009-01-16 11:14:10 -0500 (Fri, 16 Jan 2009)
New Revision: 13088
Modified:
trunk/common/plugins/org.jboss.tools.common.kb/schemas/tld/Richfaces3_2.xml
trunk/common/plugins/org.jboss.tools.common.kb/schemas/tld/Richfaces3_3.xml
Log:
https://jira.jboss.org/jira/browse/JBIDE-3567 Missing content assistance for some RichFaces components - Fixed
Modified: trunk/common/plugins/org.jboss.tools.common.kb/schemas/tld/Richfaces3_2.xml
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.kb/schemas/tld/Richfaces3_2.xml 2009-01-16 16:03:01 UTC (rev 13087)
+++ trunk/common/plugins/org.jboss.tools.common.kb/schemas/tld/Richfaces3_2.xml 2009-01-16 16:14:10 UTC (rev 13088)
@@ -12,6 +12,923 @@
-->
<schema prefix="rich">
<!-- Version 3.2.1 -->
+ <element-type body-content="allowed" content="mixed"
+ end-tag="required" name="ajaxValidator" start-tag="required">
+ <description>
+ <![CDATA[The &lt;rich:ajaxValidator&gt; is a component designed to provide ajax validation inside for JSF inputs.]]>
+ </description>
+ <attribute-type name="binding" required="false">
+ <description>
+ The attribute takes a value-binding expression for a
+ component property of a backing bean
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="binding" />
+ <attribute-type name="ajaxListener" required="false">
+ <description>
+ MethodExpression representing an action listener method
+ that will be notified when this component is activated by the ajax
+ Request and handle it. The expression must evaluate to a public
+ method that takes an AjaxEvent parameter, with a return type of
+ void. Default value is "null"
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="ajaxListener" />
+ <attribute-type name="data" required="false">
+ <description>
+ Serialized (on default with JSON) data passed on the
+ client by a developer on AJAX request. It's accessible via
+ "data.foo" syntax
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="data" />
+ <attribute-type name="disableDefault" required="false">
+ <description>
+ disableDefault
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="jsfVariables" />
+ <proposal type="bundleProperty" />
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute-type>
+ <attribute type="disableDefault" />
+ <attribute-type name="event" required="false">
+ <description>
+ Name of JavaScript event property ( onclick, onchange,
+ etc.) of parent component by
+ which validation will be triggered. Default value is "onblur"
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="jsfVariables" />
+ <proposal type="bundleProperty" />
+ </attribute-type>
+ <attribute type="event" />
+ <attribute-type name="eventsQueue" required="false">
+ <description>
+ Name of requests queue to avoid send next request before
+ complete other from same event. Can be used to reduce
+ number of
+ requests of frequently events (key press,
+ mouse move etc.)
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="eventsQueue" />
+ <attribute-type name="focus" required="false">
+ <description>
+ id of element to set focus after request completed on
+ client side
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="jsfVariables" />
+ <proposal type="bundleProperty" />
+ </attribute-type>
+ <attribute type="focus" />
+ <attribute-type name="id" required="false">
+ <description>
+ Every component may have a unique id that is
+ automatically created if omitted
+ </description>
+ </attribute-type>
+ <attribute type="id" />
+ <attribute-type name="ignoreDupResponses" required="false">
+ <description>
+ Attribute allows to ignore an Ajax Response produced by
+ a request if the newest 'similar' request is
+ in a queue already.
+ ignoreDupResponses="true" does not cancel the request while it is
+ processed on the server,
+ but just allows to avoid unnecessary updates
+ on the client side if the response isn't actual now
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="jsfVariables" />
+ <proposal type="bundleProperty" />
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute-type>
+ <attribute type="ignoreDupResponses" />
+ <attribute-type name="limitToList" required="false">
+ <description>
+ If "true", then of all AJAX-rendered on the page
+ components only those will be updated,
+ which ID's are passed to the "reRender" attribute of the describable
+ component.
+ "false"-the default value-means that all components with ajaxRendered="true"
+ will be updated.
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="jsfVariables" />
+ <proposal type="bundleProperty" />
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute-type>
+ <attribute type="limitToList" />
+ <attribute-type name="rendered" required="false">
+ <description>
+ If "false", this component is not rendered
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute-type>
+ <attribute type="rendered" />
+ <attribute-type name="onbeforedomupdate" required="false">
+ <description>
+ JavaScript code for call before DOM has been updated on
+ client side
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="jsfVariables" />
+ <proposal type="bundleProperty" />
+ </attribute-type>
+ <attribute type="onbeforedomupdate" />
+ <attribute-type name="onbeforedomupdate" required="false">
+ <description>
+ JavaScript code for call before DOM has been updated on
+ client side
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="jsfVariables" />
+ <proposal type="bundleProperty" />
+ </attribute-type>
+ <attribute type="onbeforedomupdate" />
+ <attribute-type name="oncomplete" required="false">
+ <description>
+ JavaScript code for call after request completed on
+ client side
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="jsfVariables" />
+ <proposal type="bundleProperty" />
+ </attribute-type>
+ <attribute type="oncomplete" />
+ <attribute-type name="onsubmit" required="false">
+ <description>
+ JavaScript code for call before submission of ajax
+ event
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="jsfVariables" />
+ <proposal type="bundleProperty" />
+ </attribute-type>
+ <attribute type="onsubmit" />
+ <attribute-type name="" required="false">
+ <description>
+ Id['s] (in format of call UIComponent.findComponent())
+ of components, rendered in case of AjaxRequest caused by this
+ component. Can be single id, comma-separated list of Id's, or EL
+ Expression with array or Collection
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="reRender" />
+ <attribute-type name="requestDelay" required="false">
+ <description>
+ Attribute defines the time (in ms.) that the request
+ will be wait in the queue before it is ready to send.
+ When the delay
+ time is over, the request will be sent to the server or removed if
+ the newest 'similar' request is in a queue already
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="jsfVariables" />
+ <proposal type="bundleProperty" />
+ </attribute-type>
+ <attribute type="requestDelay" />
+ <attribute-type name="similarityGroupingId" required="false">
+ <description>
+ If there are any component requests with identical IDs
+ then these requests will be grouped.
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="jsfVariables" />
+ <proposal type="bundleProperty" />
+ </attribute-type>
+ <attribute type="similarityGroupingId" />
+ <attribute-type name="status" required="false">
+ <description>
+ ID (in format of call UIComponent.findComponent()) of
+ Request status component
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="jsfVariables" />
+ <proposal type="bundleProperty" />
+ </attribute-type>
+ <attribute type="status" />
+ <attribute-type name="summary" required="false">
+ <description>
+ Summary message for a validation errors.
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="jsfVariables" />
+ <proposal type="bundleProperty" />
+ </attribute-type>
+ <attribute type="summary" />
+ <attribute-type name="timeout" required="false">
+ <description>
+ Response waiting time on a particular request. If a
+ response is not received during this time, the request is aborted
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="jsfVariables" />
+ <proposal type="bundleProperty" />
+ </attribute-type>
+ <attribute type="timeout" />
+ </element-type>
+ <element-type body-content="allowed" content="mixed"
+ end-tag="required" name="extendedDataTable" start-tag="required">
+ <description>
+ <![CDATA[The &lt;rich:extendedDataTable&gt; component is used for
+ tables extending standard component &lt;rich:dataTable&gt; .]]>
+ </description>
+ <attribute-type name="ajaxKeys" required="false">
+ <description>
+ This attribute defines row keys that are updated after
+ an AJAX request
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="ajaxKeys" />
+ <attribute-type name="align" required="false">
+ <description>
+ left|center|right [CI] Deprecated. This attribute
+ specifies the position of the table with respect to the
+ document.
+ Permitted values:
+
+ * left: The table is to the left of the document. *
+ center: The table is to the center of the document. *
+ right: The
+ table is to the right of the document
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="align" />
+ <attribute-type name="bgcolor" required="false">
+ <description>
+ Deprecated. This attribute sets the background color for
+ the document body or table cells.
+
+ This attribute sets the background
+ color of the canvas
+ for the document body (the BODY element) or for
+ tables
+ (the TABLE, TR, TH, and TD elements). Additional
+ attributes for
+ specifying text color can be used with
+ the BODY element.
+
+ This
+ attribute has been deprecated in favor of style
+ sheets for specifying
+ background color information
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="bgcolor" />
+ <attribute-type name="binding" required="false">
+ <description>
+ The attribute takes a value-binding expression for a
+ component property of a backing bean
+ </description>
+ <proposal type="jsfVariables" />
+ <proposal type="beanProperty">
+ <param name="type" value="javax.faces.component.UIComponent" />
+ </proposal>
+ </attribute-type>
+ <attribute type="binding" />
+ <attribute-type name="border" required="false">
+ <description>
+ This attributes specifies the width of the frame around
+ a component. Default value is "0".
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="border" />
+ <attribute-type name="captionClass" required="false">
+ <description>
+ Space-separated list of CSS style class(es) that are be
+ applied to caption for this component
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="captionClass" />
+ <attribute-type name="captionStyle" required="false">
+ <description>
+ CSS style(s) is/are to be applied to caption when this
+ component is rendered
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="captionStyle" />
+ <attribute-type name="cellpadding" required="false">
+ <description>
+ This attribute specifies the amount of space between the
+ border of the cell and its contents. Default value is
+ "0".
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="cellpadding" />
+ <attribute-type name="cellspacing" required="false">
+ <description>
+ This attribute specifies the amount of space between the
+ border of the cell and its contents. The attribute also
+ specifies the
+ amount of space to leave between cells.
+ Default value is "0".
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="cellspacing" />
+ <attribute-type name="columnClasses" required="false">
+ <description>
+ Comma-delimited list of CSS style classes that are be
+ applied to the columns of this table. A space separated
+ list of
+ classes may also be specified for any individual
+ column. If the
+ number of elements in this list is less
+ than the number of columns
+ specified in the "columns"
+ attribute, no "class" attribute is output
+ for each
+ column greater than the number of elements in the list.
+ If
+ the number of elements in the list is greater than
+ the number of
+ columns specified in the "columns"
+ attribute, the elements at the
+ position in the list
+ after the value of the "columns" attribute are
+ ignored
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="columnClasses" />
+ <attribute-type name="columns" required="false">
+ <description>Number of columns</description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="columns" />
+ <attribute-type name="columnsWidth" required="false">
+ <description>
+ Comma-separated list of width attribute for every
+ column. Specifies a default width for each column in the
+ table. In
+ addition to the standard pixel, percentage,
+ and relative values, this
+ attribute allows the special
+ form "0*" (zero asterisk) which means
+ that the width of
+ the each column in the group should be the minimum
+ width
+ necessary to hold the column's contents. This implies
+ that a
+ column's entire contents must be known before its
+ width may be
+ correctly computed. Authors should be aware
+ that specifying "0*" will
+ prevent visual user agents
+ from rendering a table incrementally
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="columnsWidth" />
+ <attribute-type name="componentState" required="false">
+ <description>
+ It defines EL-binding for a component state for saving
+ or redefinition
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="componentState" />
+ <attribute-type name="dir" required="false">
+ <description>
+ Direction indication for text that does not inherit
+ directionality. Valid values are "LTR" (left-to-right)
+ and "RTL"
+ (right-to-left)
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="dir" />
+ <attribute-type name="first" required="false">
+ <description>
+ A zero-relative row number of the first row to display
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="first" />
+ <attribute-type name="footerClass" required="false">
+ <description>
+ Space-separated list of CSS style class(es) that are be
+ applied to footer for this component
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="footerClass" />
+ <attribute-type name="frame" required="false">
+ <description>
+ void|above|below|hsides|lhs|rhs|vsides|box|border [CI]
+ This attribute specifies which sides of the frame
+ surrounding a table
+ will be visible. Possible values:
+
+ * void: No sides. This is the
+ default value. * above:
+ The top side only. * below: The bottom side
+ only. *
+ hsides: The top and bottom sides only. * vsides: The
+ right and
+ left sides only. * lhs: The left-hand side
+ only. * rhs: The
+ right-hand side only. * box: All four
+ sides. * border: All four sides
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="frame" />
+ <attribute-type name="headerClass" required="false">
+ <description>
+ Space-separated list of CSS style class(es) that are be
+ applied to header for this component
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="headerClass" />
+ <attribute-type name="id" required="false">
+ <description>
+ Every component may have a unique id that is
+ automatically created if omitted
+ </description>
+ </attribute-type>
+ <attribute type="id" />
+ <attribute-type name="lang" required="false">
+ <description>
+ Code describing the language used in the generated
+ markup for this component
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="lang" />
+ <attribute-type name="onRowContextMenu" required="false">
+ <description>
+ JavaScript handler to be called on right click.
+ Returning false prevents default browser context menu from being
+ displayed
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="onRowContextMenu" />
+ <attribute-type name="onRowClick" required="false">
+ <description>
+ HTML: a script expression; a pointer button is clicked
+ on row
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="onRowClick" />
+ <attribute-type name="onRowDblClick" required="false">
+ <description>
+ HTML: a script expression; a pointer button is
+ double-clicked on row
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="onRowDblClick" />
+ <attribute-type name="onRowMouseDown" required="false">
+ <description>
+ HTML: script expression; a pointer button is pressed
+ down on row
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="onRowMouseDown" />
+ <attribute-type name="onRowMouseMove" required="false">
+ <description>
+ HTML: a script expression; a pointer is moved within of
+ row
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="onRowMouseMove" />
+ <attribute-type name="onRowMouseOut" required="false">
+ <description>
+ HTML: a script expression; a pointer is moved away of
+ row
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="onRowMouseOut" />
+ <attribute-type name="onRowMouseOver" required="false">
+ <description>
+ HTML: a script expression; a pointer is moved onto of
+ row
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="onRowMouseOver" />
+ <attribute-type name="onRowMouseUp" required="false">
+ <description>
+ HTML: script expression; a pointer button is released on
+ row
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="onRowMouseUp" />
+ <attribute-type name="onclick" required="false">
+ <description>
+ HTML: a script expression; a pointer button is clicked
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="onclick" />
+ <attribute-type name="ondblclick" required="false">
+ <description>
+ HTML: a script expression; a pointer button is
+ double-clicked
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="ondblclick" />
+ <attribute-type name="onkeydown" required="false">
+ <description>
+ HTML: a script expression; a key is pressed down
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="onkeydown" />
+ <attribute-type name="onkeypress" required="false">
+ <description>
+ HTML: a script expression; a key is pressed and released
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="onkeypress" />
+ <attribute-type name="onkeyup" required="false">
+ <description>
+ HTML: a script expression; a key is released
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="onkeyup" />
+ <attribute-type name="onmousedown" required="false">
+ <description>
+ HTML: script expression; a pointer button is pressed
+ down
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="onmousedown" />
+ <attribute-type name="onmousemove" required="false">
+ <description>
+ HTML: a script expression; a pointer is moved within
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="onmousemove" />
+ <attribute-type name="onmouseout" required="false">
+ <description>
+ HTML: a script expression; a pointer is moved away
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="onmouseout" />
+ <attribute-type name="onmouseover" required="false">
+ <description>
+ HTML: a script expression; a pointer is moved onto
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="onmouseover" />
+ <attribute-type name="onmouseup" required="false">
+ <description>
+ HTML: script expression; a pointer button is released
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="onmouseup" />
+ <attribute-type name="rendered" required="false">
+ <description>
+ If "false", this component is not rendered
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute-type>
+ <attribute type="rendered" />
+ <attribute-type name="rowClasses" required="false">
+ <description>
+ A comma-delimited list of CSS style classes that is
+ applied to popup table rows. A space separated list of
+ classes may
+ also be specified for any individual row.
+ The styles are applied, in
+ turn, to each row in the
+ table. For example, if the list has two
+ elements, the
+ first style class in the list is applied to the first
+ row, the second to the second row, the first to the
+ third row, the
+ second to the fourth row, etc. In other
+ words, we keep iterating
+ through the list until we reach
+ the end, and then we start at the
+ beginning again
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="rowClasses" />
+ <attribute-type name="rowKeyConverter" required="false">
+ <description>Converter for a RowKey object.</description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="rowKeyConverter" />
+ <attribute-type name="rowKeyVar" required="false">
+ <description>
+ The attribute provides access to a row key in a Request
+ scope
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="rowKeyVar" />
+ <attribute-type name="rows" required="false">
+ <description>
+ A number of rows to display, or zero for all remaining
+ rows in the table
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="rows" />
+ <attribute-type name="rules" required="false">
+ <description>
+ This attribute specifies which rules will appear between
+ cells within a table. The rendering of rules is user
+ agent dependent.
+ Possible values:
+
+ * none: No rules. This is the default value. *
+ groups:
+ Rules will appear between row groups (see THEAD, TFOOT,
+ and
+ TBODY) and column groups (see COLGROUP and COL)
+ only. * rows: Rules
+ will appear between rows only. *
+ cols: Rules will appear between
+ columns only. * all:
+ Rules will appear between all rows and columns
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="rules" />
+ <attribute-type name="sortMode" required="false">
+ <description>
+ Defines mode of sorting. Possible values are 'single'
+ for sorting of one column and 'multi' for some.
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="sortMode" />
+ <attribute-type name="sortPriority" required="false">
+ <description>
+ Defines a set of columns ids in the sorting order
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="sortPriority" />
+ <attribute-type name="stateVar" required="false">
+ <description>
+ The attribute provides access to a component state on
+ the client side
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="stateVar" />
+ <attribute-type name="style" required="false">
+ <description>
+ CSS style(s) is/are to be applied when this component is
+ rendered
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="style" />
+ <attribute-type name="styleClass" required="false">
+ <description>
+ Corresponds to the HTML class attribute
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="styleClass" />
+ <attribute-type name="title" required="false">
+ <description>
+ Advisory title information about markup elements
+ generated for this component
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="title" />
+ <attribute-type name="value" required="false">
+ <description>
+ The current value for this component
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="value" />
+ <attribute-type name="var" required="false">
+ <description>
+ A request-scope attribute via which the data object for
+ the current row will be used when iterating
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="var" />
+ <attribute-type name="width" required="false">
+ <description>
+ This attribute specifies the desired width of the entire
+ table and is intended for visual user agents. When the
+ value is
+ percentage value, the value is relative to the
+ user agent's available
+ horizontal space. In the absence
+ of any width specification, table
+ width is determined by
+ the user agent
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="width" />
+ </element-type>
+
+ <element-type body-content="allowed" content="mixed"
+ end-tag="required" name="beanValidator" start-tag="required">
+ <description>
+ <![CDATA[Validate Input by the Bean/Hibernate validator annotations.]]>
+ </description>
+ <attribute-type name="binding" required="false">
+ <description>
+ A ValueExpression that evaluates to an instance of
+ FacesBeanValidator.
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="binding" />
+ <attribute-type name="summary" required="false">
+ <description>
+ Summary message for a validation errors.
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="jsfVariables" />
+ <proposal type="bundleProperty" />
+ </attribute-type>
+ <attribute type="summary" />
+ <attribute-type name="id" required="false">
+ <description>
+ Every component may have a unique id that is
+ automatically created if omitted
+ </description>
+ </attribute-type>
+ <attribute type="id" />
+ <attribute-type name="rendered" required="false">
+ <description>
+ If "false", this component is not rendered
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute-type>
+ <attribute type="rendered" />
+ </element-type>
<element-type body-content="allowed" content="mixed"
end-tag="required" name="calendar" start-tag="required">
<description>
Modified: trunk/common/plugins/org.jboss.tools.common.kb/schemas/tld/Richfaces3_3.xml
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.kb/schemas/tld/Richfaces3_3.xml 2009-01-16 16:03:01 UTC (rev 13087)
+++ trunk/common/plugins/org.jboss.tools.common.kb/schemas/tld/Richfaces3_3.xml 2009-01-16 16:14:10 UTC (rev 13088)
@@ -1,18 +1,1138 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE kb-schema PUBLIC "-//Red Hat, Inc//DTD Knowledge Base 1.0//EN" "http://www.redhat.com/dtds/kb-schema_1_0.dtd">
-<!--
- * Copyright (c) 2009 Red Hat, Inc.
- * Distributed under license by Red Hat, Inc. All rights reserved.
- * This program is made available under the terms of the
- * Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Red Hat, Inc. - initial API and implementation
--->
+ <!--
+ * Copyright (c) 2009 Red Hat, Inc. * Distributed under license by Red
+ Hat, Inc. All rights reserved. * This program is made available under
+ the terms of the * Eclipse Public License v1.0 which accompanies this
+ distribution, * and is available at
+ http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Red Hat,
+ Inc. - initial API and implementation
+ -->
<schema prefix="rich">
<!-- Version 3.3 -->
+ <element-type body-content="allowed" content="mixed"
+ end-tag="required" name="ajaxValidator" start-tag="required">
+ <description>
+ <![CDATA[The &lt;rich:ajaxValidator&gt; is a component designed to provide ajax validation inside for JSF inputs.]]>
+ </description>
+ <attribute-type name="binding" required="false">
+ <description>
+ The attribute takes a value-binding expression for a
+ component property of a backing bean
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="binding" />
+ <attribute-type name="ajaxListener" required="false">
+ <description>
+ MethodExpression representing an action listener method
+ that will be notified when this component is activated by the ajax
+ Request and handle it. The expression must evaluate to a public
+ method that takes an AjaxEvent parameter, with a return type of
+ void. Default value is "null"
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="ajaxListener" />
+ <attribute-type name="data" required="false">
+ <description>
+ Serialized (on default with JSON) data passed on the
+ client by a developer on AJAX request. It's accessible via
+ "data.foo" syntax
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="data" />
+ <attribute-type name="disableDefault" required="false">
+ <description>
+ disableDefault
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="jsfVariables" />
+ <proposal type="bundleProperty" />
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute-type>
+ <attribute type="disableDefault" />
+ <attribute-type name="event" required="false">
+ <description>
+ Name of JavaScript event property ( onclick, onchange,
+ etc.) of parent component by
+ which validation will be triggered. Default value is "onblur"
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="jsfVariables" />
+ <proposal type="bundleProperty" />
+ </attribute-type>
+ <attribute type="event" />
+ <attribute-type name="eventsQueue" required="false">
+ <description>
+ Name of requests queue to avoid send next request before
+ complete other from same event. Can be used to reduce
+ number of
+ requests of frequently events (key press,
+ mouse move etc.)
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="eventsQueue" />
+ <attribute-type name="focus" required="false">
+ <description>
+ id of element to set focus after request completed on
+ client side
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="jsfVariables" />
+ <proposal type="bundleProperty" />
+ </attribute-type>
+ <attribute type="focus" />
+ <attribute-type name="id" required="false">
+ <description>
+ Every component may have a unique id that is
+ automatically created if omitted
+ </description>
+ </attribute-type>
+ <attribute type="id" />
+ <attribute-type name="ignoreDupResponses" required="false">
+ <description>
+ Attribute allows to ignore an Ajax Response produced by
+ a request if the newest 'similar' request is
+ in a queue already.
+ ignoreDupResponses="true" does not cancel the request while it is
+ processed on the server,
+ but just allows to avoid unnecessary updates
+ on the client side if the response isn't actual now
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="jsfVariables" />
+ <proposal type="bundleProperty" />
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute-type>
+ <attribute type="ignoreDupResponses" />
+ <attribute-type name="limitToList" required="false">
+ <description>
+ If "true", then of all AJAX-rendered on the page
+ components only those will be updated,
+ which ID's are passed to the "reRender" attribute of the describable
+ component.
+ "false"-the default value-means that all components with ajaxRendered="true"
+ will be updated.
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="jsfVariables" />
+ <proposal type="bundleProperty" />
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute-type>
+ <attribute type="limitToList" />
+ <attribute-type name="rendered" required="false">
+ <description>
+ If "false", this component is not rendered
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute-type>
+ <attribute type="rendered" />
+ <attribute-type name="onbeforedomupdate" required="false">
+ <description>
+ JavaScript code for call before DOM has been updated on
+ client side
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="jsfVariables" />
+ <proposal type="bundleProperty" />
+ </attribute-type>
+ <attribute type="onbeforedomupdate" />
+ <attribute-type name="onbeforedomupdate" required="false">
+ <description>
+ JavaScript code for call before DOM has been updated on
+ client side
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="jsfVariables" />
+ <proposal type="bundleProperty" />
+ </attribute-type>
+ <attribute type="onbeforedomupdate" />
+ <attribute-type name="oncomplete" required="false">
+ <description>
+ JavaScript code for call after request completed on
+ client side
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="jsfVariables" />
+ <proposal type="bundleProperty" />
+ </attribute-type>
+ <attribute type="oncomplete" />
+ <attribute-type name="onsubmit" required="false">
+ <description>
+ JavaScript code for call before submission of ajax
+ event
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="jsfVariables" />
+ <proposal type="bundleProperty" />
+ </attribute-type>
+ <attribute type="onsubmit" />
+ <attribute-type name="" required="false">
+ <description>
+ Id['s] (in format of call UIComponent.findComponent())
+ of components, rendered in case of AjaxRequest caused by this
+ component. Can be single id, comma-separated list of Id's, or EL
+ Expression with array or Collection
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="reRender" />
+ <attribute-type name="requestDelay" required="false">
+ <description>
+ Attribute defines the time (in ms.) that the request
+ will be wait in the queue before it is ready to send.
+ When the delay
+ time is over, the request will be sent to the server or removed if
+ the newest 'similar' request is in a queue already
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="jsfVariables" />
+ <proposal type="bundleProperty" />
+ </attribute-type>
+ <attribute type="requestDelay" />
+ <attribute-type name="similarityGroupingId" required="false">
+ <description>
+ If there are any component requests with identical IDs
+ then these requests will be grouped.
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="jsfVariables" />
+ <proposal type="bundleProperty" />
+ </attribute-type>
+ <attribute type="similarityGroupingId" />
+ <attribute-type name="status" required="false">
+ <description>
+ ID (in format of call UIComponent.findComponent()) of
+ Request status component
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="jsfVariables" />
+ <proposal type="bundleProperty" />
+ </attribute-type>
+ <attribute type="status" />
+ <attribute-type name="summary" required="false">
+ <description>
+ Summary message for a validation errors.
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="jsfVariables" />
+ <proposal type="bundleProperty" />
+ </attribute-type>
+ <attribute type="summary" />
+ <attribute-type name="timeout" required="false">
+ <description>
+ Response waiting time on a particular request. If a
+ response is not received during this time, the request is aborted
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="jsfVariables" />
+ <proposal type="bundleProperty" />
+ </attribute-type>
+ <attribute type="timeout" />
+ </element-type>
+ <element-type body-content="allowed" content="mixed"
+ end-tag="required" name="extendedDataTable" start-tag="required">
+ <description>
+ <![CDATA[The &lt;rich:extendedDataTable&gt; component is used for
+ tables extending standard component &lt;rich:dataTable&gt; .]]>
+ </description>
+ <attribute-type name="ajaxKeys" required="false">
+ <description>
+ This attribute defines row keys that are updated after
+ an AJAX request
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="ajaxKeys" />
+ <attribute-type name="align" required="false">
+ <description>
+ left|center|right [CI] Deprecated. This attribute
+ specifies the position of the table with respect to the
+ document.
+ Permitted values:
+
+ * left: The table is to the left of the document. *
+ center: The table is to the center of the document. *
+ right: The
+ table is to the right of the document
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="align" />
+ <attribute-type name="bgcolor" required="false">
+ <description>
+ Deprecated. This attribute sets the background color for
+ the document body or table cells.
+
+ This attribute sets the background
+ color of the canvas
+ for the document body (the BODY element) or for
+ tables
+ (the TABLE, TR, TH, and TD elements). Additional
+ attributes for
+ specifying text color can be used with
+ the BODY element.
+
+ This
+ attribute has been deprecated in favor of style
+ sheets for specifying
+ background color information
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="bgcolor" />
+ <attribute-type name="binding" required="false">
+ <description>
+ The attribute takes a value-binding expression for a
+ component property of a backing bean
+ </description>
+ <proposal type="jsfVariables" />
+ <proposal type="beanProperty">
+ <param name="type" value="javax.faces.component.UIComponent" />
+ </proposal>
+ </attribute-type>
+ <attribute type="binding" />
+ <attribute-type name="border" required="false">
+ <description>
+ This attributes specifies the width of the frame around
+ a component. Default value is "0".
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="border" />
+ <attribute-type name="captionClass" required="false">
+ <description>
+ Space-separated list of CSS style class(es) that are be
+ applied to caption for this component
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="captionClass" />
+ <attribute-type name="captionStyle" required="false">
+ <description>
+ CSS style(s) is/are to be applied to caption when this
+ component is rendered
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="captionStyle" />
+ <attribute-type name="cellpadding" required="false">
+ <description>
+ This attribute specifies the amount of space between the
+ border of the cell and its contents. Default value is
+ "0".
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="cellpadding" />
+ <attribute-type name="cellspacing" required="false">
+ <description>
+ This attribute specifies the amount of space between the
+ border of the cell and its contents. The attribute also
+ specifies the
+ amount of space to leave between cells.
+ Default value is "0".
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="cellspacing" />
+ <attribute-type name="columnClasses" required="false">
+ <description>
+ Comma-delimited list of CSS style classes that are be
+ applied to the columns of this table. A space separated
+ list of
+ classes may also be specified for any individual
+ column. If the
+ number of elements in this list is less
+ than the number of columns
+ specified in the "columns"
+ attribute, no "class" attribute is output
+ for each
+ column greater than the number of elements in the list.
+ If
+ the number of elements in the list is greater than
+ the number of
+ columns specified in the "columns"
+ attribute, the elements at the
+ position in the list
+ after the value of the "columns" attribute are
+ ignored
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="columnClasses" />
+ <attribute-type name="columns" required="false">
+ <description>Number of columns</description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="columns" />
+ <attribute-type name="columnsWidth" required="false">
+ <description>
+ Comma-separated list of width attribute for every
+ column. Specifies a default width for each column in the
+ table. In
+ addition to the standard pixel, percentage,
+ and relative values, this
+ attribute allows the special
+ form "0*" (zero asterisk) which means
+ that the width of
+ the each column in the group should be the minimum
+ width
+ necessary to hold the column's contents. This implies
+ that a
+ column's entire contents must be known before its
+ width may be
+ correctly computed. Authors should be aware
+ that specifying "0*" will
+ prevent visual user agents
+ from rendering a table incrementally
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="columnsWidth" />
+ <attribute-type name="componentState" required="false">
+ <description>
+ It defines EL-binding for a component state for saving
+ or redefinition
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="componentState" />
+ <attribute-type name="dir" required="false">
+ <description>
+ Direction indication for text that does not inherit
+ directionality. Valid values are "LTR" (left-to-right)
+ and "RTL"
+ (right-to-left)
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="dir" />
+ <attribute-type name="first" required="false">
+ <description>
+ A zero-relative row number of the first row to display
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="first" />
+ <attribute-type name="footerClass" required="false">
+ <description>
+ Space-separated list of CSS style class(es) that are be
+ applied to footer for this component
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="footerClass" />
+ <attribute-type name="frame" required="false">
+ <description>
+ void|above|below|hsides|lhs|rhs|vsides|box|border [CI]
+ This attribute specifies which sides of the frame
+ surrounding a table
+ will be visible. Possible values:
+
+ * void: No sides. This is the
+ default value. * above:
+ The top side only. * below: The bottom side
+ only. *
+ hsides: The top and bottom sides only. * vsides: The
+ right and
+ left sides only. * lhs: The left-hand side
+ only. * rhs: The
+ right-hand side only. * box: All four
+ sides. * border: All four sides
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="frame" />
+ <attribute-type name="headerClass" required="false">
+ <description>
+ Space-separated list of CSS style class(es) that are be
+ applied to header for this component
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="headerClass" />
+ <attribute-type name="id" required="false">
+ <description>
+ Every component may have a unique id that is
+ automatically created if omitted
+ </description>
+ </attribute-type>
+ <attribute type="id" />
+ <attribute-type name="lang" required="false">
+ <description>
+ Code describing the language used in the generated
+ markup for this component
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="lang" />
+ <attribute-type name="onRowContextMenu" required="false">
+ <description>
+ JavaScript handler to be called on right click.
+ Returning false prevents default browser context menu from being
+ displayed
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="onRowContextMenu" />
+ <attribute-type name="onRowClick" required="false">
+ <description>
+ HTML: a script expression; a pointer button is clicked
+ on row
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="onRowClick" />
+ <attribute-type name="onRowDblClick" required="false">
+ <description>
+ HTML: a script expression; a pointer button is
+ double-clicked on row
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="onRowDblClick" />
+ <attribute-type name="onRowMouseDown" required="false">
+ <description>
+ HTML: script expression; a pointer button is pressed
+ down on row
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="onRowMouseDown" />
+ <attribute-type name="onRowMouseMove" required="false">
+ <description>
+ HTML: a script expression; a pointer is moved within of
+ row
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="onRowMouseMove" />
+ <attribute-type name="onRowMouseOut" required="false">
+ <description>
+ HTML: a script expression; a pointer is moved away of
+ row
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="onRowMouseOut" />
+ <attribute-type name="onRowMouseOver" required="false">
+ <description>
+ HTML: a script expression; a pointer is moved onto of
+ row
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="onRowMouseOver" />
+ <attribute-type name="onRowMouseUp" required="false">
+ <description>
+ HTML: script expression; a pointer button is released on
+ row
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="onRowMouseUp" />
+ <attribute-type name="onclick" required="false">
+ <description>
+ HTML: a script expression; a pointer button is clicked
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="onclick" />
+ <attribute-type name="ondblclick" required="false">
+ <description>
+ HTML: a script expression; a pointer button is
+ double-clicked
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="ondblclick" />
+ <attribute-type name="onkeydown" required="false">
+ <description>
+ HTML: a script expression; a key is pressed down
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="onkeydown" />
+ <attribute-type name="onkeypress" required="false">
+ <description>
+ HTML: a script expression; a key is pressed and released
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="onkeypress" />
+ <attribute-type name="onkeyup" required="false">
+ <description>
+ HTML: a script expression; a key is released
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="onkeyup" />
+ <attribute-type name="onmousedown" required="false">
+ <description>
+ HTML: script expression; a pointer button is pressed
+ down
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="onmousedown" />
+ <attribute-type name="onmousemove" required="false">
+ <description>
+ HTML: a script expression; a pointer is moved within
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="onmousemove" />
+ <attribute-type name="onmouseout" required="false">
+ <description>
+ HTML: a script expression; a pointer is moved away
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="onmouseout" />
+ <attribute-type name="onmouseover" required="false">
+ <description>
+ HTML: a script expression; a pointer is moved onto
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="onmouseover" />
+ <attribute-type name="onmouseup" required="false">
+ <description>
+ HTML: script expression; a pointer button is released
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="onmouseup" />
+ <attribute-type name="rendered" required="false">
+ <description>
+ If "false", this component is not rendered
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute-type>
+ <attribute type="rendered" />
+ <attribute-type name="rowClasses" required="false">
+ <description>
+ A comma-delimited list of CSS style classes that is
+ applied to popup table rows. A space separated list of
+ classes may
+ also be specified for any individual row.
+ The styles are applied, in
+ turn, to each row in the
+ table. For example, if the list has two
+ elements, the
+ first style class in the list is applied to the first
+ row, the second to the second row, the first to the
+ third row, the
+ second to the fourth row, etc. In other
+ words, we keep iterating
+ through the list until we reach
+ the end, and then we start at the
+ beginning again
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="rowClasses" />
+ <attribute-type name="rowKeyConverter" required="false">
+ <description>Converter for a RowKey object.</description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="rowKeyConverter" />
+ <attribute-type name="rowKeyVar" required="false">
+ <description>
+ The attribute provides access to a row key in a Request
+ scope
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="rowKeyVar" />
+ <attribute-type name="rows" required="false">
+ <description>
+ A number of rows to display, or zero for all remaining
+ rows in the table
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="rows" />
+ <attribute-type name="rules" required="false">
+ <description>
+ This attribute specifies which rules will appear between
+ cells within a table. The rendering of rules is user
+ agent dependent.
+ Possible values:
+
+ * none: No rules. This is the default value. *
+ groups:
+ Rules will appear between row groups (see THEAD, TFOOT,
+ and
+ TBODY) and column groups (see COLGROUP and COL)
+ only. * rows: Rules
+ will appear between rows only. *
+ cols: Rules will appear between
+ columns only. * all:
+ Rules will appear between all rows and columns
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="rules" />
+ <attribute-type name="sortMode" required="false">
+ <description>
+ Defines mode of sorting. Possible values are 'single'
+ for sorting of one column and 'multi' for some.
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="sortMode" />
+ <attribute-type name="sortPriority" required="false">
+ <description>
+ Defines a set of columns ids in the sorting order
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="sortPriority" />
+ <attribute-type name="stateVar" required="false">
+ <description>
+ The attribute provides access to a component state on
+ the client side
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="stateVar" />
+ <attribute-type name="style" required="false">
+ <description>
+ CSS style(s) is/are to be applied when this component is
+ rendered
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="style" />
+ <attribute-type name="styleClass" required="false">
+ <description>
+ Corresponds to the HTML class attribute
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="styleClass" />
+ <attribute-type name="title" required="false">
+ <description>
+ Advisory title information about markup elements
+ generated for this component
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="title" />
+ <attribute-type name="value" required="false">
+ <description>
+ The current value for this component
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="value" />
+ <attribute-type name="var" required="false">
+ <description>
+ A request-scope attribute via which the data object for
+ the current row will be used when iterating
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="var" />
+ <attribute-type name="width" required="false">
+ <description>
+ This attribute specifies the desired width of the entire
+ table and is intended for visual user agents. When the
+ value is
+ percentage value, the value is relative to the
+ user agent's available
+ horizontal space. In the absence
+ of any width specification, table
+ width is determined by
+ the user agent
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="width" />
+ </element-type>
+
+ <element-type body-content="allowed" content="mixed"
+ end-tag="required" name="beanValidator" start-tag="required">
+ <description>
+ <![CDATA[Validate Input by the Bean/Hibernate validator annotations.]]>
+ </description>
+ <attribute-type name="binding" required="false">
+ <description>
+ A ValueExpression that evaluates to an instance of
+ FacesBeanValidator.
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="binding" />
+ <attribute-type name="summary" required="false">
+ <description>
+ Summary message for a validation errors.
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="jsfVariables" />
+ <proposal type="bundleProperty" />
+ </attribute-type>
+ <attribute type="summary" />
+ <attribute-type name="id" required="false">
+ <description>
+ Every component may have a unique id that is
+ automatically created if omitted
+ </description>
+ </attribute-type>
+ <attribute type="id" />
+ <attribute-type name="rendered" required="false">
+ <description>
+ If "false", this component is not rendered
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ <proposal type="enumeration">
+ <param value="true" />
+ <param value="false" />
+ </proposal>
+ </attribute-type>
+ <attribute type="rendered" />
+ </element-type>
+ <element-type body-content="allowed" content="mixed"
+ end-tag="required" name="graphValidator" start-tag="required">
+ <description>
+ <![CDATA[Bean validation @ and @validation support.]]>
+ </description>
+ <attribute-type name="binding" required="false">
+ <description>
+ The attribute takes a value-binding expression for a
+ component property of
+ a backing bean
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="binding" />
+ <attribute-type name="id" required="false">
+ <description>
+ Every component may have a unique id that is
+ automatically created if omitted
+ </description>
+ </attribute-type>
+ <attribute type="id" />
+ <attribute-type name="profile" required="false">
+ <description>
+ This attribute is reserved till the implementation of
+ JavaBean Validation feature (JSR-303).
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="profile" />
+ <attribute-type name="summary" required="false">
+ <description>
+ Summary message for a validation errors.
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="jsfVariables" />
+ <proposal type="bundleProperty" />
+ </attribute-type>
+ <attribute type="summary" />
+ <attribute-type name="type" required="false">
+ <description>
+ JSF Validator type, that implements GraphValidator
+ interface.This validator is used for the Graph and input fields
+ validation.
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="jsfVariables" />
+ <proposal type="bundleProperty" />
+ </attribute-type>
+ <attribute type="type" />
+ <attribute-type name="value" required="false">
+ <description>
+ The current value of this component
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="bundleProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="value" />
+ </element-type>
+
+ <element-type body-content="allowed" content="mixed"
+ end-tag="required" name="hotKey" start-tag="required">
+ <description>
+ <![CDATA[The &lt;rich:hotKey&gt; component allows to register hot keys for the page or particular elements and to define client side processing functions for these keys.]]>
+ </description>
+ <attribute-type name="binding" required="false">
+ <description>
+ The attribute takes a value-binding expression for a
+ component property of
+ a backing bean
+ </description>
+ <proposal type="beanProperty" />
+ <proposal type="jsfVariables" />
+ </attribute-type>
+ <attribute type="binding" />
+ <attribute-type name="id" required="false">
+ <description>
+ Every component may have a unique id that is
+ automatically created if omitted
+ </description>
+ </attribute-type>
+ <attribute type="id" />
+ <attribute-type name="checkParent" required="false">
+ <description>
+ Defines the hotkey handling of events generated by child
+ components nested into the parent component to which the &lt;rich:hotKey&gt; is attached.
+ </description>
+ <proposal type="beanProperty"/>
+ <proposal type="jsfVariables"/>
+ <proposal type="bundleProperty"/>
+ <proposal type="enumeration">
+ <param value="true"/>
+ <param value="false"/>
+ </proposal>
+ </attribute-type>
+ <attribute type="checkParent"/>
+ <attribute-type name="disableInInput" required="false">
+ <description>
+ Disables the hotkeys activated on input elements when the value of this attribute is "true".
+ </description>
+ <proposal type="beanProperty"/>
+ <proposal type="jsfVariables"/>
+ <proposal type="bundleProperty"/>
+ <proposal type="enumeration">
+ <param value="true"/>
+ <param value="false"/>
+ </proposal>
+ </attribute-type>
+ <attribute type="disableInInput"/>
+ <attribute-type name="disableInInputTypes" required="false">
+ <description>
+ Defines the types of the inputs not to be influenced with hotKey component. Possible values: buttons, texts and all (default). By default it is empty and this means ALL the types.
+ </description>
+ <proposal type="beanProperty"/>
+ <proposal type="jsfVariables"/>
+ <proposal type="bundleProperty"/>
+ <proposal type="enumeration">
+ <param value="buttons"/>
+ <param value="texts"/>
+ <param value="all"/>
+ </proposal>
+ </attribute-type>
+ <attribute type="disableInInputTypes"/>
+ <attribute-type name="handler" required="false">
+ <description>
+ Defines the JavaScript function name which is called on hotkey activation
+ </description>
+ <proposal type="beanProperty"/>
+ <proposal type="jsfVariables"/>
+ <proposal type="bundleProperty"/>
+ </attribute-type>
+ <attribute type="handler"/>
+ <attribute-type name="type" required="false">
+ <description>
+ JSF Validator type, that implements GraphValidator interface.This validator is used for the Graph and input fields validation.
+ </description>
+ <proposal type="beanProperty"/>
+ <proposal type="jsfVariables"/>
+ <proposal type="bundleProperty"/>
+ </attribute-type>
+ <attribute type="type"/>
+ <attribute-type name="key" required="false">
+ <description>
+ Defines the hotkey itself
+ </description>
+ <proposal type="beanProperty"/>
+ <proposal type="bundleProperty"/>
+ <proposal type="jsfVariables"/>
+ </attribute-type>
+ <attribute type="key"/>
+ <attribute-type name="rendered" required="false">
+ <description>
+ If "false", this component is not rendered
+ </description>
+ <proposal type="beanProperty"/>
+ <proposal type="bundleProperty"/>
+ <proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="true"/>
+ <param value="false"/>
+ </proposal>
+ </attribute-type>
+ <attribute type="rendered"/>
+ <attribute-type name="selector" required="false">
+ <description>
+ Defines a selector for query
+ </description>
+ <proposal type="beanProperty"/>
+ <proposal type="jsfVariables"/>
+ <proposal type="bundleProperty"/>
+ </attribute-type>
+ <attribute type="selector"/>
+ <attribute-type name="timing" required="false">
+ <description>
+ Defines the time when the hotkey is registered. Possible values are "immediate" (by default), "onload", and "onregistercall".
+ Default value is "immediate"
+ </description>
+ <proposal type="beanProperty"/>
+ <proposal type="bundleProperty"/>
+ <proposal type="jsfVariables"/>
+ <proposal type="enumeration">
+ <param value="immediate"/>
+ <param value="onload"/>
+ <param value="onregistercall"/>
+ </proposal>
+ </attribute-type>
+ <attribute type="timing"/>
+ <attribute-type name="type" required="false">
+ <description>
+ Defines the type of a keyboard event (onkeyup, onkeypress, etc.)
+ </description>
+ <proposal type="beanProperty"/>
+ <proposal type="jsfVariables"/>
+ <proposal type="bundleProperty"/>
+ </attribute-type>
+ <attribute type="type"/>
+ </element-type>
+
+
+
+
+
+
<element-type body-content="allowed" content="mixed"
end-tag="required" name="calendar" start-tag="required">
<description>
@@ -31,7 +1151,7 @@
<proposal type="enumeration">
<param value="true"/>
<param value="false"/>
- </proposal>
+ </proposal>
</attribute-type>
<attribute type="ajaxSingle"/>
<attribute-type name="binding" required="false">
15 years, 12 months
JBoss Tools SVN: r13087 - in trunk/jsf: tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: dmaliarevich
Date: 2009-01-16 11:03:01 -0500 (Fri, 16 Jan 2009)
New Revision: 13087
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesDataGridTemplate.java
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/dataGrid.xhtml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/dataGrid.xhtml.xml
Log:
https://jira.jboss.org/jira/browse/JBIDE-3491, DataGrid displays text nodes now, default table size was added.
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesDataGridTemplate.java
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesDataGridTemplate.java 2009-01-16 15:53:54 UTC (rev 13086)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.richfaces/src/org/jboss/tools/jsf/vpe/richfaces/template/RichFacesDataGridTemplate.java 2009-01-16 16:03:01 UTC (rev 13087)
@@ -30,7 +30,12 @@
public class RichFacesDataGridTemplate extends RichFacesDataTableTemplate {
+ /*
+ * https://jira.jboss.org/jira/browse/JBIDE-3491
+ * Set default table size when no attributes are specified.
+ */
private int defaultRows = 3;
+ private int defaultColumns = 1;
private String[] rowClasses;
private String[] columnClasses;
@@ -88,11 +93,16 @@
nsIDOMElement tbody = visualDocument.createElement(HTML.TAG_TBODY);
table.appendChild(tbody);
- // Create mapping to Encode body
- List<Node> children = ComponentUtil.getChildren(sourceElement);
+ /*
+ * https://jira.jboss.org/jira/browse/JBIDE-3491
+ * Add text nodes to children list too.
+ */
+ //Create mapping to Encode body
+ List<Node> children = ComponentUtil.getChildren(sourceElement, true);
sourceElement.getAttribute(RichFaces.ATTR_ELEMENTS);
int elementsCount = getElementsCount(sourceElement, columnsLength);
+
if(columnsLength>0) {
int rowIndex = 0;
for(int elementIndex = 0; elementIndex<elementsCount; rowIndex++) {
@@ -106,9 +116,7 @@
if(!children.isEmpty()) {
VpeChildrenInfo childInfo = new VpeChildrenInfo(td);
for (Node child : children) {
- if (child.getNodeType() == Node.ELEMENT_NODE) {
- childInfo.addSourceChild(child);
- }
+ childInfo.addSourceChild(child);
}
creationData.addChildrenInfo(childInfo);
}
@@ -151,11 +159,11 @@
}
protected int getColumnsCount(Element sourceElement) {
- int count = 0;
+ int count = defaultColumns;
// check for exact value in component
try {
int span = Integer.parseInt(sourceElement.getAttribute(RichFaces.ATTR_COLUMNS));
- count = span > 0 ? span : 0;
+ count = span > 0 ? span : defaultColumns;
} catch (NumberFormatException e) {
// Ignore wrong formatted attribute
}
@@ -163,7 +171,7 @@
}
protected int getElementsCount(Element sourceElement, int columnCount) {
- int elements = 0;
+ int elements = columnCount * defaultRows;
// check for exact value in component
try {
int span = Integer.parseInt(sourceElement.getAttribute(RichFaces.ATTR_ELEMENTS));
Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/dataGrid.xhtml
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/dataGrid.xhtml 2009-01-16 15:53:54 UTC (rev 13086)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/dataGrid.xhtml 2009-01-16 16:03:01 UTC (rev 13087)
@@ -20,6 +20,12 @@
<h:outputText value="#{data.field1}" />
</rich:panel>
</rich:dataGrid>
+
+ <rich:dataGrid value="#{bean.dtList}" var="data" id="dataGrid2">
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+ <h:outputText value="#{data.field1}" />
+ </rich:dataGrid>
+
</h:form>
</body>
</html>
\ No newline at end of file
Modified: trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/dataGrid.xhtml.xml
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/dataGrid.xhtml.xml 2009-01-16 15:53:54 UTC (rev 13086)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.richfaces.test/resources/richFacesTest/WebContent/pages/components/dataGrid.xhtml.xml 2009-01-16 16:03:01 UTC (rev 13087)
@@ -105,4 +105,57 @@
</TBODY>
</TABLE>
</test>
+
+
+ <test id="dataGrid2">
+ <TABLE VALUE="#{bean.dtList}" VAR="data" ID="dataGrid2"
+ CLASS="dr-table rich-table">
+ <COLGROUP SPAN="1">
+ </COLGROUP>
+ <TBODY>
+ <TR CLASS="dr-table-row rich-table-row">
+ <TD CLASS="dr-table-cell rich-table-cell">
+ <SPAN CLASS="vpe-text">
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+</SPAN>
+ <SPAN CLASS="vpe-text">
+ <SPAN CLASS="vpe-text">
+ </SPAN>
+ <SPAN CLASS="vpe-text">
+ #{data.field1}
+</SPAN>
+ </SPAN>
+ </TD>
+ </TR>
+ <TR CLASS="dr-table-row rich-table-row">
+ <TD CLASS="dr-table-cell rich-table-cell">
+ <SPAN CLASS="vpe-text">
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+</SPAN>
+ <SPAN CLASS="vpe-text">
+ <SPAN CLASS="vpe-text">
+ </SPAN>
+ <SPAN CLASS="vpe-text">
+ #{data.field1}
+</SPAN>
+ </SPAN>
+ </TD>
+ </TR>
+ <TR CLASS="dr-table-row rich-table-row">
+ <TD CLASS="dr-table-cell rich-table-cell">
+ <SPAN CLASS="vpe-text">
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+</SPAN>
+ <SPAN CLASS="vpe-text">
+ <SPAN CLASS="vpe-text">
+ </SPAN>
+ <SPAN CLASS="vpe-text">
+ #{data.field1}
+</SPAN>
+ </SPAN>
+ </TD>
+ </TR>
+ </TBODY>
+ </TABLE>
+ </test>
</tests>
\ No newline at end of file
15 years, 12 months
JBoss Tools SVN: r13086 - trunk/seam/docs/reference/en/images/create_new_seam.
by jbosstools-commits@lists.jboss.org
Author: abogachuk
Date: 2009-01-16 10:53:54 -0500 (Fri, 16 Jan 2009)
New Revision: 13086
Added:
trunk/seam/docs/reference/en/images/create_new_seam/create_seam_8.png
Log:
https://jira.jboss.org/jira/browse/JBDS-505 - new image added
Added: trunk/seam/docs/reference/en/images/create_new_seam/create_seam_8.png
===================================================================
(Binary files differ)
Property changes on: trunk/seam/docs/reference/en/images/create_new_seam/create_seam_8.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
15 years, 12 months
JBoss Tools SVN: r13084 - trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.richfaces.
by jbosstools-commits@lists.jboss.org
Author: vrubezhny
Date: 2009-01-16 10:45:54 -0500 (Fri, 16 Jan 2009)
New Revision: 13084
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.richfaces/plugin.xml
Log:
JBIDE-3561 Open-Ons for RichFaces 3.3
RichFaces tags Open-Ons are updated
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.richfaces/plugin.xml
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.richfaces/plugin.xml 2009-01-16 15:44:03 UTC (rev 13083)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.richfaces/plugin.xml 2009-01-16 15:45:54 UTC (rev 13084)
@@ -27,6 +27,16 @@
<axis path="*/[http://richfaces.org/rich]:tree/iconCollapsed/" />
<axis path="*/[http://richfaces.org/rich]:tree/iconExpanded/" />
<axis path="*/[http://richfaces.org/rich]:tree/iconLeaf/" />
+ <axis path="*/[http://richfaces.org/rich]:panelMenu/iconCollapsedGroup/" />
+ <axis path="*/[http://richfaces.org/rich]:panelMenu/iconCollapsedTopGroup/" />
+ <axis path="*/[http://richfaces.org/rich]:panelMenu/iconDisabledGroup/" />
+ <axis path="*/[http://richfaces.org/rich]:panelMenu/iconDisabledItem/" />
+ <axis path="*/[http://richfaces.org/rich]:panelMenu/iconExpandedGroup/" />
+ <axis path="*/[http://richfaces.org/rich]:panelMenu/iconExpandedTopGroup/" />
+ <axis path="*/[http://richfaces.org/rich]:panelMenu/iconItem/" />
+ <axis path="*/[http://richfaces.org/rich]:panelMenu/iconTopDisabledGroup/" />
+ <axis path="*/[http://richfaces.org/rich]:panelMenu/iconTopDisabledItem/" />
+ <axis path="*/[http://richfaces.org/rich]:panelMenu/iconTopItem/" />
</partitionType>
</contentType>
<contentType id="org.eclipse.wst.html.core.htmlsource">
@@ -46,6 +56,16 @@
<axis path="*/[http://richfaces.org/rich]:tree/iconCollapsed/" />
<axis path="*/[http://richfaces.org/rich]:tree/iconExpanded/" />
<axis path="*/[http://richfaces.org/rich]:tree/iconLeaf/" />
+ <axis path="*/[http://richfaces.org/rich]:panelMenu/iconCollapsedGroup/" />
+ <axis path="*/[http://richfaces.org/rich]:panelMenu/iconCollapsedTopGroup/" />
+ <axis path="*/[http://richfaces.org/rich]:panelMenu/iconDisabledGroup/" />
+ <axis path="*/[http://richfaces.org/rich]:panelMenu/iconDisabledItem/" />
+ <axis path="*/[http://richfaces.org/rich]:panelMenu/iconExpandedGroup/" />
+ <axis path="*/[http://richfaces.org/rich]:panelMenu/iconExpandedTopGroup/" />
+ <axis path="*/[http://richfaces.org/rich]:panelMenu/iconItem/" />
+ <axis path="*/[http://richfaces.org/rich]:panelMenu/iconTopDisabledGroup/" />
+ <axis path="*/[http://richfaces.org/rich]:panelMenu/iconTopDisabledItem/" />
+ <axis path="*/[http://richfaces.org/rich]:panelMenu/iconTopItem/" />
</partitionType>
</contentType>
</hyperlinkPartitioner>
@@ -70,6 +90,16 @@
<axis path="*/[http://richfaces.org/rich]:tree/iconCollapsed/" />
<axis path="*/[http://richfaces.org/rich]:tree/iconExpanded/" />
<axis path="*/[http://richfaces.org/rich]:tree/iconLeaf/" />
+ <axis path="*/[http://richfaces.org/rich]:panelMenu/iconCollapsedGroup/" />
+ <axis path="*/[http://richfaces.org/rich]:panelMenu/iconCollapsedTopGroup/" />
+ <axis path="*/[http://richfaces.org/rich]:panelMenu/iconDisabledGroup/" />
+ <axis path="*/[http://richfaces.org/rich]:panelMenu/iconDisabledItem/" />
+ <axis path="*/[http://richfaces.org/rich]:panelMenu/iconExpandedGroup/" />
+ <axis path="*/[http://richfaces.org/rich]:panelMenu/iconExpandedTopGroup/" />
+ <axis path="*/[http://richfaces.org/rich]:panelMenu/iconItem/" />
+ <axis path="*/[http://richfaces.org/rich]:panelMenu/iconTopDisabledGroup/" />
+ <axis path="*/[http://richfaces.org/rich]:panelMenu/iconTopDisabledItem/" />
+ <axis path="*/[http://richfaces.org/rich]:panelMenu/iconTopItem/" />
</partitionType>
</contentType>
<contentType id="org.eclipse.wst.html.core.htmlsource">
@@ -89,6 +119,16 @@
<axis path="*/[http://richfaces.org/rich]:tree/iconCollapsed/" />
<axis path="*/[http://richfaces.org/rich]:tree/iconExpanded/" />
<axis path="*/[http://richfaces.org/rich]:tree/iconLeaf/" />
+ <axis path="*/[http://richfaces.org/rich]:panelMenu/iconCollapsedGroup/" />
+ <axis path="*/[http://richfaces.org/rich]:panelMenu/iconCollapsedTopGroup/" />
+ <axis path="*/[http://richfaces.org/rich]:panelMenu/iconDisabledGroup/" />
+ <axis path="*/[http://richfaces.org/rich]:panelMenu/iconDisabledItem/" />
+ <axis path="*/[http://richfaces.org/rich]:panelMenu/iconExpandedGroup/" />
+ <axis path="*/[http://richfaces.org/rich]:panelMenu/iconExpandedTopGroup/" />
+ <axis path="*/[http://richfaces.org/rich]:panelMenu/iconItem/" />
+ <axis path="*/[http://richfaces.org/rich]:panelMenu/iconTopDisabledGroup/" />
+ <axis path="*/[http://richfaces.org/rich]:panelMenu/iconTopDisabledItem/" />
+ <axis path="*/[http://richfaces.org/rich]:panelMenu/iconTopItem/" />
</partitionType>
</contentType>
</hyperlinkPartitioner>
15 years, 12 months
JBoss Tools SVN: r13083 - in trunk/vpe: tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: mareshkau
Date: 2009-01-16 10:44:03 -0500 (Fri, 16 Jan 2009)
New Revision: 13083
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe.html/src/org/jboss/tools/vpe/html/template/HtmlImgTemplate.java
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/img.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/img.html.xml
Log:
https://jira.jboss.org/jira/browse/JBIDE-3465
Modified: trunk/vpe/plugins/org.jboss.tools.vpe.html/src/org/jboss/tools/vpe/html/template/HtmlImgTemplate.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.html/src/org/jboss/tools/vpe/html/template/HtmlImgTemplate.java 2009-01-16 15:31:00 UTC (rev 13082)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.html/src/org/jboss/tools/vpe/html/template/HtmlImgTemplate.java 2009-01-16 15:44:03 UTC (rev 13083)
@@ -37,7 +37,6 @@
boolean jsfc = false;
nsIDOMElement img = visualDocument.createElement(HTML.TAG_IMG);
-
/*
* Copy all attributes from source node to "img" tag except for "src",
* store "alt" attribute state, check if facelets "jsfc" attribute presents.
@@ -52,15 +51,6 @@
jsfc = true;
continue;
}
-
- if (HTML.ATTR_ALT.equalsIgnoreCase(name)) {
- if ((null == value)
- || ((null != value) && (value.trim()
- .equalsIgnoreCase(VpeStyleUtil.EMPTY_STRING)))) {
- showUnresolvedImage = true;
- continue;
- }
- }
try{
img.setAttribute(name, value);
}catch(XPCOMException ex ) {
@@ -68,32 +58,28 @@
}
}
- /*
- * Add "src" attribute in consideration of "alt" and "jsfc" attributes
- */
- for (int i = 0; i < sourceNode.getAttributes().getLength(); i++) {
- String name = sourceNode.getAttributes().item(i).getNodeName();
- String value = sourceNode.getAttributes().item(i).getNodeValue();
- if (!jsfc && (HTML.ATTR_SRC.equalsIgnoreCase(name))) {
- value = VpeStyleUtil.addFullPathToImgSrc(value, pageContext,
+
+ Element image = (Element) sourceNode;
+
+ if (!jsfc && image.hasAttribute(HTML.ATTR_SRC)) {
+ String src = VpeStyleUtil.addFullPathToImgSrc(image.getAttribute(HTML.ATTR_SRC), pageContext,
showUnresolvedImage);
try {
- img.setAttribute(HTML.ATTR_SRC, value);
+ img.setAttribute(HTML.ATTR_SRC, src);
} catch (XPCOMException ex) {
// just ignore it
}
- } else if ((jsfc) && (HTML.ATTR_VALUE.equalsIgnoreCase(name))) {
+ } else if ((jsfc) && image.hasAttribute(HTML.ATTR_VALUE)) {
/*
* in this case the tag is a facelets's tag
*/
- value = VpeStyleUtil.addFullPathToImgSrc(value, pageContext,
+ String value = VpeStyleUtil.addFullPathToImgSrc(image.getAttribute(HTML.ATTR_VALUE), pageContext,
showUnresolvedImage);
try {
img.setAttribute(HTML.ATTR_SRC, value);
} catch (XPCOMException ex) {
// just ignore it
}
- }
}
@@ -102,11 +88,4 @@
return creationData;
}
- @Override
- public boolean isRecreateAtAttrChange(VpePageContext pageContext,
- Element sourceElement, nsIDOMDocument visualDocument,
- nsIDOMElement visualNode, Object data, String name, String value) {
- return true;
- }
-
}
Modified: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/img.html
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/img.html 2009-01-16 15:31:00 UTC (rev 13082)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/img.html 2009-01-16 15:44:03 UTC (rev 13083)
@@ -4,8 +4,10 @@
<body>
<h1>img</h1>
-
+<div id="img">
<img alt="img" src="img/image.jpeg" id="img" align="top" class="imgClass" border="10" dir="ltr" height="100" hspace="20" ismap="ismap" style="color:red;" vspace="10" width="100" >
-
+<!-- Test for JBIDE-3465 -->
+<IMG alt="" src="http://www.google.com.by/logos/holiday08_4.gif" />
+</div>
</body>
</html>
\ No newline at end of file
Modified: trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/img.html.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/img.html.xml 2009-01-16 15:31:00 UTC (rev 13082)
+++ trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/core/img.html.xml 2009-01-16 15:44:03 UTC (rev 13083)
@@ -1,6 +1,11 @@
<tests>
<test id="img">
- <IMG WIDTH="100" VSPACE="10" HSPACE="20" HEIGHT="100" BORDER="10" ALIGN="top" ALT="img" ID="img" CLASS="imgClass" DIR="ltr" ISMAP="ismap" STYLE="color: red;" SRC="/.*htmlTest/WebContent/pages/components/core/img/image.jpeg/"/>
+ <DIV ID="img" STYLE="-moz-user-modify: read-write;" >
+<IMG WIDTH="100" VSPACE="10" HSPACE="20" HEIGHT="100" BORDER="10" ALIGN="top" ALT="img" ID="img" CLASS="imgClass" ISMAP="ismap" STYLE="color: red;" SRC="/.*htmlTest/WebContent/pages/components/core/img/image.jpeg/"/>
+<!-- Test for JBIDE-3465 -->
+<IMG ALT="" SRC="http://www.google.com.by/logos/holiday08_4.gif"/>
+
+</DIV>
</test>
-</tests>
\ No newline at end of file
+</tests>
15 years, 12 months
JBoss Tools SVN: r13082 - trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.richfaces.
by jbosstools-commits@lists.jboss.org
Author: vrubezhny
Date: 2009-01-16 10:31:00 -0500 (Fri, 16 Jan 2009)
New Revision: 13082
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.richfaces/plugin.xml
Log:
JBIDE-3561 Open-Ons for RichFaces 3.3
RichFaces tags Open-Ons are updated
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.richfaces/plugin.xml
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.richfaces/plugin.xml 2009-01-16 15:09:18 UTC (rev 13081)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.richfaces/plugin.xml 2009-01-16 15:31:00 UTC (rev 13082)
@@ -17,6 +17,16 @@
<axis path="*/[http://richfaces.org/a4j]:commandButton/image/" />
<axis path="*/[http://richfaces.org/a4j]:loadScript/src/" />
<axis path="*/[http://richfaces.org/rich]:insert/src/" />
+ <axis path="*/[http://richfaces.org/rich]:menuGroug/icon/" />
+ <axis path="*/[http://richfaces.org/rich]:menuGroug/iconDisabled/" />
+ <axis path="*/[http://richfaces.org/rich]:menuGroug/iconFolder/" />
+ <axis path="*/[http://richfaces.org/rich]:menuGroug/iconFolderDisabled/" />
+ <axis path="*/[http://richfaces.org/rich]:menuItem/icon/" />
+ <axis path="*/[http://richfaces.org/rich]:menuItem/iconDisabled/" />
+ <axis path="*/[http://richfaces.org/rich]:tree/icon/" />
+ <axis path="*/[http://richfaces.org/rich]:tree/iconCollapsed/" />
+ <axis path="*/[http://richfaces.org/rich]:tree/iconExpanded/" />
+ <axis path="*/[http://richfaces.org/rich]:tree/iconLeaf/" />
</partitionType>
</contentType>
<contentType id="org.eclipse.wst.html.core.htmlsource">
@@ -26,6 +36,16 @@
<axis path="*/[http://richfaces.org/a4j]:commandButton/image/" />
<axis path="*/[http://richfaces.org/a4j]:loadScript/src/" />
<axis path="*/[http://richfaces.org/rich]:insert/src/" />
+ <axis path="*/[http://richfaces.org/rich]:menuGroug/icon/" />
+ <axis path="*/[http://richfaces.org/rich]:menuGroug/iconDisabled/" />
+ <axis path="*/[http://richfaces.org/rich]:menuGroug/iconFolder/" />
+ <axis path="*/[http://richfaces.org/rich]:menuGroug/iconFolderDisabled/" />
+ <axis path="*/[http://richfaces.org/rich]:menuItem/icon/" />
+ <axis path="*/[http://richfaces.org/rich]:menuItem/iconDisabled/" />
+ <axis path="*/[http://richfaces.org/rich]:tree/icon/" />
+ <axis path="*/[http://richfaces.org/rich]:tree/iconCollapsed/" />
+ <axis path="*/[http://richfaces.org/rich]:tree/iconExpanded/" />
+ <axis path="*/[http://richfaces.org/rich]:tree/iconLeaf/" />
</partitionType>
</contentType>
</hyperlinkPartitioner>
@@ -40,6 +60,16 @@
<axis path="*/[http://richfaces.org/a4j]:commandButton/image/" />
<axis path="*/[http://richfaces.org/a4j]:loadScript/src/" />
<axis path="*/[http://richfaces.org/rich]:insert/src/" />
+ <axis path="*/[http://richfaces.org/rich]:menuGroug/icon/" />
+ <axis path="*/[http://richfaces.org/rich]:menuGroug/iconDisabled/" />
+ <axis path="*/[http://richfaces.org/rich]:menuGroug/iconFolder/" />
+ <axis path="*/[http://richfaces.org/rich]:menuGroug/iconFolderDisabled/" />
+ <axis path="*/[http://richfaces.org/rich]:menuItem/icon/" />
+ <axis path="*/[http://richfaces.org/rich]:menuItem/iconDisabled/" />
+ <axis path="*/[http://richfaces.org/rich]:tree/icon/" />
+ <axis path="*/[http://richfaces.org/rich]:tree/iconCollapsed/" />
+ <axis path="*/[http://richfaces.org/rich]:tree/iconExpanded/" />
+ <axis path="*/[http://richfaces.org/rich]:tree/iconLeaf/" />
</partitionType>
</contentType>
<contentType id="org.eclipse.wst.html.core.htmlsource">
@@ -49,6 +79,16 @@
<axis path="*/[http://richfaces.org/a4j]:commandButton/image/" />
<axis path="*/[http://richfaces.org/a4j]:loadScript/src/" />
<axis path="*/[http://richfaces.org/rich]:insert/src/" />
+ <axis path="*/[http://richfaces.org/rich]:menuGroug/icon/" />
+ <axis path="*/[http://richfaces.org/rich]:menuGroug/iconDisabled/" />
+ <axis path="*/[http://richfaces.org/rich]:menuGroug/iconFolder/" />
+ <axis path="*/[http://richfaces.org/rich]:menuGroug/iconFolderDisabled/" />
+ <axis path="*/[http://richfaces.org/rich]:menuItem/icon/" />
+ <axis path="*/[http://richfaces.org/rich]:menuItem/iconDisabled/" />
+ <axis path="*/[http://richfaces.org/rich]:tree/icon/" />
+ <axis path="*/[http://richfaces.org/rich]:tree/iconCollapsed/" />
+ <axis path="*/[http://richfaces.org/rich]:tree/iconExpanded/" />
+ <axis path="*/[http://richfaces.org/rich]:tree/iconLeaf/" />
</partitionType>
</contentType>
</hyperlinkPartitioner>
15 years, 12 months
JBoss Tools SVN: r13081 - trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.richfaces.
by jbosstools-commits@lists.jboss.org
Author: vrubezhny
Date: 2009-01-16 10:09:18 -0500 (Fri, 16 Jan 2009)
New Revision: 13081
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.richfaces/plugin.xml
Log:
JBIDE-3561 Open-Ons for RichFaces 3.3
a4j tags Open-Ons are updates
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.richfaces/plugin.xml
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.richfaces/plugin.xml 2009-01-16 11:41:12 UTC (rev 13080)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.text.ext.richfaces/plugin.xml 2009-01-16 15:09:18 UTC (rev 13081)
@@ -13,12 +13,18 @@
<contentType id="org.eclipse.jst.jsp.core.jspsource">
<partitionType id="org.jboss.tools.common.text.ext.xml.XML_ATTRIBUTE_VALUE">
<axis path="*/[http://richfaces.org/a4j]:include/viewId/" />
+ <axis path="*/[http://richfaces.org/a4j]:loadStyle/src/" />
+ <axis path="*/[http://richfaces.org/a4j]:commandButton/image/" />
+ <axis path="*/[http://richfaces.org/a4j]:loadScript/src/" />
<axis path="*/[http://richfaces.org/rich]:insert/src/" />
</partitionType>
</contentType>
<contentType id="org.eclipse.wst.html.core.htmlsource">
<partitionType id="org.jboss.tools.common.text.ext.xml.XML_ATTRIBUTE_VALUE">
<axis path="*/[http://richfaces.org/a4j]:include/viewId/" />
+ <axis path="*/[http://richfaces.org/a4j]:loadStyle/src/" />
+ <axis path="*/[http://richfaces.org/a4j]:commandButton/image/" />
+ <axis path="*/[http://richfaces.org/a4j]:loadScript/src/" />
<axis path="*/[http://richfaces.org/rich]:insert/src/" />
</partitionType>
</contentType>
@@ -30,12 +36,18 @@
<contentType id="org.eclipse.jst.jsp.core.jspsource">
<partitionType id="org.jboss.tools.common.text.ext.jsp.JSP_LINK" >
<axis path="*/[http://richfaces.org/a4j]:include/viewId/" />
+ <axis path="*/[http://richfaces.org/a4j]:loadStyle/src/" />
+ <axis path="*/[http://richfaces.org/a4j]:commandButton/image/" />
+ <axis path="*/[http://richfaces.org/a4j]:loadScript/src/" />
<axis path="*/[http://richfaces.org/rich]:insert/src/" />
</partitionType>
</contentType>
<contentType id="org.eclipse.wst.html.core.htmlsource">
<partitionType id="org.jboss.tools.common.text.ext.jsp.JSP_LINK" >
<axis path="*/[http://richfaces.org/a4j]:include/viewId/" />
+ <axis path="*/[http://richfaces.org/a4j]:loadStyle/src/" />
+ <axis path="*/[http://richfaces.org/a4j]:commandButton/image/" />
+ <axis path="*/[http://richfaces.org/a4j]:loadScript/src/" />
<axis path="*/[http://richfaces.org/rich]:insert/src/" />
</partitionType>
</contentType>
15 years, 12 months
JBoss Tools SVN: r13080 - trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template.
by jbosstools-commits@lists.jboss.org
Author: dmaliarevich
Date: 2009-01-16 06:41:12 -0500 (Fri, 16 Jan 2009)
New Revision: 13080
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpePanelGridCreator.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-3525, duplicating panel grid content text was removed.
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpePanelGridCreator.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpePanelGridCreator.java 2009-01-16 09:34:54 UTC (rev 13079)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/VpePanelGridCreator.java 2009-01-16 11:41:12 UTC (rev 13080)
@@ -36,8 +36,6 @@
public class VpePanelGridCreator extends VpeAbstractCreator {
- private final String REDUNDANT_TEXT_SEPARATOR = "\n\n"; //$NON-NLS-1$
-
private boolean caseSensitive;
private VpeExpression tableSizeExpr;
private VpeExpression captionClassExpr;
@@ -208,18 +206,16 @@
}
nsIDOMElement div = visualDocument.createElement(HTML.TAG_DIV);
- nsIDOMElement selectionTable = visualDocument
- .createElement(HTML.TAG_TABLE);
+ nsIDOMElement selectionTable = visualDocument.createElement(HTML.TAG_TABLE);
nsIDOMElement tr = visualDocument.createElement(HTML.TAG_TR);
nsIDOMElement td = visualDocument.createElement(HTML.TAG_TD);
-
- td.appendChild(div);
- tr.appendChild(td);
+ nsIDOMElement visualTable = visualDocument.createElement(HTML.TAG_TABLE);
+
selectionTable.appendChild(tr);
-
- nsIDOMElement visualTable = visualDocument
- .createElement(HTML.TAG_TABLE);
-
+ tr.appendChild(td);
+ td.appendChild(div);
+ div.appendChild(visualTable);
+
VpeCreatorInfo creatorInfo = new VpeCreatorInfo(selectionTable);
if (propertyCreators != null) {
@@ -247,179 +243,150 @@
NodeList children = sourceNode.getChildNodes();
int count = children != null ? children.getLength() : 0;
if (count > 0) {
- Node header = null;
- Node footer = null;
- Node caption = null;
- Node[] sourceChildren = new Node[count];
- List<Node> sourceTextChildren = new ArrayList<Node>();
- int childrenCount = 0;
- int textChildrenCount = 0;
- for (int i = 0; i < count; i++) {
- Node node = children.item(i);
- int type = node.getNodeType();
- if (type == Node.ELEMENT_NODE || type == Node.TEXT_NODE
- && node.getNodeValue().trim().length() > 0) {
+ Node header = null;
+ Node footer = null;
+ Node caption = null;
+ Node[] sourceChildren = new Node[count];
+ int childrenCount = 0;
+ for (int i = 0; i < count; i++) {
+ Node node = children.item(i);
+ int type = node.getNodeType();
+ if (type == Node.ELEMENT_NODE || type == Node.TEXT_NODE
+ && node.getNodeValue().trim().length() > 0) {
+ switch (VpeCreatorUtil.getFacetType(node, pageContext)) {
+ case VpeCreatorUtil.FACET_TYPE_HEADER:
+ header = node;
+ break;
+ case VpeCreatorUtil.FACET_TYPE_FOOTER:
+ footer = node;
+ break;
+ case VpeCreatorUtil.FACET_TYPE_CAPTION:
+ caption = node;
+ break;
+ default:
+ sourceChildren[childrenCount] = node;
+ childrenCount++;
+ break;
+ }
+ }
+ }
- /*
- * Fixes http://jira.jboss.com/jira/browse/JBIDE-1944
- * author: Denis Maliarevich
- * Finds all unattended text nodes
- */
- if (type == Node.TEXT_NODE) {
- sourceTextChildren.add(node);
- textChildrenCount++;
- } else {
- switch (VpeCreatorUtil.getFacetType(node, pageContext)) {
- case VpeCreatorUtil.FACET_TYPE_HEADER:
- header = node;
- break;
- case VpeCreatorUtil.FACET_TYPE_FOOTER:
- footer = node;
- break;
- case VpeCreatorUtil.FACET_TYPE_CAPTION:
- caption = node;
- break;
- default:
- sourceChildren[childrenCount] = node;
- childrenCount++;
- break;
- }
- }
- }
+ if (childrenCount > 0) {
+ if (tableSize == 0) {
+ tableSize = childrenCount;
}
+ int rowCount = (childrenCount + tableSize - 1) / tableSize;
- /*
- * Fixes http://jira.jboss.com/jira/browse/JBIDE-1944
- * author: Denis Maliarevich
- * Any text which is placed outside of the tags
- * will be displayed above the table.
- */
- if (textChildrenCount > 0) {
- String redundantText = REDUNDANT_TEXT_SEPARATOR;
- for (Node node : sourceTextChildren) {
- redundantText += node.getNodeValue();
- redundantText += REDUNDANT_TEXT_SEPARATOR;
- }
- div.appendChild(visualDocument.createTextNode(redundantText));
+ nsIDOMElement visualHead = null;
+ nsIDOMElement visualFoot = null;
+ nsIDOMElement visualCaption = null;
+
+ if (caption != null) {
+ visualCaption = visualDocument
+ .createElement(HTML.TAG_CAPTION);
+ visualTable.appendChild(visualCaption);
+ VpeChildrenInfo childrenInfo = new VpeChildrenInfo(
+ visualCaption);
+ childrenInfo.addSourceChild(caption);
+ creatorInfo.addChildrenInfo(childrenInfo);
+ if (captionClassExpr != null
+ && caption.getParentNode() != null) {
+ String captionClass = captionClassExpr.exec(
+ pageContext, caption.getParentNode())
+ .stringValue();
+ visualCaption.setAttribute(HTML.ATTR_CLASS, captionClass);
+ }
+
+ if (captionStyleExpr != null
+ && caption.getParentNode() != null) {
+ String captionStyle = captionStyleExpr.exec(
+ pageContext, caption.getParentNode())
+ .stringValue();
+ visualCaption.setAttribute(HTML.ATTR_STYLE, captionStyle);
+ }
}
- div.appendChild(visualTable);
+ if (header != null) {
+ visualHead = visualDocument.createElement(HTML.TAG_THEAD);
+ visualTable.appendChild(visualHead);
+ }
+ if (footer != null) {
+ visualFoot = visualDocument.createElement(HTML.TAG_TFOOT);
+ visualTable.appendChild(visualFoot);
+ }
- if (childrenCount > 0) {
- if (tableSize == 0) {
- tableSize = childrenCount;
- }
- int rowCount = (childrenCount + tableSize - 1) / tableSize;
+ nsIDOMElement visualBody = visualDocument
+ .createElement(HTML.TAG_TBODY);
+ visualTable.appendChild(visualBody);
- nsIDOMElement visualHead = null;
- nsIDOMElement visualFoot = null;
- nsIDOMElement visualCaption = null;
+ List<String> rowClasses = VpeClassUtil.getClasses(rowClassesExpr, sourceNode,
+ pageContext);
+ List<String> columnClasses = VpeClassUtil.getClasses(columnClassesExpr, sourceNode,
+ pageContext);
- if (caption != null) {
- visualCaption = visualDocument
- .createElement(HTML.TAG_CAPTION);
- visualTable.appendChild(visualCaption);
- VpeChildrenInfo childrenInfo = new VpeChildrenInfo(
- visualCaption);
- childrenInfo.addSourceChild(caption);
- creatorInfo.addChildrenInfo(childrenInfo);
- if (captionClassExpr != null
- && caption.getParentNode() != null) {
- String captionClass = captionClassExpr.exec(
- pageContext, caption.getParentNode())
- .stringValue();
- visualCaption.setAttribute(HTML.ATTR_CLASS, captionClass);
- }
+ int rci = 0; // index of row class
+ for (int i = 0; i < rowCount; i++) {
+ int cci = 0; // index of column class. Reset on every new row.
- if (captionStyleExpr != null
- && caption.getParentNode() != null) {
- String captionStyle = captionStyleExpr.exec(
- pageContext, caption.getParentNode())
- .stringValue();
- visualCaption.setAttribute(HTML.ATTR_STYLE, captionStyle);
- }
+ nsIDOMElement visualRow = visualDocument
+ .createElement(HTML.TAG_TR);
+ if (rowClasses.size() > 0) {
+ visualRow.setAttribute(HTML.ATTR_CLASS, rowClasses.get(rci)
+ .toString());
+ rci++;
+ if (rci >= rowClasses.size())
+ rci = 0;
+ }
+ for (int j = 0; j < tableSize; j++) {
+ if (i*tableSize+j >= childrenCount) {
+ break;
}
- if (header != null) {
- visualHead = visualDocument.createElement(HTML.TAG_THEAD);
- visualTable.appendChild(visualHead);
+ nsIDOMElement visualCell = visualDocument
+ .createElement(HTML.TAG_TD);
+ if (columnClasses.size() > 0) {
+ visualCell.setAttribute(HTML.ATTR_CLASS, columnClasses.get(
+ cci).toString());
+ cci++;
+ if (cci >= columnClasses.size())
+ cci = 0;
}
- if (footer != null) {
- visualFoot = visualDocument.createElement(HTML.TAG_TFOOT);
- visualTable.appendChild(visualFoot);
+ visualRow.appendChild(visualCell);
+ int sourceIndex = tableSize * i + j;
+ if (sourceIndex < childrenCount) {
+ Node child = sourceChildren[sourceIndex];
+ if (child != header && child != footer) {
+ VpeChildrenInfo childrenInfo = new VpeChildrenInfo(
+ visualCell);
+ childrenInfo.addSourceChild(child);
+ creatorInfo.addChildrenInfo(childrenInfo);
+ }
}
+ }
+ if (visualBody != null) {
+ visualBody.appendChild(visualRow);
+ } else {
+ visualTable.appendChild(visualRow);
+ }
+ }
+ makeSpecial(header, visualHead, visualDocument, tableSize,
+ creatorInfo, HTML.TAG_TH, headerClassExpr, pageContext);
+ makeSpecial(footer, visualFoot, visualDocument, tableSize,
+ creatorInfo, HTML.TAG_TD, footerClassExpr, pageContext);
- nsIDOMElement visualBody = visualDocument
- .createElement(HTML.TAG_TBODY);
- visualTable.appendChild(visualBody);
-
- List<String> rowClasses = VpeClassUtil.getClasses(rowClassesExpr, sourceNode,
- pageContext);
- List<String> columnClasses = VpeClassUtil.getClasses(columnClassesExpr, sourceNode,
- pageContext);
-
- int rci = 0; // index of row class
- for (int i = 0; i < rowCount; i++) {
- int cci = 0; // index of column class. Reset on every new row.
-
- nsIDOMElement visualRow = visualDocument
- .createElement(HTML.TAG_TR);
- if (rowClasses.size() > 0) {
- visualRow.setAttribute(HTML.ATTR_CLASS, rowClasses.get(rci)
- .toString());
- rci++;
- if (rci >= rowClasses.size())
- rci = 0;
- }
- for (int j = 0; j < tableSize; j++) {
- if (i*tableSize+j >= childrenCount) {
- break;
- }
- nsIDOMElement visualCell = visualDocument
- .createElement(HTML.TAG_TD);
- if (columnClasses.size() > 0) {
- visualCell.setAttribute(HTML.ATTR_CLASS, columnClasses.get(
- cci).toString());
- cci++;
- if (cci >= columnClasses.size())
- cci = 0;
- }
- visualRow.appendChild(visualCell);
- int sourceIndex = tableSize * i + j;
- if (sourceIndex < childrenCount) {
- Node child = sourceChildren[sourceIndex];
- if (child != header && child != footer) {
- VpeChildrenInfo childrenInfo = new VpeChildrenInfo(
- visualCell);
- childrenInfo.addSourceChild(child);
- creatorInfo.addChildrenInfo(childrenInfo);
- }
- }
- }
- if (visualBody != null) {
- visualBody.appendChild(visualRow);
- } else {
- visualTable.appendChild(visualRow);
- }
+ for (int i = 0; i < propertyCreators.size(); i++) {
+ VpeCreator creator = (VpeCreator) propertyCreators.get(i);
+ if (creator != null) {
+ VpeCreatorInfo info = creator.create(pageContext,
+ sourceNode, visualDocument,
+ visualTable, visualNodeMap);
+ if (info != null && info.getVisualNode() != null) {
+ nsIDOMAttr attr = (nsIDOMAttr) info.getVisualNode();
+ if (attr.getValue().length() > 0) {
+ visualTable.setAttributeNode(attr);
+ }
}
- makeSpecial(header, visualHead, visualDocument, tableSize,
- creatorInfo, HTML.TAG_TH, headerClassExpr, pageContext);
- makeSpecial(footer, visualFoot, visualDocument, tableSize,
- creatorInfo, HTML.TAG_TD, footerClassExpr, pageContext);
-
- for (int i = 0; i < propertyCreators.size(); i++) {
- VpeCreator creator = (VpeCreator) propertyCreators.get(i);
- if (creator != null) {
- VpeCreatorInfo info = creator.create(pageContext,
- sourceNode, visualDocument,
- visualTable, visualNodeMap);
- if (info != null && info.getVisualNode() != null) {
- nsIDOMAttr attr = (nsIDOMAttr) info.getVisualNode();
- if (attr.getValue().length() > 0) {
- visualTable.setAttributeNode(attr);
- }
- }
- }
- }
+ }
}
+ }
}
return creatorInfo;
15 years, 12 months
JBoss Tools SVN: r13079 - trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2009-01-16 04:34:54 -0500 (Fri, 16 Jan 2009)
New Revision: 13079
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/Messages.java
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/Messages.properties
Log:
Some cleanup of unused elements
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/Messages.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/Messages.java 2009-01-16 09:23:13 UTC (rev 13078)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/Messages.java 2009-01-16 09:34:54 UTC (rev 13079)
@@ -159,29 +159,6 @@
public static String ViewExtensionEnablementDescription;
public static String ViewExtensionPreferenceDescription;
- /* Upgrade Wizard to 2.0.0 */
- public static String UpgradeWizardTitle;
- public static String UpgradeWizardDescription;
- public static String UpgradeWizardNoConvertableConfigs;
- public static String UpgradeWizardDetails;
- public static String UpgradeWizardLaunchConfigName;
- public static String UpgradeWizardLaunchHomeDir;
- public static String UpgradeWizardLaunchJBossConfig;
- public static String UpgradeWizardLaunchStartArgs;
- public static String UpgradeWizardLaunchShutdownArgs;
- public static String UpgradeWizardLaunchJRE;
- public static String UpgradeWizardLaunchConvert;
- public static String UpgradeWizardLaunchConfigName2;
- public static String UpgradeWizardLaunchRuntimeName;
- public static String UpgradeWizardLaunchServerName;
- public static String UpgradeWizardLaunchMonitorMainTask;
- public static String UpgradeWizardLaunchMonitorConverting;
- public static String UpgradeWizardLaunchRuntimeNamesInUse;
- public static String UpgradeWizardLaunchServerNamesInUse;
-
- /* Inactive Categories */
- public static String InactiveCategoriesReEnable;
-
public static String DescriptorXPathRemoveCategory;
public static String DescriptorXPathRemoveCategoryDesc;
public static String DescriptorXPathNewXPath;
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/Messages.properties
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/Messages.properties 2009-01-16 09:23:13 UTC (rev 13078)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/Messages.properties 2009-01-16 09:34:54 UTC (rev 13079)
@@ -131,36 +131,10 @@
ViewExtensionPreferenceDescription=Below, you may set or clear any preferences specific to each view extension above. \nSome extensions may have no preferences to set.
-
-# Upgrade Wizard
- UpgradeWizardTitle=Convert JBoss AS Launch Configurations
- UpgradeWizardDescription=Starting and Stopping JBoss is no longer done through simple launch configurations.\nInstead, webtools and its server functionality is being used, which means your launch\nconfigurations must be converted into JBoss "servers" and "runtimes".\n\n This wizard will help with that.
- UpgradeWizardNoConvertableConfigs=You do not have any JBoss launch configurations to convert, so you can just skip this page.
- UpgradeWizardDetails=Details\:
- UpgradeWizardLaunchConfigName=Launch Configuration Name\:
- UpgradeWizardLaunchHomeDir=Home Directory\:
- UpgradeWizardLaunchJBossConfig=JBoss Configuration\:
- UpgradeWizardLaunchStartArgs=Start Args\:
- UpgradeWizardLaunchShutdownArgs=Shutdown Args\:
- UpgradeWizardLaunchJRE=JRE\:
- UpgradeWizardLaunchConvert=Convert?
- UpgradeWizardLaunchConfigName2=Configuration Name
- UpgradeWizardLaunchRuntimeName=Runtime Name
- UpgradeWizardLaunchServerName=Server Name
- UpgradeWizardLaunchMonitorMainTask=Converting Launch Configurations
- UpgradeWizardLaunchMonitorConverting=Converting
- UpgradeWizardLaunchRuntimeNamesInUse=The following runtime names are already in use\:
- UpgradeWizardLaunchServerNamesInUse=The following server names are already in use:
-
-
###########################################
############## view providers
###########################################
-
-#Inactive Categories
-InactiveCategoriesReEnable=Re-enable Category
-
#Descriptor XPath
DescriptorXPathRemoveCategory=Remove Category
DescriptorXPathRemoveCategoryDesc=Are you sure you want to delete this category and\nall of its elements?\n All sub-nodes will be lost.
15 years, 12 months