This works for simple top and bottom Navigations but by adding the
Navigation directly to the Page, it's not possible for the Layout to create
a table and place Navigations in different cells of the table. How would you
do left and right Navigations by appending directly to the page? I would
think that all Navigations should return an element or container so that it
can be placed wherever the Layout needs it.

Is it possible to use more then one Layout in an application? Or Page for
that matter?

Jason.

-----

The DefaultLayout calls(delegates) to the navigation to decide where it goes
in the page. This way you can define/ customize your navigation.   So for
example you could do something like this in the top navigation:
data.getPage().getBody()
.addElement( new Center()
.addElement( new H2("Turbine User Management") )
.addElement("[ ")
.addElement( new A(new DynamicURI(data,"admin.Main",true).toString(),"Admin
Main") )
.addElement(" ]")
.addElement("  [ ")
.addElement( new A(new
DynamicURI(data,"DefaultScreen","LogoutUser",true).toString(),"Logout") )
.addElement(" ]") )
.addElement("<BR>");





------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to