Why do you need to remove it?  You have to manually navigate a
ViewStack, so build the navigation piece with the logic to exclude the
admin view.

 

Tracy

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of gotjosh819i
Sent: Friday, April 27, 2007 10:58 AM
To: [email protected]
Subject: [flexcoders] Hiding Viewstack elements in a toggleButtonBar
dataprovider

 

Good morning all,

I am working on a project that requires some level permissions. I have 
a main viewstack that I call viewController and theres some elements in 
there.

One of them in a Admin view that I would like to hide if the user 
doesnt have those permissions.

I am struggling a little bit on how to do this, the visible property 
doesnt remove the viewstack element from the dataprovider when its set 
to false.

Any suggestions that may lead me down the right path is appreciated.

Thanks,

Josh

 

Reply via email to