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 [email protected], 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 [email protected], "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...
> >>
> >
> >
> >
>


Reply via email to