I got it manually,not using server call..The truth is i'm intending to create an online store with admin backend..It just i haven't figured how to make it..I've tried to follow http://www.keithcraigo.com/archives/66,but when i try it,it doesn't work the way it should be..Do you mind to point what should i do??Thanks a lot valdhor ...
On 7/14/09, valdhor <valdhorli...@embarqmail.com> wrote: > So, how do you get your storeCust arrayCollection? > > When this is populated from the server call, check to see if there is an > admin item. If there is, set admin.visible = true and admin.includeinlayout > = true. > > > --- In flexcoders@yahoogroups.com, Yesaya handoyo <yongha...@...> wrote: >> >> I put the code on pastebin,here are the link.. >> http://www.pastebin.org/1296 >> Anyway,do you mind to give me an example for returning different >> data??Thanks a lot... >> >> On 7/13/09, valdhor <valdhorli...@...> wrote: >> > If I were to do this I would return different data depending on user or >> > admin login. The dataprovider would remain the same - just the data >> > would >> > change. >> > >> > >> > --- In flexcoders@yahoogroups.com, "yonghan79" <yonghan79@> wrote: >> >> >> >> Hi all,i'm trying to change Flex 3 ToggleButtonBar dataprovider on user >> >> or >> >> admin log in..I'm trying to use 2 viewstack,one for user,one for admin >> >> and >> >> i got a component where the login form is in the component..What should >> >> i >> >> do to define the dataprovider on the mainbased on user log in??Thanks a >> >> lot... >> >> >> > >> > >> > >> > > >