You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by pa...@bt.com on 2001/10/01 16:20:48 UTC
navigation
Hi,
Is it possible to build a navigation element (such as a menu) similar to a
screen element of the layout with an associated java file.?
I.e.
public class Menu
{
public void doBuildTemplate(....)
{}
}
Or should I make the navigational menu a screen element?
Paul
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org
RE: navigation
Posted by Gareth Coltman <ga...@majorband.co.uk>.
Absolutely. Just put the nav class in the corresponding dir and the class loader will find it. eg.
For a nav like:
/navigations/foo/bar/MyNav.vm
Name your class
navigations.foo.bar.MyNav
Ok?
> -----Original Message-----
> From: paul.hunter@bt.com [mailto:paul.hunter@bt.com]
> Sent: Monday, October 01, 2001 15:21
> To: turbine-user@jakarta.apache.org
> Subject: navigation
>
>
> Hi,
>
> Is it possible to build a navigation element (such as a menu)
> similar to a
> screen element of the layout with an associated java file.?
> I.e.
> public class Menu
> {
>
> public void doBuildTemplate(....)
> {}
>
> }
>
> Or should I make the navigational menu a screen element?
>
> Paul
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org