Ted,

I don't think this has anything to do with D2W,

The navigation in the current template is based on ERXNavigation. Which is a 
complex beast with tons of options. Take a look at the code if you want to 
figure it out. There are multiple ways of handling conditional nav tabs.

However, D2W != ERXNavigation you are free to implement your own navigation in 
anyway you wish. If you want your nav to be data driven, write a component to 
do that and use that in your MenuHeader instead.

D

--
David LeBer
Codeferous Software

On 2012-07-18, at 9:06 AM, Theodore Petrosky wrote:

> I am reviewing Ramsey's Hello World and paying close attention to the section 
> on the 'conditionals'. From what I see, the conditionals are suggesting that 
> based on a return of a given value, a defined tab will display or not.
> 
> My problem is that I want the list of tabs to be generated at runtime. I 
> don't know what the names are nor the quantity of tabs until I launch the app 
> and it queries the backend.
> 
> Maybe this is not appropriate for D2W. Or just too over my head.
> 
> Ted
> 
> --- On Tue, 7/17/12, David Holt <programming...@mac.com> wrote:
> 
>> From: David Holt <programming...@mac.com>
>> Subject: Re: D2W tabs question
>> To: "Theodore Petrosky" <tedp...@yahoo.com>
>> Cc: webobjects-dev@lists.apple.com
>> Date: Tuesday, July 17, 2012, 11:30 PM
>> Would conditionals inside the .plist
>> work?
>> 
>> You can set the tab structure based on values in (for
>> example) session.
>> 
>> Ramsey showed an example of conditionals ON a given tab in
>> one of his early presentations as well. I think it was
>> "Hello D2W". 
>> 
>> David
>> 
>> On 2012-07-17, at 8:22 PM, Theodore Petrosky <tedp...@yahoo.com>
>> wrote:
>> 
>>> I am starting a new project with D2W. I am not totally
>> comfortable but with practice comes more practice.
>>> 
>>> This is a 'Project Manager'. A Project belongs to a
>> Category. I want to display the different Categories as tabs
>> however, the Categories can come and go. Basically at start
>> up, I need to read the list of categories and create the tab
>> structure.
>>> 
>>> So how do I talk to the NavigationMenu.plist after the
>> app has launched?
>>> 
>>> I hope there is an example to follow!!!
>>> 
>>> Ted
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be
>> ignored.
>>> Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
>>> Help/Unsubscribe/Update your Subscription:
>>> https://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com
>>> 
>>> This email sent to programming...@mac.com
>> 
>> 
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/dleber_wodev%40codeferous.com
> 
> This email sent to dleber_wo...@codeferous.com


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to