It has the following features:
For large amounts of data, it is highly recommended to use pagination. Otherwise, the table rendering might overwhelm server resources, and also the client browser if the resulting page is very large.
Moreover, the Table components provides a simple support for sorting, filtering and paginating raw vector data localy (see attribute SortAndPaginateLocaly). This can be very handy for adding table features with no implementation cost, but it also has limits.
Once again for displaying large amounts of data, it is recommended that you implement yourself those operations (that can perfectly be implemented on the data base side), not to overweight server resources.
Right before rendering itself, the table component gets vector data from the application with the GetData binding, each element of this vector representing a row in the table.
During this invocation, the table makes available its rendering context (class org.ow2.opensuit.xml.base.html.table.RenderingContextBean), that may be accessed by application code and by table child components.
This context is a request Bean with name '$context', and has the following attributes:
= page x rowsPerPage
),Then during the rendering of its rows, the table keeps available the object representing the current row as a request attribute with name '$row'.
Its attributes may be accessed as any standard Bean.]]>
This component can be used to invoke and include rendering from JSPs or servlets.
The inclusion is carried out using the J2EE request dispatcher.]]>
java.lang.Integer[]
or java.lang.String[]
]]>Each page of the Application is displayed in a Frame. A Frame is the part of the GUI that doesn't change much from page to page. It is generally composed of a banner, some menus (left and/or right), and a footer.
It must embed a PageContainer component, that is in charge of rendering the current executing page (see PageContainer).
The Application must have at least one Frame, but it may have several (for instance, a specific frame without any menu to display messages and uncatched errors, and another one to access the application administration functionnalities).]]>
org.ow2.opensuit.xml.base.error.IError
(ex: org.ow2.opensuit.xml.base.error.LocalizedError
or org.ow2.opensuit.xml.base.error.NonLocalizedError
).]]>java.lang.Integer
or java.lang.String
.]]>java.lang.String
]]>DoAndForward
component, this choice is made when the page is rendered.SwitchAction
instead.]]>