BrowserLauncher is a class that provides one static method,
openURL, which opens the default web browser for the current user
of the system to the given URL.
Convenience for binding to a component action:
calls deleteSelection() and then displayBatchContainingSelectedObject()
and returns null, which is a suitable result from a component action.
Sets the displayed objects to the batch containing
the first selected object, and updates the current
batch index, and returns null to force a page reload.
Called by the specified object store to determine whether
fetching should continue, where count is the current count
and limit is the limit as specified by the fetch specification.
Called by doPost after parsing an incoming request,
and is responsible for invoking the specified method
with the specified parameters on the handler object.
Handles notifications from the data source's editing context,
looking for InvalidatedAllObjectsInStoreNotification and
ObjectsChangedInEditingContextNotification, refetching in
the former case and updating displayed objects in the latter.
Returns the number of pages that will be retained in the
longer-term "permanent" page cache in the user's session,
which is typically used for navigation bars in frames, etc.
This implementation currently does nothing and returns null, as we rely on the
servlet container to dispose of the HttpSession which contains our WOSession.
Returns the number of pages that will be retained in the
longer-term "permanent" page cache in the user's session,
which is typically used for navigation bars in frames, etc.
Assigns the arrays of form values for the specified keys
to properties on this object with matching names whose type
is NSArray or is convertable from a Collection.
Returns the Uniform Resource Identifier, which is the part
of the request URL after the protocol name (after the port
number) and before the query parameters (before the question mark).
Required constructor specifying the class name of the component,
a map of associations, and the root element of the tree that
contains this element (which may be null).
WOImageButton renders a dynamically generated IMG tag or an INPUT tag, depending on whether the
element is inside a WOForm (in which case an INPUT of type IMAGE is generated) or not (in which
case the equivalent of a WOActiveImage)
Bindings are:
src: A static URL for the image source.
data: A NSData object with the image content.
An implementation of WOSessionStore that stores WOSessions
inside of HttpSessions, to take advantage of the servlet
containers built-in distribution capabilities.