|
Oracle | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectPortletBackingFile
com.bea.console.utils.NavTreeExtensionBacking
public class NavTreeExtensionBacking
This class is the default implementation of a backing file for a navigation tree extension. It appends a link to a book or page at the end of the Administration Console's navigation tree.
To use this class, specify it as the value of the "backingFile" attribute in
a <netuix:book> or <netuix:page> element, which is part of a
portal include (.book) file. When the portal framework loads the book or page
control, it creates a PageBackingContext object and a
String to describe the control and its URL. Then it passes the
two objects to this class's
NavTreeExtensionBacking.getTreeExtension(PageBackingContext, String)
method.
To modify the default behavior:
- Extend this class and override its
getTreeExtension(PageBackingContext, String) method.
Specify your class as the value of the "backingFile" attribute in a
<netuix:book> or <netuix:page> element.
- See Also:
- com.bea.netuix.servlets.controls.page.PageBackingContext
Constructor Summary
NavTreeExtensionBacking()
Method Summary
NavTreeExtensionEvent
getTreeExtension(PageBackingContext ppCtx,
String extensionUrl)
Deprecated.
NavTreeExtensionEvent
getTreeExtension(PageBackingContext ppCtx,
String extensionUrl,
HttpServletRequest request)
Appends a single control to the end of the navigation tree.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail
NavTreeExtensionBacking
public NavTreeExtensionBacking()
Method Detail
getTreeExtension
public NavTreeExtensionEvent getTreeExtension(PageBackingContext ppCtx,
String extensionUrl)
- Deprecated.
-
Appends a single control to the end of the navigation tree.
You can create a NavTreeExtensionBacking class that
overrides this method. Your override must do the following:
- Construct one or more
TreeNode
objects.
Each TreeNode describes a single node to add to the navigation tree. Some
of the TreeNode constructors enable to you to specify a parent for the
TreeNode instance, which enables you to create a node hierarchy.
- Construct one
NavTreeExtensionEvent
object, which describes
your TreeNode object (or hierarchy of objects) and specifies a location
within the existing navigation tree to append your node or node hierarchy.
(You can also specify that your nodes replace an existing node.)
- Return the
NavTreeExtensionEvent object.
The portal framework broadcasts the NavTreeExtensionEvent
event to a listener that causes your extension to be rendered.
- Parameters:
ppCtx
- The PageBackingContext that the portal framework passes to
describe the book or page that it has loadedextensionUrl
- The URL to the book or page. The portal framework passes this
String when it loads the book or page
- Returns:
- evt A NavTreeExtensionEvent describing the extension to the
navigation tree.
- See Also:
- com.bea.netuix.servlets.controls.page.PageBackingContext
getTreeExtension
public NavTreeExtensionEvent getTreeExtension(PageBackingContext ppCtx,
String extensionUrl,
HttpServletRequest request)
-
Appends a single control to the end of the navigation tree.
You can create a NavTreeExtensionBacking class that
overrides this method. Your override must do the following:
- Construct one or more
TreeNode
objects.
Each TreeNode describes a single node to add to the navigation tree. Some
of the TreeNode constructors enable to you to specify a parent for the
TreeNode instance, which enables you to create a node hierarchy.
- Construct one
NavTreeExtensionEvent
object, which describes
your TreeNode object (or hierarchy of objects) and specifies a location
within the existing navigation tree to append your node or node hierarchy.
(You can also specify that your nodes replace an existing node.)
- Return the
NavTreeExtensionEvent object.
The portal framework broadcasts the NavTreeExtensionEvent
event to a listener that causes your extension to be rendered.
- Parameters:
ppCtx
- The PageBackingContext that the portal framework passes to
describe the book or page that it has loadedextensionUrl
- The URL to the book or page. The portal framework passes this
String when it loads the book or pagerequest
- The HttpServletReques, can be used for localizing node text or other purpose.
- Returns:
- evt A NavTreeExtensionEvent describing the extension to the
navigation tree.
- See Also:
- com.bea.netuix.servlets.controls.page.PageBackingContext
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Documentation is available at
http://edocs.bea.com/wls/docs103
Copyright 1996,2008, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD