JBoss Rich Faces SVN: r2527 - trunk/ui/tree/src/main/java/org/richfaces/renderkit.
by richfaces-svn-commits@lists.jboss.org
Author: maksimkaszynski
Date: 2007-08-28 06:58:22 -0400 (Tue, 28 Aug 2007)
New Revision: 2527
Modified:
trunk/ui/tree/src/main/java/org/richfaces/renderkit/NodeRendererBase.java
Log:
fixed build
Modified: trunk/ui/tree/src/main/java/org/richfaces/renderkit/NodeRendererBase.java
===================================================================
--- trunk/ui/tree/src/main/java/org/richfaces/renderkit/NodeRendererBase.java 2007-08-28 10:35:49 UTC (rev 2526)
+++ trunk/ui/tree/src/main/java/org/richfaces/renderkit/NodeRendererBase.java 2007-08-28 10:58:22 UTC (rev 2527)
@@ -244,7 +244,7 @@
new CollapseNodeCommandEvent(tree, key).queue();
}
- if (Boolean.valueOf((String) requestMap.get(id + AJAX_EXPANDED_SUFFIX))) {
+ if (Boolean.valueOf((String) requestMap.get(id + AJAX_EXPANDED_SUFFIX)).booleanValue()) {
new AjaxExpandedEvent(node).queue();
new AjaxExpandedEvent(tree).queue();
} else {
17 years, 4 months
JBoss Rich Faces SVN: r2526 - in trunk/ui/scrollableDataTable/src/main: templates/org/richfaces and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: konstantin.mishin
Date: 2007-08-28 06:35:49 -0400 (Tue, 28 Aug 2007)
New Revision: 2526
Modified:
trunk/ui/scrollableDataTable/src/main/resources/org/richfaces/renderkit/html/css/scrollable-data-table.xcss
trunk/ui/scrollableDataTable/src/main/templates/org/richfaces/scrollable-data-table-header-cell.jspx
Log:
RF-733
Modified: trunk/ui/scrollableDataTable/src/main/resources/org/richfaces/renderkit/html/css/scrollable-data-table.xcss
===================================================================
--- trunk/ui/scrollableDataTable/src/main/resources/org/richfaces/renderkit/html/css/scrollable-data-table.xcss 2007-08-28 10:21:41 UTC (rev 2525)
+++ trunk/ui/scrollableDataTable/src/main/resources/org/richfaces/renderkit/html/css/scrollable-data-table.xcss 2007-08-28 10:35:49 UTC (rev 2526)
@@ -94,7 +94,6 @@
* Header cell body
*/
.dr-sdt-hcbody {
- cursor: default;
white-space: nowrap;
position: relative;
display: block;
Modified: trunk/ui/scrollableDataTable/src/main/templates/org/richfaces/scrollable-data-table-header-cell.jspx
===================================================================
--- trunk/ui/scrollableDataTable/src/main/templates/org/richfaces/scrollable-data-table-header-cell.jspx 2007-08-28 10:21:41 UTC (rev 2525)
+++ trunk/ui/scrollableDataTable/src/main/templates/org/richfaces/scrollable-data-table-header-cell.jspx 2007-08-28 10:35:49 UTC (rev 2526)
@@ -14,6 +14,15 @@
<th class="dr-sdt-hc rich-sdt-header-cell #{headerColumnClass}" id="#{client_id}:hc_#{cell_index}" columnIndex="#{cell_index}" sortable="#{component.attributes['sortable']}">
+ <jsp:scriptlet>
+
+ if(Boolean.TRUE.equals(component.getAttributes().get("sortable"))) {
+ getUtils().writeAttribute(writer, "style", "cursor:pointer" );
+
+ }
+
+ </jsp:scriptlet>
+
<vcp:body/>
<jsp:scriptlet>
17 years, 4 months
JBoss Rich Faces SVN: r2525 - trunk/docs/userguide/en/src/main/docbook.
by richfaces-svn-commits@lists.jboss.org
Author: smukhina
Date: 2007-08-28 06:21:41 -0400 (Tue, 28 Aug 2007)
New Revision: 2525
Modified:
trunk/docs/userguide/en/src/main/docbook/master.xml
Log:
the components chapter first paragraph was changed
Modified: trunk/docs/userguide/en/src/main/docbook/master.xml
===================================================================
--- trunk/docs/userguide/en/src/main/docbook/master.xml 2007-08-28 08:29:28 UTC (rev 2524)
+++ trunk/docs/userguide/en/src/main/docbook/master.xml 2007-08-28 10:21:41 UTC (rev 2525)
@@ -71,8 +71,7 @@
<chapter role="NotInToc" id="RichFacesComponentsLibrary" xreflabel="RichFacesComponentsLibrary">
<?dbhtml filename="RichFacesComponentsLibrary.html"?>
<title>The RichFaces Components</title>
-<para>The library encompasses ready-made components built based on the <emphasis role="italic"><property>Ajax4jsf Component Factory</property></emphasis>. To find out more about the Component Factory, go to the
- <ulink url="http://www.jboss.org/projects/jbossajax4jsf">Ajax4jsf project</ulink>.</para>
+<para>The library encompasses ready-made components built based on the <emphasis><property>Rich Faces CDK</property></emphasis>.</para>
<!--
&richfaces_table;
-->
17 years, 4 months
JBoss Rich Faces SVN: r2524 - trunk/test-applications/jsp/src/main/webapp/Calendar.
by richfaces-svn-commits@lists.jboss.org
Author: ayanul
Date: 2007-08-28 04:29:28 -0400 (Tue, 28 Aug 2007)
New Revision: 2524
Modified:
trunk/test-applications/jsp/src/main/webapp/Calendar/Calendar.jsp
Log:
update
Modified: trunk/test-applications/jsp/src/main/webapp/Calendar/Calendar.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/Calendar/Calendar.jsp 2007-08-28 08:18:10 UTC (rev 2523)
+++ trunk/test-applications/jsp/src/main/webapp/Calendar/Calendar.jsp 2007-08-28 08:29:28 UTC (rev 2524)
@@ -6,6 +6,7 @@
<%@ taglib uri="http://richfaces.org/rich" prefix="rich" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
+<f:view>
<html>
<head>
<title></title>
@@ -22,14 +23,13 @@
}
</style>
</head>
- <body>
- <f:view>
+ <f:subview id="calendarID">
<a4j:outputPanel ajaxRendered="true">
<h:messages />
</a4j:outputPanel>
<h:form>
<rich:calendar
- id="calendar"
+ id="calendar"
data="#{calendarDataModel}"
locale="#{calendarBean.locale}"
popup="#{calendarBean.popup}"
@@ -128,6 +128,7 @@
<h:form>
<h:commandLink value="Back" action="main"></h:commandLink>
</h:form>
- </f:view>
- </body>
-</html>
\ No newline at end of file
+
+ </f:subview>
+</html>
+</f:view>
\ No newline at end of file
17 years, 4 months
JBoss Rich Faces SVN: r2523 - in trunk/ui: inputnumber-spinner/src/main/resources/org/richfaces/renderkit/html/script and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: a.izobov
Date: 2007-08-28 04:18:10 -0400 (Tue, 28 Aug 2007)
New Revision: 2523
Modified:
trunk/ui/inputnumber-slider/src/main/resources/org/richfaces/renderkit/html/script/SliderScript.js
trunk/ui/inputnumber-spinner/src/main/resources/org/richfaces/renderkit/html/script/SpinnerScript.js
Log:
http://jira.jboss.com/jira/browse/RF-635
Modified: trunk/ui/inputnumber-slider/src/main/resources/org/richfaces/renderkit/html/script/SliderScript.js
===================================================================
--- trunk/ui/inputnumber-slider/src/main/resources/org/richfaces/renderkit/html/script/SliderScript.js 2007-08-28 03:41:43 UTC (rev 2522)
+++ trunk/ui/inputnumber-slider/src/main/resources/org/richfaces/renderkit/html/script/SliderScript.js 2007-08-28 08:18:10 UTC (rev 2523)
@@ -183,9 +183,11 @@
}
sliderValue = this.getNearestValue(sliderValue);
this.value = sliderValue;
- this.handle.style.left = this.translateToPx(sliderValue);
if (!this.editInFocus && (this.required || "" != this.input.value || this.updating)){
this.input.value = this.value;
+ this.handle.style.left = this.translateToPx(sliderValue);
+ } else {
+ this.handle.style.left = "-2px";
}
if (!this.tip.firstChild) {
this.tip.appendChild(window.document.createTextNode(this.value));
Modified: trunk/ui/inputnumber-spinner/src/main/resources/org/richfaces/renderkit/html/script/SpinnerScript.js
===================================================================
--- trunk/ui/inputnumber-spinner/src/main/resources/org/richfaces/renderkit/html/script/SpinnerScript.js 2007-08-28 03:41:43 UTC (rev 2522)
+++ trunk/ui/inputnumber-spinner/src/main/resources/org/richfaces/renderkit/html/script/SpinnerScript.js 2007-08-28 08:18:10 UTC (rev 2523)
@@ -42,39 +42,47 @@
switchItems: function( e ) {
var editValue = this.controls.edit.value;
if (e == 'up'){
- editValue -= this.delta*-1;
- editValue = this.roundFloat(editValue);
- if ( editValue <= this.max && editValue >= this.min){
- this.controls.edit.value = editValue;
+ if ("" == editValue) {
+ this.controls.edit.value = this.min;
} else {
- if (this.cycled){
- if (this.delta>0){
- this.controls.edit.value = this.min;
+ editValue -= this.delta*-1;
+ editValue = this.roundFloat(editValue);
+ if ( editValue <= this.max && editValue >= this.min){
+ this.controls.edit.value = editValue;
+ } else {
+ if (this.cycled){
+ if (this.delta>0){
+ this.controls.edit.value = this.min;
+ } else {
+ this.controls.edit.value = this.max;
+ }
} else {
+ this.error();
+ this.controls.fireEditEvent("error");
this.controls.edit.value = this.max;
}
- } else {
- this.error();
- this.controls.fireEditEvent("error");
- this.controls.edit.value = this.max;
}
}
} else {
- editValue -= this.delta;
- editValue = this.roundFloat(editValue);
- if (editValue >= this.min && editValue <= this.max){
- this.controls.edit.value = editValue;
+ if ("" == editValue) {
+ this.controls.edit.value = this.max;
} else {
- if (this.cycled){
- if (this.delta<0){
+ editValue -= this.delta;
+ editValue = this.roundFloat(editValue);
+ if (editValue >= this.min && editValue <= this.max){
+ this.controls.edit.value = editValue;
+ } else {
+ if (this.cycled){
+ if (this.delta<0){
+ this.controls.edit.value = this.min;
+ } else {
+ this.controls.edit.value = this.max;
+ }
+ } else {
+ this.error();
+ this.controls.fireEditEvent("error");
this.controls.edit.value = this.min;
- } else {
- this.controls.edit.value = this.max;
}
- } else {
- this.error();
- this.controls.fireEditEvent("error");
- this.controls.edit.value = this.min;
}
}
}
17 years, 4 months
JBoss Rich Faces SVN: r2522 - in trunk: samples/richfaces-demo/src/main/webapp/richfaces and 3 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: SergeySmirnov
Date: 2007-08-27 23:41:43 -0400 (Mon, 27 Aug 2007)
New Revision: 2522
Added:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/insert/examples/groovy.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/insert/snippets/sample.groovy
Removed:
trunk/samples/richfaces-demo/src/main/webapp/richfaces/insert/examples/ajaxSubmit.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/insert/snippets/commandLinkProblem.xhtml
Modified:
trunk/docs/taglibxsl/
trunk/samples/richfaces-demo/src/main/webapp/richfaces/insert/usage.xhtml
trunk/samples/richfaces-demo/src/main/webapp/richfaces/support.xhtml
Log:
demo. insert is added
Property changes on: trunk/docs/taglibxsl
___________________________________________________________________
Name: svn:ignore
+ target
Deleted: trunk/samples/richfaces-demo/src/main/webapp/richfaces/insert/examples/ajaxSubmit.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/insert/examples/ajaxSubmit.xhtml 2007-08-27 18:41:07 UTC (rev 2521)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/insert/examples/ajaxSubmit.xhtml 2007-08-28 03:41:43 UTC (rev 2522)
@@ -1,37 +0,0 @@
-<ui:composition xmlns="http://www.w3.org/1999/xhtml"
- xmlns:ui="http://java.sun.com/jsf/facelets"
- xmlns:h="http://java.sun.com/jsf/html"
- xmlns:f="http://java.sun.com/jsf/core"
- xmlns:a4j="http://richfaces.org/a4j"
- xmlns:rich="http://richfaces.org/rich">
-
- <h:panelGrid columns="2">
- <rich:panel>
- <f:facet name="header">
- <h:outputText value="Form with ajaxSubmit equals true"/>
- </f:facet>
-
- <a4j:form ajaxSubmit="true" reRender="name">
- <h:panelGrid>
- <h:commandButton value="Set Local Name to John (Ajax)" action="#{userBean.nameItJohn}" />
- <h:outputText id="name" value="Name:#{userBean.name}" />
- </h:panelGrid>
- </a4j:form>
- </rich:panel>
-
- <rich:panel>
- <f:facet name="header">
- <h:outputText value="Form with ajaxSubmit equals false"/>
- </f:facet>
-
- <a4j:form>
- <h:panelGrid>
- <h:commandButton value="Set Both Name to Mark (non-Ajax)" action="#{userBean.nameItMark}" />
- <h:outputText id="name" value="Name:#{userBean.name}" />
- </h:panelGrid>
- </a4j:form>
-
- </rich:panel>
-
- </h:panelGrid>
-</ui:composition>
\ No newline at end of file
Copied: trunk/samples/richfaces-demo/src/main/webapp/richfaces/insert/examples/groovy.xhtml (from rev 2513, trunk/samples/richfaces-demo/src/main/webapp/richfaces/insert/examples/ajaxSubmit.xhtml)
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/insert/examples/groovy.xhtml (rev 0)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/insert/examples/groovy.xhtml 2007-08-28 03:41:43 UTC (rev 2522)
@@ -0,0 +1,13 @@
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:ui="http://java.sun.com/jsf/facelets"
+ xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:a4j="http://richfaces.org/a4j"
+ xmlns:rich="http://richfaces.org/rich">
+
+
+
+ <rich:insert src="/richfaces/insert/snippets/sample.groovy" highlight="groovy" />
+
+
+</ui:composition>
\ No newline at end of file
Deleted: trunk/samples/richfaces-demo/src/main/webapp/richfaces/insert/snippets/commandLinkProblem.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/insert/snippets/commandLinkProblem.xhtml 2007-08-27 18:41:07 UTC (rev 2521)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/insert/snippets/commandLinkProblem.xhtml 2007-08-28 03:41:43 UTC (rev 2522)
@@ -1,13 +0,0 @@
- ....
- <-- This code does not work correctly after the link is re-rendered -->
- <h:form>
- ....
- <a4j:commandButton value="Update Non-Ajax Link" reRender="panel" />
- ....
- <h:panelGrid id="panel">
- ....
- <h:commandLink value="Non-Ajax Submit" action="foo" />
- ....
- </h:panelGrid>
- ....
- </h:form>
\ No newline at end of file
Added: trunk/samples/richfaces-demo/src/main/webapp/richfaces/insert/snippets/sample.groovy
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/insert/snippets/sample.groovy (rev 0)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/insert/snippets/sample.groovy 2007-08-28 03:41:43 UTC (rev 2522)
@@ -0,0 +1,9 @@
+double[] values = new double[8]
+
+i = 0
+[1, 2, 3, 4, 5, 6, 7, 8].each {
+ println it
+ values[i++] = it
+ // uncomment the next line and it works fine!!
+ //println it
+}
\ No newline at end of file
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/insert/usage.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/insert/usage.xhtml 2007-08-27 18:41:07 UTC (rev 2521)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/insert/usage.xhtml 2007-08-28 03:41:43 UTC (rev 2522)
@@ -7,7 +7,26 @@
xmlns:rich="http://richfaces.org/rich">
<ui:composition template="/templates/component-sample.xhtml">
<ui:define name="sample">
- <p>placeholder</p>
+ <p>rich:insert component allows to insert and, optionally, format the file from the appication
+ context to the page. The context relative path to the file is specified with <b>src</b>
+ attribute.
+ </p>
+ <p>
+ <b>highlight</b> attribute defined the type of syntax highlighting. If this attribute is
+ specified, the inserting text is formated and the keywords are colorized using
+ <a href="https://jhighlight.dev.java.net/" target="_blank">jhighlight
+ open source</a> library. You need to have jhighlight.jar in the classpath to have this feature
+ enabled. The following example shows the groovy code snippet inserted and highlighted:
+ </p>
+
+
+ <div class="sample-container">
+ <ui:include src="/richfaces/insert/examples/groovy.xhtml"/>
+ <ui:include src="/templates/include/sourceview.xhtml">
+ <ui:param name="sourcepath" value="/richfaces/insert/examples/groovy.xhtml"/>
+ <ui:param name="openlabel" value="View Page Source" />
+ </ui:include>
+ </div>
</ui:define>
</ui:composition>
Modified: trunk/samples/richfaces-demo/src/main/webapp/richfaces/support.xhtml
===================================================================
--- trunk/samples/richfaces-demo/src/main/webapp/richfaces/support.xhtml 2007-08-27 18:41:07 UTC (rev 2521)
+++ trunk/samples/richfaces-demo/src/main/webapp/richfaces/support.xhtml 2007-08-28 03:41:43 UTC (rev 2522)
@@ -7,14 +7,15 @@
<ui:composition template="/templates/main.xhtml">
<ui:define name="title">RichFaces - Open Source Rich JSF Components - Ajax Support</ui:define>
<ui:define name="body">
- <ui:remove>
+
<rich:tabPanel switchType="server" styleClass="top_tab" contentClass="content_tab" headerClass="header_tabs_class" inactiveTabClass="inactive_tab" activeTabClass="active_tab">
<rich:tab label="Usage">
<ui:include src="/richfaces/support/usage.xhtml"/>
</rich:tab>
+ <rich:tab label="Documentation">
+ <rich:insert src="/doc/support/tagInfo.html"/>
+ </rich:tab>
</rich:tabPanel>
- </ui:remove>
- <ui:include src="/richfaces/support/usage.xhtml"/>
</ui:define>
-</ui:composition>
+ </ui:composition>
</html>
17 years, 4 months
JBoss Rich Faces SVN: r2521 - trunk/framework/api/src/main/java/org/richfaces/event.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2007-08-27 14:41:07 -0400 (Mon, 27 Aug 2007)
New Revision: 2521
Added:
trunk/framework/api/src/main/java/org/richfaces/event/AjaxExpandedEvent.java
Log:
http://jira.jboss.com/jira/browse/RF-700 fixed, demo application updated
Added: trunk/framework/api/src/main/java/org/richfaces/event/AjaxExpandedEvent.java
===================================================================
--- trunk/framework/api/src/main/java/org/richfaces/event/AjaxExpandedEvent.java (rev 0)
+++ trunk/framework/api/src/main/java/org/richfaces/event/AjaxExpandedEvent.java 2007-08-27 18:41:07 UTC (rev 2521)
@@ -0,0 +1,41 @@
+/**
+ * License Agreement.
+ *
+ * JBoss RichFaces - Ajax4jsf Component Library
+ *
+ * Copyright (C) 2007 Exadel, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1 as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+package org.richfaces.event;
+
+import javax.faces.component.UIComponent;
+
+/**
+ *
+ * <br /><br />
+ *
+ * Created 27.08.2007
+ * @author mikalaj
+ * @since 3.1
+ */
+
+public class AjaxExpandedEvent extends NodeExpandedEvent {
+
+ public AjaxExpandedEvent(UIComponent component) {
+ super(component);
+ }
+
+}
17 years, 4 months
JBoss Rich Faces SVN: r2520 - in trunk/samples/tree-demo/src/main: webapp/pages and 1 other directory.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2007-08-27 14:40:44 -0400 (Mon, 27 Aug 2007)
New Revision: 2520
Modified:
trunk/samples/tree-demo/src/main/java/org/richfaces/Bean.java
trunk/samples/tree-demo/src/main/webapp/pages/index.jsp
Log:
http://jira.jboss.com/jira/browse/RF-700 fixed, demo application updated
Modified: trunk/samples/tree-demo/src/main/java/org/richfaces/Bean.java
===================================================================
--- trunk/samples/tree-demo/src/main/java/org/richfaces/Bean.java 2007-08-27 18:40:24 UTC (rev 2519)
+++ trunk/samples/tree-demo/src/main/java/org/richfaces/Bean.java 2007-08-27 18:40:44 UTC (rev 2520)
@@ -22,11 +22,9 @@
package org.richfaces;
import java.io.IOException;
-import java.util.HashSet;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.Map;
-import java.util.Set;
import javax.faces.FacesException;
import javax.faces.application.Application;
@@ -87,6 +85,8 @@
private int counter1 = 0;
+ private int counter2 = 0;
+
public String getIcon() {
return icon;
}
@@ -210,8 +210,10 @@
public void setReRenderValue(boolean value) {
if (value) {
- Set set = tree.getOrCreateDetachableRowKeys();
- set.add(tree.getRowKey());
+ tree.addRequestKey(tree.getRowKey());
+ FacesContext context = FacesContext.getCurrentInstance();
+ AjaxContext ajaxContext = AjaxContext.getCurrentInstance(context);
+ ajaxContext.getAjaxAreasToRender().add(tree.getClientId(context));
}
}
@@ -219,13 +221,7 @@
counter ++;
UITree tree = getTree(event);
- TreeRowKey key = (TreeRowKey)tree.getRowKey();
- Set keys = tree.getAjaxKeys();
- if (keys == null)
- {
- keys = new HashSet();
- tree.setAjaxKeys(keys);
- }
+ tree.addRequestKey(tree.getRowKey());
AjaxContext ajaxCtx = AjaxContext.getCurrentInstance();
FacesContext fctx = FacesContext.getCurrentInstance();
@@ -234,11 +230,10 @@
for (int i = 0; i < 5; i++)
{
ListRowKey dirtyKey = new ListRowKey(Integer.toString(i));
- keys.add(dirtyKey);
+ tree.addRequestKey(dirtyKey);
tree.setRowKey(dirtyKey);
ajaxCtx.addComponentToAjaxRender(tree.getParent(), tree.getClientId(fctx));
}
- tree.setRowKey(key);
}
private void initData() {
@@ -457,8 +452,11 @@
return counter1;
}
+ public int getCounter2() {
+ return counter2++;
+ }
+
public void incCounter1() {
- tree.setAjaxKeys(null);
counter1++;
}
}
\ No newline at end of file
Modified: trunk/samples/tree-demo/src/main/webapp/pages/index.jsp
===================================================================
--- trunk/samples/tree-demo/src/main/webapp/pages/index.jsp 2007-08-27 18:40:24 UTC (rev 2519)
+++ trunk/samples/tree-demo/src/main/webapp/pages/index.jsp 2007-08-27 18:40:44 UTC (rev 2520)
@@ -59,6 +59,8 @@
</head>
<body>
<f:view>
+ <h:outputText id="counter" value="#{bean.counter2}" />
+
<a4j:outputPanel ajaxRendered="true">
<h:messages />
</a4j:outputPanel>
@@ -134,6 +136,7 @@
icon="#{bean.icon}"
dropListener="#{bean.processDrop}"
styleClass="#{bean.styleClass}"
+ reRender=":counter"
>
<f:facet name="icon">
17 years, 4 months
JBoss Rich Faces SVN: r2519 - in trunk/ui/tree/src/main/java/org/richfaces: component/events and 1 other directories.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2007-08-27 14:40:24 -0400 (Mon, 27 Aug 2007)
New Revision: 2519
Modified:
trunk/ui/tree/src/main/java/org/richfaces/component/UITree.java
trunk/ui/tree/src/main/java/org/richfaces/component/UITreeNode.java
trunk/ui/tree/src/main/java/org/richfaces/component/events/TreeEvents.java
trunk/ui/tree/src/main/java/org/richfaces/renderkit/NodeRendererBase.java
trunk/ui/tree/src/main/java/org/richfaces/renderkit/TreeRendererBase.java
Log:
http://jira.jboss.com/jira/browse/RF-700 fixed, demo application updated
Modified: trunk/ui/tree/src/main/java/org/richfaces/component/UITree.java
===================================================================
--- trunk/ui/tree/src/main/java/org/richfaces/component/UITree.java 2007-08-27 18:39:37 UTC (rev 2518)
+++ trunk/ui/tree/src/main/java/org/richfaces/component/UITree.java 2007-08-27 18:40:24 UTC (rev 2519)
@@ -22,10 +22,8 @@
package org.richfaces.component;
import java.io.IOException;
-import java.util.HashSet;
import java.util.Iterator;
import java.util.Map;
-import java.util.Set;
import javax.faces.application.Application;
import javax.faces.component.NamingContainer;
@@ -38,7 +36,9 @@
import javax.faces.event.FacesListener;
import javax.faces.event.PhaseId;
+import org.ajax4jsf.component.AjaxComponent;
import org.ajax4jsf.component.UIDataAdaptor;
+import org.ajax4jsf.context.AjaxContext;
import org.ajax4jsf.event.AjaxEvent;
import org.ajax4jsf.model.DataComponentState;
import org.ajax4jsf.model.DataVisitor;
@@ -53,6 +53,8 @@
import org.richfaces.component.state.events.ExpandAllCommandEvent;
import org.richfaces.component.state.events.ExpandNodeCommandEvent;
import org.richfaces.component.state.events.TreeStateCommandEvent;
+import org.richfaces.event.AjaxExpandedEvent;
+import org.richfaces.event.AjaxSelectedEvent;
import org.richfaces.event.DragEvent;
import org.richfaces.event.DragListener;
import org.richfaces.event.DropEvent;
@@ -77,7 +79,7 @@
*/
public abstract class UITree extends UIDataAdaptor implements
-TreeListenerEventsProducer, Draggable, Dropzone {
+TreeListenerEventsProducer, Draggable, Dropzone, AjaxComponent {
public static final String COMPONENT_TYPE = "org.richfaces.Tree";
@@ -98,9 +100,6 @@
public final static String SELECTED_NODE_PARAMETER_NAME = NamingContainer.SEPARATOR_CHAR
+ "selectedNode";
- public final static String LAST_ELEMENT_FLAG = NamingContainer.SEPARATOR_CHAR
- + "lastElement";
-
public static final String SELECTION_INPUT_ATTRIBUTE = "_selectionInput";
public final static String DEFAULT_SELECTED_CSS_CLASS = "dr-tree-i-sel";
@@ -109,8 +108,6 @@
private UITreeNode defaultFacet;
- private Set detachableRowKeys;
-
public UITree() {
super();
@@ -359,8 +356,7 @@
AbstractTreeDataModel extendedDataModel = (AbstractTreeDataModel) getExtendedDataModel();
extendedDataModel.walkModel(faces, visitor,
(TreeRange) range, key, argument,
- faces.getExternalContext().getRequestParameterMap().get(
- getBaseClientId(faces) + LAST_ELEMENT_FLAG) != null);
+ false);
}
public String getSelectionStateInputName(FacesContext context) {
@@ -499,11 +495,23 @@
setSelected();
}
+ if (event instanceof AjaxSelectedEvent || event instanceof AjaxExpandedEvent) {
+ Object key = getRowKey();
+ if (key != null) {
+ this.addRequestKey(key);
+ }
+
+ FacesContext facesContext = getFacesContext();
+ AjaxContext ajaxContext = AjaxContext.getCurrentInstance(facesContext);
+ ajaxContext.getAjaxAreasToRender().add(this.getClientId(facesContext));
+ }
+
// fire node events
TreeEvents.invokeListenerBindings(this, event, getFacesContext());
if (event instanceof AjaxEvent) {
- AjaxRendererUtils.addRegionsFromComponent(this, getFacesContext());
+ FacesContext facesContext = getFacesContext();
+ AjaxRendererUtils.addRegionsFromComponent(this, facesContext);
}
}
@@ -818,22 +826,6 @@
return null;
}
-
-
- public Set getDetachableRowKeys() {
- return detachableRowKeys;
- }
-
- public void resetDetachableRowKeys() {
- detachableRowKeys = null;
- }
-
- public Set getOrCreateDetachableRowKeys() {
- if (detachableRowKeys == null) {
- detachableRowKeys = new HashSet();
- }
- return detachableRowKeys;
- }
}
Modified: trunk/ui/tree/src/main/java/org/richfaces/component/UITreeNode.java
===================================================================
--- trunk/ui/tree/src/main/java/org/richfaces/component/UITreeNode.java 2007-08-27 18:39:37 UTC (rev 2518)
+++ trunk/ui/tree/src/main/java/org/richfaces/component/UITreeNode.java 2007-08-27 18:40:24 UTC (rev 2519)
@@ -12,6 +12,7 @@
import javax.faces.event.AbortProcessingException;
import javax.faces.event.FacesEvent;
+import org.ajax4jsf.component.AjaxComponent;
import org.ajax4jsf.event.AjaxEvent;
import org.ajax4jsf.renderkit.AjaxRendererUtils;
import org.richfaces.component.events.TreeEvents;
@@ -29,7 +30,7 @@
*/
public abstract class UITreeNode extends UIComponentBase implements
-TreeListenerEventsProducer, Draggable, Dropzone {
+TreeListenerEventsProducer, Draggable, Dropzone, AjaxComponent {
private String dragType;
private Object acceptedTypes;
Modified: trunk/ui/tree/src/main/java/org/richfaces/component/events/TreeEvents.java
===================================================================
--- trunk/ui/tree/src/main/java/org/richfaces/component/events/TreeEvents.java 2007-08-27 18:39:37 UTC (rev 2518)
+++ trunk/ui/tree/src/main/java/org/richfaces/component/events/TreeEvents.java 2007-08-27 18:40:24 UTC (rev 2519)
@@ -27,6 +27,7 @@
import javax.faces.event.FacesEvent;
import org.ajax4jsf.event.AjaxEvent;
+import org.richfaces.event.AjaxExpandedEvent;
import org.richfaces.event.AjaxSelectedEvent;
import org.richfaces.event.DragEvent;
import org.richfaces.event.DropEvent;
@@ -53,14 +54,14 @@
if (event instanceof NodeExpandedEvent) {
binding = eventsProducer.getChangeExpandListener();
- } else if (event instanceof AjaxSelectedEvent) {
- if (eventsProducer.hasAjaxSubmitSelection()) {
- binding = eventsProducer.getNodeSelectListener();
-
+ if (event instanceof AjaxExpandedEvent) {
new AjaxEvent(event.getComponent()).queue();
}
} else if (event instanceof NodeSelectedEvent) {
binding = eventsProducer.getNodeSelectListener();
+ if (event instanceof AjaxSelectedEvent && eventsProducer.hasAjaxSubmitSelection()) {
+ new AjaxEvent(event.getComponent()).queue();
+ }
} else if (event instanceof DropEvent) {
binding = eventsProducer.getDropListener();
} else if (event instanceof DragEvent) {
Modified: trunk/ui/tree/src/main/java/org/richfaces/renderkit/NodeRendererBase.java
===================================================================
--- trunk/ui/tree/src/main/java/org/richfaces/renderkit/NodeRendererBase.java 2007-08-27 18:39:37 UTC (rev 2518)
+++ trunk/ui/tree/src/main/java/org/richfaces/renderkit/NodeRendererBase.java 2007-08-27 18:40:24 UTC (rev 2519)
@@ -4,11 +4,8 @@
package org.richfaces.renderkit;
import java.io.IOException;
-import java.util.HashMap;
-import java.util.HashSet;
import java.util.Iterator;
import java.util.Map;
-import java.util.Set;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
@@ -27,6 +24,7 @@
import org.richfaces.component.state.events.CollapseNodeCommandEvent;
import org.richfaces.component.state.events.ExpandNodeCommandEvent;
import org.richfaces.component.util.ViewUtil;
+import org.richfaces.event.AjaxExpandedEvent;
import org.richfaces.event.AjaxSelectedEvent;
import org.richfaces.event.NodeExpandedEvent;
import org.richfaces.event.NodeSelectedEvent;
@@ -39,25 +37,12 @@
public abstract class NodeRendererBase extends CompositeRenderer {
protected static final String NODE_EXPANDED_INPUT_SUFFIX = "NodeExpanded";
+ protected static final String AJAX_EXPANDED_SUFFIX = "AjaxExpanded";
private static class TreeNodeOptions extends ScriptOptions {
public TreeNodeOptions(UIComponent component) {
super(component);
-
- Map params = new HashMap();
-
- if (((Boolean) (component.getAttributes().get("isLastElement")))
- .booleanValue()) {
-
- UITree tree = ((UITreeNode) component).getUITree();
-
- params.put(tree.getBaseClientId(FacesContext
- .getCurrentInstance())
- + UITree.LAST_ELEMENT_FLAG, Boolean.TRUE);
- }
-
- addOption("parameters", params);
}
}
@@ -90,14 +75,8 @@
parameters.put(id + NODE_EXPANDED_INPUT_SUFFIX, String.valueOf(!tree
.isExpanded()));
+ parameters.put(id + AJAX_EXPANDED_SUFFIX, Boolean.TRUE);
- boolean isLast = false;
- if (((Boolean) (treeNode.getAttributes().get("isLastElement")))
- .booleanValue()) {
- parameters.put(tree.getBaseClientId(context)
- + UITree.LAST_ELEMENT_FLAG, Boolean.TRUE);
- isLast=true;
- }
function.addParameter(eventOptions);
StringBuffer buffer = new StringBuffer();
@@ -265,18 +244,12 @@
new CollapseNodeCommandEvent(tree, key).queue();
}
- new NodeExpandedEvent(node).queue();
- new NodeExpandedEvent(tree).queue();
-
- if (UITree.SWITCH_AJAX.equals(tree.getSwitchType()) && AjaxRendererUtils.isAjaxRequest(context)) {
- Set ajaxKeys = tree.getAjaxKeys();
- if (ajaxKeys == null) {
- ajaxKeys = new HashSet();
-
- tree.setAjaxKeys(ajaxKeys);
- }
-
- ajaxKeys.add(key);
+ if (Boolean.valueOf((String) requestMap.get(id + AJAX_EXPANDED_SUFFIX))) {
+ new AjaxExpandedEvent(node).queue();
+ new AjaxExpandedEvent(tree).queue();
+ } else {
+ new NodeExpandedEvent(node).queue();
+ new NodeExpandedEvent(tree).queue();
}
}
}
Modified: trunk/ui/tree/src/main/java/org/richfaces/renderkit/TreeRendererBase.java
===================================================================
--- trunk/ui/tree/src/main/java/org/richfaces/renderkit/TreeRendererBase.java 2007-08-27 18:39:37 UTC (rev 2518)
+++ trunk/ui/tree/src/main/java/org/richfaces/renderkit/TreeRendererBase.java 2007-08-27 18:40:24 UTC (rev 2519)
@@ -23,12 +23,12 @@
import java.io.IOException;
import java.util.ArrayList;
+import java.util.Collections;
import java.util.Comparator;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Set;
-import java.util.TreeSet;
import javax.faces.FacesException;
import javax.faces.component.NamingContainer;
@@ -59,7 +59,7 @@
public int compare(Object key1, Object key2) {
TreeRowKey treeRowKey1 = (TreeRowKey) key1;
TreeRowKey treeRowKey2 = (TreeRowKey) key2;
-
+
if (treeRowKey1 == null) {
if (treeRowKey2 == null) {
return 0;
@@ -71,20 +71,20 @@
return 1;
}
}
-
+
Iterator iterator1 = treeRowKey1.iterator();
Iterator iterator2 = treeRowKey2.iterator();
-
+
while (iterator1.hasNext() && iterator2.hasNext()) {
String id1 = iterator1.next().toString();
String id2 = iterator2.next().toString();
-
+
int cr = id1.compareTo(id2);
if (cr != 0) {
return cr;
}
}
-
+
if (iterator1.hasNext()) {
return 1;
} else if (iterator2.hasNext()) {
@@ -94,9 +94,9 @@
}
}
};
-
+
private final class RendererDataModelEventNavigator extends
- TreeDataModelEventNavigator {
+ TreeDataModelEventNavigator {
private final FacesContext context;
private final UITree tree;
private final Flag droppedDownToLevelFlag;
@@ -105,7 +105,7 @@
private String clientId;
private boolean expanded;
private boolean showLines;
-
+
private RendererDataModelEventNavigator(UITree tree,
TreeRowKey floatingKey, FacesContext context, Flag droppedDownToLevelFlag) {
super(tree, floatingKey);
@@ -113,7 +113,7 @@
this.tree = tree;
this.droppedDownToLevelFlag = droppedDownToLevelFlag;
this.writer = context.getResponseWriter();
-
+
this.expanded = this.tree.isExpanded();
this.showLines = this.tree.isShowConnectingLines();
this.clientId = getClientId();
@@ -125,7 +125,7 @@
this.expanded = this.tree.isExpanded();
this.clientId = getClientId();
}
-
+
private String getClientId() {
Object rowKey = tree.getRowKey();
String id;
@@ -146,7 +146,7 @@
closeDiv();
droppedDownToLevelFlag.setContext(null);
}
-
+
//writer.write("** afterUp **");
for (int i = 0; i < levels; i++) {
closeDiv();
@@ -157,23 +157,23 @@
public void afterDown() throws IOException {
}
-
+
public void beforeDown() throws IOException {
Context c = droppedDownToLevelFlag.getContext();
droppedDownToLevelFlag.setContext(null);
openDiv(c);
//writer.write("** beforeDown **");
-
+
//if (this.getRowKey()==null ) openDiv();
}
public void beforeUp(int levels) throws IOException {
}
-
+
public void openDiv(Context context) throws IOException {
writer.startElement("div", tree);
-
+
if (context == null) {
context = new Context();
context.setLast(this.actualLast);
@@ -181,9 +181,9 @@
context.setExpanded(this.expanded);
context.setRowKey(this.getRowKey());
}
-
+
getUtils().writeAttribute(writer, "id", context.getClientId() + "childs");
-
+
if (!context.isExpanded()) {
getUtils().writeAttribute(writer, "style", "display: none;");
} else {
@@ -196,7 +196,7 @@
}
}
}
-
+
String styleClasses = "";
if (context.getRowKey() != null) {
styleClasses = "dr-tree-layout-on dr-tree-h-ic-div rich-tree-node-cildren";
@@ -204,7 +204,7 @@
}
if (styleClasses!="") getUtils().writeAttribute(writer, "class", styleClasses);
}
-
+
public void closeDiv() throws IOException {
writer.endElement("div");
}
@@ -220,7 +220,7 @@
private final UITree tree;
private final RendererDataModelEventNavigator navigator;
-
+
private TreeStateAdvisor methodBindingAdvisor = null;
private Object floatingKey;
@@ -236,7 +236,7 @@
public void process(FacesContext context, Object rowKey, Object argument)
throws IOException {
processAdvisors(context, (TreeRowKey)rowKey);
-
+
navigator.followRowKey(context, (TreeRowKey) rowKey);
Context c = flag.getContext();
@@ -244,7 +244,7 @@
navigator.openDiv(c);
navigator.closeDiv();
}
-
+
UITreeNode nodeFacet = tree.getNodeFacet();
Object oldAttrValue = nodeFacet.getAttributes().get("isLastElement");
Object oldAjaxRootAttrValue = nodeFacet.getAttributes().get("isAjaxUpdateRoot");
@@ -257,17 +257,17 @@
writer.writeAttribute("class", "dr-tree-last-node-marker", null);
writer.endElement("p");
}
-
+
renderChild(context, nodeFacet);
-
+
c = new Context();
c.setClientId(nodeFacet.getClientId(context) + NamingContainer.SEPARATOR_CHAR);
c.setLast(this.isLastElement);
c.setExpanded(tree.isExpanded());
c.setRowKey(tree.getRowKey());
flag.setContext(c);
-
+
//writer.write("** after renderChild **");
//navigator.openDiv();
} finally {
@@ -294,11 +294,11 @@
isLastElement = false;
navigator.resetLastElement();
}
-
+
public void processAdvisors(FacesContext context, TreeRowKey rowKey) throws IOException {
TreeState componentState = (TreeState) tree.getComponentState();
TreeStateAdvisor stateAdvisor = (TreeStateAdvisor)tree.getStateAdvisor();
-
+
if (null == stateAdvisor) {
if (null == methodBindingAdvisor) {
methodBindingAdvisor = new TreeStateAdvisor() {
@@ -309,7 +309,7 @@
}
return null;
}
-
+
public Boolean adviseNodeSelected(UITree tree) {
MethodBinding adviseNodeSelected = tree.getAdviseNodeSelected();
if (null != adviseNodeSelected) {
@@ -321,7 +321,7 @@
}
stateAdvisor = methodBindingAdvisor;
}
-
+
Boolean adviseOpened = stateAdvisor.adviseNodeOpened(tree);
if (null != adviseOpened) {
if (adviseOpened.booleanValue()) {
@@ -355,7 +355,7 @@
super();
addContributor(DraggableRendererContributor.getInstance());
addContributor(DropzoneRendererContributor.getInstance());
-
+
addParameterEncoder(DnDParametersEncoder.getInstance());
}
@@ -370,6 +370,9 @@
try {
if (component instanceof UITree) {
UITree tree = (UITree) component;
+
+ String id = path + tree.getId();
+
tree.captureOrigValue();
//Object rowKey = tree.getRowKey();
@@ -384,20 +387,17 @@
writeNamespace(context, component);
List encodedAreaIds = new ArrayList();
-
+
try {
- Set ajaxKeys = tree.getAjaxKeys();
+ Set ajaxKeys = tree.getAllAjaxKeys();
if (ajaxKeys != null) {
- Set keys = tree.getDetachableRowKeys();
- Set sortedKeys = new TreeSet(treeRowKeyComparator);
+ List sortedKeys = new ArrayList(ajaxKeys.size());
sortedKeys.addAll(ajaxKeys);
- if (keys != null) {
- sortedKeys.addAll(keys);
- }
+ Collections.sort(sortedKeys, treeRowKeyComparator);
Iterator ajaxKeysItr = sortedKeys.iterator();
TreeRowKey lastKey = null;
boolean nullRoot = false;
-
+
while (!nullRoot && ajaxKeysItr.hasNext()) {
TreeRowKey key = (TreeRowKey) ajaxKeysItr.next();
@@ -411,33 +411,31 @@
continue;
}
}
-
+
if (key == null || key.depth() == 0) {
nullRoot = true;
key = null;
}
-
+
tree.setRowKey(context, key);
-
- String id;
+
+ String treeClientId;
if (key == null) {
- id = tree.getClientId(context);
+ treeClientId = tree.getClientId(context);
} else {
- id = tree.getNodeFacet().getClientId(context);
+ treeClientId = tree.getNodeFacet().getClientId(context);
}
- String treeChildrenId = id + NamingContainer.SEPARATOR_CHAR + "childs";
- if (ids.isEmpty() || ids.contains(id) || ids.contains(tree.getClientId(context))/* handle tree updates requests */) {
+ if (ids.contains(tree.getClientId(context)) || ids.contains(id)) {
+ String treeChildrenId = treeClientId + NamingContainer.SEPARATOR_CHAR + "childs";
writeContent(context, tree, key);
encodeScripts = true;
- renderedAreas.add(id);
- encodedAreaIds.add(id);
-
+ renderedAreas.add(treeClientId);
+ encodedAreaIds.add(treeClientId);
+
renderedAreas.add(treeChildrenId);
//encodedAreaIds.add(id+":childs");
}
}
-
- tree.resetDetachableRowKeys();
//ajaxKeys.clear();
}
} catch (Exception e) {
@@ -460,6 +458,7 @@
}
responseWriter.endElement("div");
+ tree.clearRequestKeysSet();
}
} finally {
try {
@@ -494,13 +493,13 @@
String selectionHolderInputId = tree.getSelectionStateInputName(context);
writer.writeAttribute("id", selectionHolderInputId, null);
writer.writeAttribute("name", selectionHolderInputId, null);
-
+
writer.writeAttribute("value", result, null);
writer.endElement("input");
-
+
return selectionHolderInputId;
}
-
+
protected String getAjaxScript(FacesContext context, UITree tree) {
String id = tree.getBaseClientId(context);
JSFunction function = AjaxRendererUtils
@@ -540,9 +539,9 @@
String varName = getJavaScriptVarName(context, tree);
writer.writeText(varName + ".getNodeElements(" +
- ScriptUtils.toScript(encodedAreaIds) + ");", null);
-
+ ScriptUtils.toScript(encodedAreaIds) + ");", null);
+
writer.endElement("script");
writer.endElement("div");
@@ -573,11 +572,11 @@
final Flag droppedDownToLevelFlag = new Flag();
TreeRowKey rowKey = (TreeRowKey) key;
-
+
//Object savedRowKey = input.getRowKey();
try {
input.captureOrigValue();
-
+
if (key != null) {
droppedDownToLevelFlag.setContext(null);
//openLevelDownTable(context, input, writer);
@@ -598,12 +597,12 @@
public boolean processNode(TreeRowKey rowKey) {
Object currentKey = input.getRowKey();
-
+
if (currentKey == null ? rowKey != null : !currentKey.equals(rowKey)) {
//currentKey NE rowKey
input.setRowKey(context, rowKey);
}
-
+
UITreeNode nodeFacet = input.getNodeFacet();
if (!nodeFacet.isRendered()) {
return false;
@@ -611,9 +610,9 @@
return stateRange.processNode(rowKey);
}
-
+
};
-
+
input.walk(context, new DataVisitorWithLastElement(droppedDownToLevelFlag, input,
levelNavigator, key), treeRange, key, null);
@@ -631,7 +630,7 @@
class Flag {
private Context context;
-
+
public Context getContext() {
return context;
}
17 years, 4 months
JBoss Rich Faces SVN: r2518 - trunk/ui/tree/src/main/config/component.
by richfaces-svn-commits@lists.jboss.org
Author: nbelaevski
Date: 2007-08-27 14:39:37 -0400 (Mon, 27 Aug 2007)
New Revision: 2518
Modified:
trunk/ui/tree/src/main/config/component/tree.xml
trunk/ui/tree/src/main/config/component/treeNode.xml
Log:
http://jira.jboss.com/jira/browse/RF-699 fixed
Modified: trunk/ui/tree/src/main/config/component/tree.xml
===================================================================
--- trunk/ui/tree/src/main/config/component/tree.xml 2007-08-27 18:36:15 UTC (rev 2517)
+++ trunk/ui/tree/src/main/config/component/tree.xml 2007-08-27 18:39:37 UTC (rev 2518)
@@ -51,6 +51,7 @@
<defaultvalue>false</defaultvalue>
</property>
&ui_component_attributes;
+ &ajax_component_attributes;
&html_style_attributes;
&html_events;
Modified: trunk/ui/tree/src/main/config/component/treeNode.xml
===================================================================
--- trunk/ui/tree/src/main/config/component/treeNode.xml 2007-08-27 18:36:15 UTC (rev 2517)
+++ trunk/ui/tree/src/main/config/component/treeNode.xml 2007-08-27 18:39:37 UTC (rev 2518)
@@ -126,6 +126,7 @@
<description>An icon for component leaves</description>
</property>
&commonTreeClientListeners;
+ &ajax_component_attributes;
<property>
<name>dragValue</name>
17 years, 4 months