jas.bean
Interface PageContext


public interface PageContext

A simple mechanism to allow beans within an HTML page within JAS to locate other beans on the same page and to interact with the JAS enviroment. An embedded bean must implement PageContextHook to be able to access this information.


Method Summary
 java.lang.Object getBean(java.lang.String name)
          Locate an object on the current page by name
 java.util.Enumeration getBeans()
          Get an enumeration of all the objects on the current page
 java.net.URL getDocumentBase()
          Get the base URL of the current page
 void showDocument(java.net.URL url)
          Replaces the Web page currently being viewed with the given URL
 void showStatus(java.lang.String message)
          Requests that the argument string be displayed in the "status window".
 

Method Detail

getBean

public java.lang.Object getBean(java.lang.String name)
Locate an object on the current page by name

getBeans

public java.util.Enumeration getBeans()
Get an enumeration of all the objects on the current page

showStatus

public void showStatus(java.lang.String message)
Requests that the argument string be displayed in the "status window".

showDocument

public void showDocument(java.net.URL url)
Replaces the Web page currently being viewed with the given URL

getDocumentBase

public java.net.URL getDocumentBase()
Get the base URL of the current page