Author: sergeyhalipov
Date: 2008-03-06 08:10:01 -0500 (Thu, 06 Mar 2008)
New Revision: 6592
Modified:
trunk/ui/tree/src/main/java/org/richfaces/component/UITreeNode.java
Log:
http://jira.jboss.com/jira/browse/RF-765
http://jira.jboss.com/jira/browse/RF-2315
Modified: trunk/ui/tree/src/main/java/org/richfaces/component/UITreeNode.java
===================================================================
--- trunk/ui/tree/src/main/java/org/richfaces/component/UITreeNode.java 2008-03-06
12:39:55 UTC (rev 6591)
+++ trunk/ui/tree/src/main/java/org/richfaces/component/UITreeNode.java 2008-03-06
13:10:01 UTC (rev 6592)
@@ -304,12 +304,23 @@
}
public Object saveState(FacesContext context) {
- Object[] state = new Object[5];
+ Object[] state = new Object[16];
state[0] = super.saveState(context);
state[1] = this.dragType;
state[2] = this.acceptedTypes;
state[3] = this.dragIndicator;
state[4] = this.reRender;
+ state[5] = this.oncomplete;
+ state[6] = new Boolean(this.ajaxSingle);
+ state[7] = new Boolean(this.bypassUpdates);
+ state[8] = new Boolean(this.limitToList);
+ state[9] = this.status;
+ state[10] = this.eventsQueue;
+ state[11] = new Integer(this.requestDelay);
+ state[12] = this.focus;
+ state[13] = this.data;
+ state[14] = new Boolean(this.ignoreDupResponses);
+ state[15] = new Integer(this.timeout);
return state;
}
@@ -321,6 +332,17 @@
this.acceptedTypes = _state[2];
this.dragIndicator = (String) _state[3];
this.reRender = (Object) _state[4];
+ this.oncomplete = (String) _state[5];
+ this.ajaxSingle = ((Boolean)_state[6]).booleanValue();
+ this.bypassUpdates = ((Boolean)_state[7]).booleanValue();
+ this.limitToList = ((Boolean)_state[8]).booleanValue();
+ this.status = (String) _state[9];
+ this.eventsQueue = (String) _state[10];
+ this.requestDelay = ((Integer)_state[11]).intValue();
+ this.focus = (String) _state[12];
+ this.data = _state[13];
+ this.ignoreDupResponses = ((Boolean)_state[14]).booleanValue();
+ this.timeout = ((Integer)_state[15]).intValue();
}
public void setDragIndicator(String dragIndicator) {