| View previous topic :: View next topic   | 
	
	
	
		| Author | 
		Message | 
	
	
		bywuu
 
 
  Joined: 04 Aug 2011 Posts: 29
 
  | 
		
			
				 Posted: Fri Sep 02, 2011 3:45 am    Post subject: Do you have any better idea about the Menu? | 
				     | 
			 
			
				
  | 
			 
			
				Hi,
 
For now ,I want to make a menu,it looks like:
 
 
 	  | Code: | 	 		  
 
myApp->password(here should enter password)
 
                           ->product1->total num->........
 
                              product2->total num
 
                              product3->total num
 
                              product4->total num
 
 | 	  
 
 
I checked many examples and I found it is not easy to make this kind of node at the begging,all your examples are all looks like:
 
 	  | Code: | 	 		  
 
App->option1(no need to enter anything)
 
                           ->option2->option6->........
 
                              option3->...                             
 
                              option4->...
 
                              option5->...
 
 | 	  
 
So I can only use the spider_append_r (ctx, &product1);spider_append_r (ctx, &product2);......
 
and I have problems when I need to come back ,it always go back to the very begging immediately.
 
 
So,do you have better idea on how to set up the menu when I need to enter something and then go into next menu?
 
 
Thanks! | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		bywuu
 
 
  Joined: 04 Aug 2011 Posts: 29
 
  | 
		
			
				 Posted: Fri Sep 02, 2011 6:04 am    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				| And,what if I want to jump back from opantion6 to opantion1?How to do that? | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		pz
 
 
  Joined: 12 Mar 2004 Posts: 1161
 
  | 
		
			
				 Posted: Fri Sep 02, 2011 8:58 am    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				As for password node see wallet or id apps.
 
 
Id app is esp. good example for you as it implements list of dynamically created nodes. | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		bywuu
 
 
  Joined: 04 Aug 2011 Posts: 29
 
  | 
		
			
				 Posted: Fri Sep 02, 2011 9:22 am    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				Thank you pz!
 
 
And where can I find these two examples   ?Can you give me the link? | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		pz
 
 
  Joined: 12 Mar 2004 Posts: 1161
 
  | 
		 | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		 |