flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sunit Tomar <sttoma...@gmail.com>
Subject Re: ViewStack, states and validator
Date Mon, 03 Mar 2014 16:42:44 GMT
better use view stack for code separation and minimizing dependency.


On Mon, Mar 3, 2014 at 1:01 AM, Oleg Konovalov <olegkon@gmail.com> wrote:

> Hi,
>
>
>
> I have a popup where user enters data,
>
> currently implemented as TitleWindow with a ViewStack and several
> NavigationContent containers,
>
> having Forms with a bunch of components.
>
>
>
> When user clicks submit, it does validation and saves entered data to the
> database.
>
>
>
> I could have implemented it as a bunch of submits, but they have more or
> less same components and data
>
> (and process for example Add and Enter of same form).
>
>
>
> So should I create Add and Enter state?
>
> And a state for each NavigationComponent?
>
>
>
> Also there is still some difference between input components on different
> NavigationContent containers.
>
> That's why what is validated on one, is not accurate on the other.
>
> How should I handle that ?
>
>
>
>
>
> Please advise.
>
>
>
> Any code samples on that?
>
>
>
>
>
> TIA,
>
> Oleg.
>
> P.S. Using Flex 4.5.1
>



-- 
Thanks and Regards,
Sunit Tomar

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message