From richfaces-svn-commits at lists.jboss.org Fri Nov 2 11:10:40 2007 Content-Type: multipart/mixed; boundary="===============4534865635688093167==" MIME-Version: 1.0 From: richfaces-svn-commits at lists.jboss.org To: richfaces-svn-commits at lists.jboss.org Subject: [richfaces-svn-commits] JBoss Rich Faces SVN: r3722 - in trunk: docs/userguide/en/src/main/docbook/included and 1 other directories. Date: Fri, 02 Nov 2007 11:10:40 -0400 Message-ID: --===============4534865635688093167== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: vkorluzhenko Date: 2007-11-02 11:10:39 -0400 (Fri, 02 Nov 2007) New Revision: 3722 Modified: trunk/cdk/generator/src/main/resources/META-INF/schema/entities/draggabl= e_attributes.ent trunk/docs/userguide/en/src/main/docbook/included/tree.xml trunk/ui/tree/src/main/config/component/tree.xml Log: http://jira.jboss.com/jira/browse/RF-696 - fixed errors in description of a= ttributes Modified: trunk/cdk/generator/src/main/resources/META-INF/schema/entities/d= raggable_attributes.ent =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/cdk/generator/src/main/resources/META-INF/schema/entities/draggab= le_attributes.ent 2007-11-02 15:08:10 UTC (rev 3721) +++ trunk/cdk/generator/src/main/resources/META-INF/schema/entities/draggab= le_attributes.ent 2007-11-02 15:10:39 UTC (rev 3722) @@ -7,12 +7,12 @@ dragType java.lang.String - + dragIndicator java.lang.String - + ondragstart Modified: trunk/docs/userguide/en/src/main/docbook/included/tree.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/docs/userguide/en/src/main/docbook/included/tree.xml 2007-11-02 1= 5:08:10 UTC (rev 3721) +++ trunk/docs/userguide/en/src/main/docbook/included/tree.xml 2007-11-02 1= 5:10:39 UTC (rev 3722) @@ -46,8 +46,9 @@ Creating the Component with a Page Tag There are two cases for a tree definition: together with <rich:recursiveTreeNodesAdaptor> - or - <rich:treeNodesAdaptor> and wi= thout them. In the first case, it's possible to define it without + or + <rich:treeNodesAdaptor> + and without them. In the first case, it's possible = to define it without "value" and "var" @@ -101,7 +102,8 @@ There is a default class "TreeNodeImpl", which is a default implementation for TreeNode interface. TreeNode has attribut= e "data" - which value is available as a request scope variable wit= h a name that is defined by + which value is available as a request scope variable wit= h a name that is defined + by "var" attribute of a tree component. Built-In Drag and Drop The - <rich: tree> - component functionality provides a built-in support for Dr= ag and Drop operations. + <rich: tree> + component functionality provides a built-in support for = Drag and Drop operations. The main usage principles are the same as for RichFaces DnD wrapper = components. Hence, to get additional information on the topic, read the corresponding chapters= :"rich:dndParam", = - "rich:dragSupport", = - "rich:dragIndicator", = - "rich:dropSupport". A= s = - treeNodes could be Drag, Drop or DnD elements, = a tree can include the following - attributes groups. + >"rich:dndParam", "rich:dragSupport", "rich:dragIndicator", "rich:dropSupport". As treeNodes could be + Drag, Drop or DnD elements, a tree can include = the following attributes + groups. Drag attributes group dragValue - Element value drag passing into processing after a Drop= event. + Element value drag passing into processing after a Drop= event dragListener - A listener that processes a Drag event. + A listener that processes a Drag event dragIndicator - An indicator component id. + Id of a component that is used as drag pointer during t= he drag operation dragType - A Drag zone name used to define whether processing is n= ecessary with a Drop zone - or not. + Defines a drag zone type that is used for definition of= a dragged element, which + can be accepted by a drop zone @@ -380,7 +382,8 @@ request sending on this event is defined)dropListener processes a Drop eventdragListener processes a Drug event - changeExpandListener processes expand/collapse event of a = treeNode + changeExpandListener processes expand/collapse event of a + treeNode = Listener methods can be defined using the following @@ -403,12 +406,11 @@ "onmousedown" , "onmouseover" - and etc. could be used. Event handlers of a + and etc. could be used. Event handlers of a <rich:tree> - component capture events occured - on any tree part. But event handlers of treeNode capture events occured on treeNode only, - except for children events. + component capture events occured on any tree part. But event + handlers of treeNode capture events occured on + treeNode only, except for children events.
Look-and-Feel Customization @@ -422,7 +424,7 @@ to redefine corresponding skin parameters to add style classes - used by the tree to your page style= sheets + used by the tree to your page sty= le sheets
@@ -430,7 +432,7 @@ There is only one skin parameter for the tree since <rich:tree> - is a wrapper component for treeNodes.= Look and feel is + is a wrapper component for treeNodes. Look and feel is described in details in the "treeNod= e" chapter.
Modified: trunk/ui/tree/src/main/config/component/tree.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/ui/tree/src/main/config/component/tree.xml 2007-11-02 15:08:10 UT= C (rev 3721) +++ trunk/ui/tree/src/main/config/component/tree.xml 2007-11-02 15:10:39 UT= C (rev 3722) @@ -53,7 +53,7 @@ &ui_component_attributes; &ajax_component_attributes; &html_style_attributes; - &html_events; + &html_events; = stateVar @@ -111,7 +111,7 @@ dragIndicator java.lang.String - An indicator component id + Id of a component that is used as drag pointer during the = drag operation value @@ -194,7 +194,7 @@ dragValue = java.lang.Object - Data to be sent to the drop zone after a drop event + Data to be sent to the drop zone after a drop event getRowKey() @@ -203,53 +203,53 @@ dropValue = java.lang.Object - Data to be processed after a drop event + Data to be processed after a drop event getRowKey() - - = - - toggleOnClick - boolean - - If "false" do not toggle node state on click. - If "true", than node will be toggles on click on ether node content, = - or node icon. = - Default value is false. - - false + + = + + toggleOnClick + boolean + + If "false" do not toggle node state on click. + If "true", than node will be toggles on click on ether node content, = + or node icon. = + Default value is false. + + false - - - stateAdvisor - java.lang.Object + + + stateAdvisor + java.lang.Object ValueBinding pointing at instance of class implementing org.richfaces.comp= onent.state.TreeStateAdvisor interface. - - - - adviseNodeOpened - javax.faces.el.MethodBinding + + + + adviseNodeOpened + javax.faces.el.MethodBinding MethodBinding pointing at a method accepting an org.richfaces.component.UI= Tree with return of java.lang.Boolean type. If returned value is: java.lang.Boolean. TRUE, a particular treeNode is expanded; java.lang.Boolean.FALSE, a particular treeNode is collapsed; null, a particular treeNode saves the current state - - org.richfaces.component.UITree - - - adviseNodeSelected - javax.faces.el.MethodBinding + + org.richfaces.component.UITree + + + adviseNodeSelected + javax.faces.el.MethodBinding MethodBinding pointing at a method accepting an org.richfaces.component.UI= Tree with return of java.lang.Boolean type. If returned value is: java.lang.Boolean. TRUE, a particular treeNode is selected; java.lang.Boolean.FALSE, a particular treeNode is unselected; null, a particular treeNode saves the current state - - org.richfaces.component.UITree + + org.richfaces.component.UITree = --===============4534865635688093167==--