public class SimpleEditorAdapter extends CustomItemComponentRenderAdapter
CustomItemComponentRenderAdapter.ContextualTwoWayTransformerauthorizationModule, modelTransformer| Constructor and Description | 
|---|
SimpleEditorAdapter()  | 
| Modifier and Type | Method and Description | 
|---|---|
org.apache.wicket.Component | 
getComponent(String componentId,
            MetaItem metaItem,
            org.apache.wicket.model.IModel defaultInputModel,
            Object entity,
            User user)
Some fields/attribute may require display of options
 for selection or Auto-Suggest etc.. 
 | 
filter, getDataList, getLookup, getModelTransformer, markComponentReadOnly, processSubmit, setModelTransformer, translateCurrentSelectionModelpublic org.apache.wicket.Component getComponent(String componentId, MetaItem metaItem, org.apache.wicket.model.IModel defaultInputModel, Object entity, User user)
CustomItemComponentRenderAdapterHiddenFieldgetComponent in class CustomItemComponentRenderAdaptercomponentId - as Sting id for the ComponentmetaItem - as MetaItem meta data for rendering logicdefaultInputModel - is the current data defined in a IModel for the MetaItem.
 The resultant model in the returned Component may NOT be same as the one passed to the inner component, hence always use the derived one.
 This is because there maybe a mismatch in the form of core/raw data and one required for final presentation. 
 For example the input maybe a Comma Separated list of Strings, however for presentation in a List box we may convert the Model to a ListModel.entity - as Object, that represents the main Entity (overall context)user - as com.neurosys.security.auth.domain.User for any Authorization related needs @nullable trueCopyright © 2018. All rights reserved.