You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							36 lines
						
					
					
						
							622 B
						
					
					
				
			
		
		
	
	
							36 lines
						
					
					
						
							622 B
						
					
					
				<?php | 
						|
 | 
						|
// Request encoding/decoding skipped to make things simple | 
						|
 | 
						|
// user should see progress indicator | 
						|
sleep(3); | 
						|
 | 
						|
 | 
						|
extract($_REQUEST); | 
						|
 | 
						|
if ($action == 'getChildren') { | 
						|
?> | 
						|
([{title:"load1",isFolder:true,objectId:"myobj"},{title:"load2",isFolder:true,objectId:"myobj"},{title:"singleChild",children:[ {title:"leaf"}  ]}]) | 
						|
<? | 
						|
	return; | 
						|
} | 
						|
 | 
						|
if ($action == 'createChild') { | 
						|
?> | 
						|
dojo.debug("server gave new title");({title:"action successful: createChild",objectId:666}) | 
						|
<? | 
						|
	return; | 
						|
} | 
						|
 | 
						|
if ($action == 'editLabelSave') { | 
						|
?> | 
						|
dojo.debug("server gave new title");({title:"action successful: editLabelSave"}) | 
						|
<? | 
						|
return; | 
						|
} | 
						|
 | 
						|
?> | 
						|
({}) | 
						|
 | 
						|
 | 
						|
 | 
						|
 |