org.araneaframework.uilib.form.formlist
Class BeanFormListWidget

java.lang.Object
  extended byorg.araneaframework.core.BaseComponent
      extended byorg.araneaframework.core.BaseService
          extended byorg.araneaframework.core.BaseWidget
              extended byorg.araneaframework.core.BaseApplicationWidget
                  extended byorg.araneaframework.uilib.form.GenericFormElement
                      extended byorg.araneaframework.uilib.form.formlist.BaseFormListWidget
                          extended byorg.araneaframework.uilib.form.formlist.BeanFormListWidget
All Implemented Interfaces:
ApplicationComponent, ApplicationService, ApplicationWidget, Component, Composite, Composite.CompositeComponent, Composite.CompositeService, Composite.CompositeWidget, Serializable, Service, Viewable, Viewable.ViewableComponent, Viewable.ViewableService, Viewable.ViewableWidget, Widget

public class BeanFormListWidget
extends BaseFormListWidget

Editable rows widget that is used to handle simultenous editing of multiple forms with same structure.

Author:
Jevgeni Kabanov (ekabanov at araneaframework dot org)
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class org.araneaframework.uilib.form.formlist.BaseFormListWidget
BaseFormListWidget.ViewModel
 
Nested classes inherited from class org.araneaframework.core.BaseApplicationWidget
BaseApplicationWidget.CompositeImpl, BaseApplicationWidget.ViewableImpl
 
Nested classes inherited from class org.araneaframework.core.BaseWidget
BaseWidget.WidgetImpl
 
Nested classes inherited from class org.araneaframework.core.BaseService
BaseService.ServiceImpl
 
Nested classes inherited from class org.araneaframework.core.BaseComponent
BaseComponent.ComponentImpl
 
Nested classes inherited from class org.araneaframework.core.ApplicationWidget
ApplicationWidget.WidgetViewModel
 
Nested classes inherited from class org.araneaframework.core.ApplicationService
ApplicationService.ServiceViewModel
 
Nested classes inherited from class org.araneaframework.core.ApplicationComponent
ApplicationComponent.ComponentViewModel
 
Nested classes inherited from class org.araneaframework.Component
Component.Interface
 
Nested classes inherited from class org.araneaframework.Composite
Composite.CompositeComponent, Composite.CompositeService, Composite.CompositeWidget, Composite.Interface
 
Nested classes inherited from class org.araneaframework.Viewable
Viewable.Interface, Viewable.ViewableComponent, Viewable.ViewableService, Viewable.ViewableWidget
 
Nested classes inherited from class org.araneaframework.Service
Service.Interface
 
Nested classes inherited from class org.araneaframework.Widget
Widget.Interface
 
Field Summary
protected  Class beanClass
           
 
Fields inherited from class org.araneaframework.uilib.form.formlist.BaseFormListWidget
formRowHandler, formRows, model, rowFormCounter
 
Fields inherited from class org.araneaframework.uilib.form.GenericFormElement
backgroundValidation, constraint, converted, properties, SEAMLESS_VALIDATION_ACTION_ID, validated
 
Fields inherited from class org.araneaframework.core.BaseService
currentInputData, currentOutputData
 
Fields inherited from interface org.araneaframework.core.ApplicationWidget
EVENT_HANDLER_ID_KEY, EVENT_PARAMETER_KEY, EVENT_PATH_KEY
 
Fields inherited from interface org.araneaframework.core.ApplicationService
ACTION_HANDLER_ID_KEY, ACTION_PARAMETER_KEY, ACTION_PATH_KEY
 
Constructor Summary
BeanFormListWidget(FormRowHandler rowHandler, Class beanClass)
           
BeanFormListWidget(FormRowHandler rowHandler, FormListModel model, Class beanClass)
           
 
Method Summary
protected  FormWidget buildAddForm()
          Used to build instance of FormWidget belonging to this list.
 Class getBeanClass()
           
 
Methods inherited from class org.araneaframework.uilib.form.formlist.BaseFormListWidget
accept, addFormRow, addRow, clearErrors, convertInternal, deleteRow, getAddForm, getFormRow, getFormRowHandler, getFormRows, getViewModel, init, isDisabled, isStateChanged, isValid, markBaseState, openCloseRow, resetAddForm, resetFormRow, resetFormRows, restoreBaseState, saveAllRows, saveCurrentRows, saveRow, setDisabled, setFormRowHandler, setModel, validateInternal
 
Methods inherited from class org.araneaframework.uilib.form.GenericFormElement
addError, addErrors, convert, convertAndValidate, getConstraint, getConstraintEnvironment, getErrors, getMessageCtx, getMutableErrors, getProperties, getProperty, getValue, isBackgroundValidation, isEvaluated, setBackgroundValidation, setConstraint, setProperty, validate
 
Methods inherited from class org.araneaframework.core.BaseApplicationWidget
_getComposite, _getViewable, action, addActionListener, addEventListener, addWidget, addWidget, clearActionListeners, clearEventlisteners, clearGlobalEventListener, disableWidget, enableWidget, event, getActionId, getChildEnvironment, getChildren, getChildWidgetEnvironment, getEnvironment, getEventId, getWidget, handleAction, handleEvent, handleUpdate, propagate, putViewData, putViewDataOnce, removeActionListener, removeEventListener, removeViewData, removeWidget, render, setGlobalEventListener, update
 
Methods inherited from class org.araneaframework.core.BaseWidget
_getWidget, getInputData, getOutputData, handleWidgetException
 
Methods inherited from class org.araneaframework.core.BaseService
_getService, handleServiceException
 
Methods inherited from class org.araneaframework.core.BaseComponent
_addComponent, _addComponent, _checkCall, _disableComponent, _enableComponent, _endCall, _endWaitingCall, _getChildren, _getComponent, _getDisabledChildren, _propagate, _relocateComponent, _removeComponent, _setEnvironment, _setScope, _startCall, _startWaitingCall, _strictCheckCall, _strictStartCall, _waitNoCall, destroy, disable, enable, getScope, handleException, isAlive, isDead, isInitialized
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.araneaframework.Component
_getComponent, getScope, isAlive
 
Methods inherited from interface org.araneaframework.Service
_getService
 
Methods inherited from interface org.araneaframework.Widget
_getWidget
 

Field Detail

beanClass

protected Class beanClass
Constructor Detail

BeanFormListWidget

public BeanFormListWidget(FormRowHandler rowHandler,
                          Class beanClass)
Parameters:
rowHandler - row handler.
beanClass - Class of beans in form

BeanFormListWidget

public BeanFormListWidget(FormRowHandler rowHandler,
                          FormListModel model,
                          Class beanClass)
Parameters:
rowHandler - row handler.
beanClass - Class of beans in form
Method Detail

getBeanClass

public Class getBeanClass()

buildAddForm

protected FormWidget buildAddForm()
Description copied from class: BaseFormListWidget
Used to build instance of FormWidget belonging to this list.

Specified by:
buildAddForm in class BaseFormListWidget