This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Flex and the fly likes Each State consisting of a new Conatiner Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Flex
Bookmark "Each State consisting of a new Conatiner " Watch "Each State consisting of a new Conatiner " New topic

Each State consisting of a new Conatiner

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Hi ,

I have seen a example regarding View states , where the coding is in this way :

An Application container consisting of two states , where in each state there is a Form Added , something this way shown below :

This works fine and looks nice .

I am having a question here "Is this type of coding is nice ??"

will this make sense as i read that states help in maintaing different views with same conatiner , but in this example the user is creating a new conatiner for every state ??

Please share your ideas .

Thanks for reading .

Save India From Corruption - Anna Hazare.
Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

I'm not sure I see what is wrong with that approach. What concerns you?

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
I agree. Here's the link:
subject: Each State consisting of a new Conatiner
It's not a secret anymore!