2. == > LOL Trying to use all these best practice approaches one can forget about plain ol' wocomponents.
I think I will go back to my usual navigation component for this one. Though I admit that I have used it for one perfect D2W App, basically out of the box. thanks, James On Dec 8, 2012, at 12:23 PM, Jesse Tayler <[email protected]> wrote: > > well, whoever wrote the navigation thingus did a thorough job. > > they did what you had to do to make something that would handle most any > normal situation. > > but it's not easy to program! > > I submit > > 1. > if you're happy with the navigation methodology and your app lends itself to > having multiple, separate but similar navigation plists then subclass the > navigation object and ask for the pageConfiguration key before returning > results from one of several potential files. > > 2. > if you're thinking life could be simpler for your navigation programming, > then I'd simply write a quick navigation component that exactly fits your > logic and use that instead. > > that's my take anyway, perhaps the navigation has some other sort of hooks > already that I'm not familiar - I'm not an expert on it, but I've used it. > > > On Dec 8, 2012, at 1:08 PM, James Cicenia <[email protected]> wrote: > >> Well I could do something like: >> >> ( >> { >> name = Root; >> children = session.currentTabs; >> >> But I was wondering how I could grab the array from the rules instead of a >> session. >> >> >> >> On Dec 8, 2012, at 11:45 AM, Jesse Tayler <[email protected]> wrote: >> >>> >>> seems that any kind of key that is responsible for the pageConfiguration >>> could also be used to provide the rule setting for the navigation as well. >>> right? >>> >>> >>> On Dec 8, 2012, at 12:01 PM, James Cicenia <[email protected]> wrote: >>> >>>> I am working on my D2W application and was wondering what is the best >>>> method to swap out menus? >>>> >>>> I would like to bind the menu to it's pageConfiguration. >>>> >>>> Thanks >>>> James >>>> >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> Do not post admin requests to the list. They will be ignored. >>>> Webobjects-dev mailing list ([email protected]) >>>> Help/Unsubscribe/Update your Subscription: >>>> https://lists.apple.com/mailman/options/webobjects-dev/jtayler%40oeinc.com >>>> >>>> This email sent to [email protected] >>> >> >> _______________________________________________ >> Do not post admin requests to the list. They will be ignored. >> Webobjects-dev mailing list ([email protected]) >> Help/Unsubscribe/Update your Subscription: >> https://lists.apple.com/mailman/options/webobjects-dev/jtayler%40oeinc.com >> >> This email sent to [email protected] >
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
