Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

ViewStack, states and validator

$
0
0
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

Viewing all articles
Browse latest Browse all 5648

Trending Articles