• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Many pages or one page?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Many pages or one page?


  • Subject: Re: Many pages or one page?
  • From: email@hidden (Anjo Krank)
  • Date: Sat, 31 May 2003 12:00:28 +0200
  • Xx-reply-to: email@hidden

Am Samstag, 31.05.03 um 23:47 Uhr schrieb Alexey Manannikov:

Thank you all to help me choose right way with many pages.

I need to make at least 7 pages with additional conditionals in some of them.
And I see how it is easier to make them in separate components, not in VERY BIG one :)

You could make 7 sub components and have one "wizard" component embed them via a WOSwitchComponent - which should make the most sense if you don't want your components have knowledge of the flow...with your current approach, when you reorder your flow, you need to change a lot of stuff, depending on where you decide to put things.


My take would be a reusable non-synching "WizardComponent" which takes a "componentNames" array, bind the "currentComponentName" and everything else you need to the switch comp and have all the (also non-synching) subcomponent get their stuff via "^" bindings.

Then things like "next", "prev", "start", "end", "skip two steps, then go back one:)=", "This is step 2 of 7, next is Foo" etc. should be pretty trivial to do.

Cheers, Anjo
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Many pages or one page? (From: Alexey Manannikov <email@hidden>)

  • Prev by Date: Re: WebObjects vs. Microsoft's .NET
  • Next by Date: Re: From OpenBase To MSSQLServer2000 (EOModeller)
  • Previous by thread: Re: Many pages or one page?
  • Next by thread: Sites & Sample Code
  • Index(es):
    • Date
    • Thread