• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Each State consisting of a new Conatiner

 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 .
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure I see what is wrong with that approach. What concerns you?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic