Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.infohazard.maverick.view: Javadoc index of package org.infohazard.maverick.view.


Package Samples:

org.infohazard.maverick.view

Classes:

DocumentViewFactory: Factory for building JSP, Velocity, and other resource-based views which place the model bean in one of the servlet attribute collections and use the RequestDispatcher to forward to the actual content. This is also used for static documents. This factory has certain options which can be defined when declaring the factory. The defaults are shown here: <view-factory type="document" provider="org.infohazard.maverick.view.DocumentViewFactory"> <default-bean-name value="model"/> </view-factory> default-bean-name - If no "bean" attribute is specified for individual views, this is the ...
DocumentView: DocumentView is the base class for the default Maverick "document" view type. A DocumentView is a org.infohazard.maverick.flow.View that sets up a "model" object in request or session scope and forwards to another resource to render the final response. The "model" object exposes dynamic data so that it can be rendered as part of the response. This class is used by the Maverick DocumentViewFactory . The DocumentViewFactory defines the abstract SetAttribute method for each instance according to the parameters passed through the View XML element. By default, a DocumentView will be associated with ...
RedirectViewFactory: Creates views which result in HTTP redirects. Views will handle the model in the following way: If the model is a String, that is used as the base URL and the path attribute is ignored. If the model is a Map, the key/value pairs are converted into parameters for the target URL. This behavior is deprecated; you should use ControllerContext.setParam() instead. Params set on the ControllerContext will become query parameters. Redirect views cannot have transforms and have no attributes other than "path".
TrivialViewFactory: Creates simple views which expect the model itself to be the source of content. Controllers which use a trivial view should provide a model which is one of: java.lang.String java.io.Reader javax.xml.transform.Source org.w3c.dom.Node The model will be rendered to the output stream (or transform) unmolested. Trivial views can have transforms. Neither the view elements nor the factory elements have any additional parameters.
RedirectView: This view causes a client redirect. If the model is a String, that overrides the path. ControllerContext params become query parameters. If the model is a Map, the key/value pairs are converted into parameters for the target URL, but this behavior is deprecated. The key "#" in context params (or Map model) is appended to the end of the redirect URL as a named anchor.
NullViewFactory: Creates a view which does absolutely nothing. The Controller is assumed to have manually written all data to the response. The model is ignored. Null views have no extra attributes and cannot have transforms.
DispatchedViewFactory: This factory creates Views which use the RequestDispatcher to obtain content. It is used by the DocumentViewFactory and not intended to be designated as a normal Maverick view type.

Home | Contact Us | Privacy Policy | Terms of Service