better use view stack for code separation and minimizing dependency.

On Mon, Mar 3, 2014 at 1:01 AM, Oleg Konovalov <oleg...@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

Reply via email to