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

Quick Search    Search Deep

Page 1   2  
org.displaytag.decorator.* (24)org.displaytag.exception.* (14)org.displaytag.export.* (14)
org.displaytag.filter.* (7)org.displaytag.jsptests.* (107)org.displaytag.localization.* (6)
org.displaytag.model.* (9)org.displaytag.pagination.* (6)org.displaytag.portlet.* (5)
org.displaytag.properties.* (16)

org.displaytag: Javadoc index of package org.displaytag.


Package Samples:

org.displaytag.decorator
org.displaytag.exception
org.displaytag.export
org.displaytag.filter
org.displaytag.localization
org.displaytag.model
org.displaytag.pagination
org.displaytag.properties
org.displaytag.jsptests
org.displaytag.decorator.hssf
org.displaytag.export.excel
org.displaytag.portlet

Classes:

ResponseOverrideFilter: Allow the author of an included JSP page to reset the content type to something else (like a binary stream), and then write the new info back as the exclusive response, clearing the buffers of all previously added content. This filter allows TableTag users to perform exports from pages that are run as includes, such as from Struts or a jsp:include. If that is your intention, just add this Filter to your web.xml and map it to the appropriate requests, using something like: <filter> <filter-name>ResponseOverrideFilter</filter-name> <filter-class>org.displaytag.filter.ResponseOverrideFilter</filter-class> ...
PortletHref: Implementation of the Href interface that generates URLs using the javax.portlet APIs. As the portlet API supports the concept of WindowStates, PorletModes, secure URLs and actions versus render the implementation supports these concepts as well through the standard org.displaytag.util.Href APIs. The features are manipulated using special parameter names and values: Feature Parameter Name Parameter Value Render vs Action URL PARAM_TYPE 55 (portlet:type) "render" for RenderURLs, "action" for ActionURLs WindowState PARAM_STATE 55 (portlet:state) The value is used directly for the WindowState name ...
DisplayTagSpringInterceptor: Allow the author of an included JSP page to reset the content type to something else (like a binary stream), and then write the new info back as the exclusive response, clearing the buffers of all previously added content. This interceptor allows TableTag users to perform exports from pages that are run as includes, such as from Struts or a jsp:include. If that is your intention, just add this interceptor to your spring dispatcher context xml and map it to the appropriate requests, using something like: <bean id="urlMapping" class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping"> ...
TableWriterTemplate: A template that encapsulates and drives the construction of a table based on a given table model and configuration. This class is meant to be extended by classes that build tables sharing the same structure, sorting, and grouping, but that write them in different formats and to various destinations. Subclasses must provide the format- and destination-specific implementations of the abstract methods this class calls to build a table. (Background: This class came about because our users wanted to export tables to Excel and PDF just as they were presented in HTML. It originates with the TableTagData.writeHTMLData ...
I18nJstlAdapter: JSTL implementation of a resource provider and locale resolver. It will make the titleKey attribute of column tag works the same as fmt:message's key property . This tag must be the descendant of a fmt:bundle tag in order to use the titleKey. This is just a shortcut, which makes <display:column titleKey="bar"/> behave the same as <c:set var="foo"> <fmt:message key="bar"/> </c:set> <display:column title="${foo}"/> If you don't define either titleKey or titleKey property on your column, first the tag will attempt to look up the property property in your ResourceBundle. Failing that, ...
TableProperties: The properties used by the Table tags. The properties are loaded in the following order, in increasing order of priority. The locale of getInstance() is used to determine the locale of the property file to use; if the key required does not exist in the specified file, the key will be loaded from a more general property file. First, from the TableTag.properties included with the DisplayTag distribution. Then, from the file displaytag.properties, if it is present; these properties are intended to be set by the user for sitewide application. Messages are gathered according to the Locale of the property ...
PortletRequestHelper: Reads parameters and generates URLs using javax.portlet APIs. The javax.servlet.jsp.PageContext passed into the constructor must provide the javax.portlet.PortletRequest via an attribute named JAVAX_PORTLET_REQUEST 55 and javax.portlet.RenderResponse via an attribute named JAVAX_PORTLET_RESPONSE 55 . If the pluto portlet container is being used these objects should be setup appropriatly already.
RequestHelperFactory: RequestHelperFactory interface. Users can specify a custom RequestHelperFactory implementation in displaytag.properties . A custom RequestHelperFactory can return a different RequestHelper implementation (the DefaultRequestHelperFactory returns instaces of DefaultRequestHelper )
DisplaytagColumnDecorator: Interface for simple column decorators. A column decorator is called after the object has been retrieved and it can "transform" the object before the rendering. The DisplaytagColumnDecorator interface has been introduced in displaytag 1.1 and replaces the previous ColumnDecorator interface, adding the pageContext and media parameters, and changing the return type to object to allow decorator chaining.
MockFilterSupport: Simulates the behaviour of a filter using a simple servlet. The servlet must be mapped to the "*.filtered" extension; request include this extension after the name of the tested jsp. Since servletunit doesn't support filter testing, we are passing the request to this servlet which calls the filter and then forward the request to the given path without ".filtered". Replaced by native filter support in ServletUnit 1.6.
I18nResourceProvider: Interface for resource providers. Given a resourceKey and a defaultValue , a resource provider returns the String which should be displayed. For column headers resourceKey will be the value of the titleKey attribute, defaultValue will be the value of the property attribute. Different resource providers can be plugged using the displaytag.properties file.
ColumnTag: This tag works hand in hand with the TableTag to display a list of objects. This describes a column of data in the TableTag. There can be any number of columns that make up the list. This tag does no work itself, it is simply a container of information. The TableTag does all the work based on the information provided in the attributes of this tag.
TableTag: This tag takes a list of objects and creates a table to display those objects. With the help of column tags, you simply provide the name of properties (get Methods) that are called against the objects in your list that gets displayed. This tag works very much like the struts iterator tag, most of the attributes have the same name and functionality as the struts tag.
TableWriterAdapter: Convenience abstract adapter for constructing a table view; contains only stub implementations. This class exists as a convenience for creating table-writer objects. Extend this class to create a table writer and override the methods of interest. This class also protects subclasses from future additions to TableWriterTemplate they may not be interested in.
MediaUtil: This class provides services for configuring and determining the list of media types an instance of SupportsMedia supports. (Background: ColumnTag, FooterTag and CaptionTag can be configured to support a set of media types. This class factors the logic for setting and determining the media instances these objects support)
ELCaptionTagBeanInfo: BeanInfo descriptor for the ELCaptionTag class. Unevaluated EL expression has to be kept separately from the evaluated value, since the JSP compiler can choose to reuse different tag instances if they received the same original attribute values, and the JSP compiler can choose to not re-call the setter methods.
ELColumnTagBeanInfo: BeanInfo descriptor for the ELColumnTag class. Unevaluated EL expression has to be kept separately from the evaluated value, since the JSP compiler can choose to reuse different tag instances if they received the same original attribute values, and the JSP compiler can choose to not re-call the setter methods.
ELTableTagBeanInfo: BeanInfo descriptor for the ELTableTag class. Unevaluated EL expression has to be kept separately from the evaluated value, since the JSP compiler can choose to reuse different tag instances if they received the same original attribute values, and the JSP compiler can choose to not re-call the setter methods.
TestAll: Dynamic test suite derived from http://www.javaworld.com/javaworld/jw-12-2000/jw-1221-junit.html. Runs all Java test cases in the source tree that extend TestCase. This helps running tests faster with ant/maven since httpunit tests requires forking and starting a new java process for each test is too slow.
TestList: Just a utility class for testing out the table and column tags. When this class is created, it loads itself with a number of ListObjects that are shown throughout the various example pages that exercise the table object. If created via the default constructor, this loads itself with 60 ListObjects.
ColumnDecorator: Interface for simple column decorators. A column decorator is called after the object has been retrieved and it can "transform" the object before the rendering. A column decorator is simply an object formatter, and it is only aware of the value to format.
ReportList: Just a utility class for testing out the table and column tags. This List fills itself with objects and sorts them as though it where pulling data from a report. This list is used to show the various report oriented examples (such as grouping, callbacks, and data exports).
ExportView: Interface for export classes. ExportViewFactory is responsible for registering and initialization of export views. A default, no parameters constructor is required. The setParameters() method is guarantee to be called before any other operation.
Displ209Test: Test for DISPL-209 - getListIndex() does not return the real list index. Note: the result is different from the one expected from the decription in the Jira report, but after the test it was clear that there is no usable way to get the desired result.
Decorator: This class provides some basic functionality for all objects which serve as decorators for the objects in the List being displayed. Decorator should never be subclassed directly. Use TableDecorator instead

Home | Contact Us | Privacy Policy | Terms of Service