Re: D2W tabs question
Re: D2W tabs question
- Subject: Re: D2W tabs question
- From: David LeBer <email@hidden>
- Date: Wed, 18 Jul 2012 10:02:37 -0400
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 <email@hidden> wrote:
>
>> From: David Holt <email@hidden>
>> Subject: Re: D2W tabs question
>> To: "Theodore Petrosky" <email@hidden>
>> Cc: email@hidden
>> 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 <email@hidden>
>> 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 (email@hidden)
>>> Help/Unsubscribe/Update your Subscription:
>>>
>>> This email sent to email@hidden
>>
>>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden