jon * wrote:
>
> on 2/9/00 4:56 PM, Kevin A. Burton <[EMAIL PROTECTED]> wrote:
>
> > Any reason we don't have
> >
> > RunData.getNavigation()
> >
> > I want to have a URL that overrides the default navigation.
> >
> > Thoughts?
>
> Because that is done through the Layout. Your Layout determines your
> Navigation and you can change your Layout by setting that in your Screen.
>
> Screen.getLayout(RunData data)
>
> RunData.getNavigation() doesn't make any sense since a single Layout could
> have more than one Navigation, such as Top/Bottom Navigation.
>
> -jon
Good point. What about /topnavigation or /bottomnavigation? This would
also allow /leftnavigation and /rightnavigation which will someday be
needed.
This is necessary with what I am doing right now with JetSpeed. For
Avantgo syncronization I need to give it a URL with very raw content
(now GIFs, HTML 3.2 etc). Therefore I want to null out my navigation
(/topnavigation/JetSpeedNoNavigation) so that there is as little content
as possible.
Granted I could do this with my own Layout.... But it would be more
open if I could just call RunData.getTopNavigation(), etc and then
provide a default if it is null or the user specified one if it != null.
Kevin
--
Kevin A Burton
Senior Software Engineer
Kendara Inc
http://www.kendara.com
Mobile: 408-910-6145
Linux - The revolution will NOT be televised
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]