Class PageBeanComponent

All Implemented Interfaces:
IConfiguredByLayout, IPageBeanComponent, IPageBean, IDynamicContentBindingObject
Direct Known Subclasses:
ComplexValueEditor, NullContentWrapper

public abstract class PageBeanComponent extends PageBeanComponentBase implements IPageBeanComponent
Self containing component that can be easily re-used across application projects.

The aspects of "self containing" include:

The .jsp layout definition is contained in the same package than this class. As consequence the .jsp layout is part of the ".jar-delivery" and does not need to be installed as additional web content.

The literals that are required are contained in a properties file that has the same name as the class and that is contained in the same package.

There is a configuration file ".config" that describes the component.

Example: the complete component definition of a XyzPageBean consists out of:
1. XyzPageBean.java in the source package
2. XyzPageBean.jsp in the resource package
3. XyzPageBean.properties in the resource package (and additional language definitions)
4. XyzPageBean.config in the resource package
  • Constructor Details

    • PageBeanComponent

      public PageBeanComponent()
      Default constructor, the component is used as "column control". A typical component arrangement would be:

      ROW
      ..LABEL
      ..
      ..LABEL
    • PageBeanComponent

      public PageBeanComponent(boolean usedAsRow)
      Constructor, in which you can decide to use the component as "row control". A typical arrangement would be.

      ROWBODyPANE
      ..ROW
      ..
      ..ROW


      Another tpyical use case: you want to use the component within a modal or modeless dialog. Dialogs expects contained page beans to be row controls.
  • Method Details