Class | Description |
---|---|
CustomItemComponentRenderAdapter |
A custom adapter that allows one to customize how a particular
MetaItem
could be rendered in ProductDetailsTemplatePanel
Important : This Adapter has to adopt a singleton model as its really a FACTORY and calling components like FacetMeta definitions are Singleton's.This means all CustomItemComponentRenderAdapter.modelTransformer , #lookup etc are all and should be stateless. |
JSONGridRenderAdapter |
A CustomItemComponentRenderAdapter that supports rows and columns to support JSON Maps
The corresponding HTML fragment in the EntityDetailsTemplatePanel type should be like:
|
JSONRenderAdapter |
Convenient JSON implementation for
MapRenderAdapter |
ListRenderAdapter |
Renders a List from a data model (expected to be a List).
|
MapRenderAdapter<M extends Map> |
Adapter to render a
Map as a series of Key-Value inputsSelect (single or multi-select depends on the ContentType in MetaItem )If the core input Object is not a Map then one should ensure that the core input type is converted to Map and back by setting CustomItemComponentRenderAdapter.setModelTransformer(org.apache.commons.collections.Transformer) with a TwoWayTransformer
The list and sequence of fields used depends on #getLookup() if not MapRenderAdapter.entityTemplate is provided. |
MapRenderSubmitTransformer<M extends Map> |
An optional Submit
Transformer .Because this MapRenderAdapter encapsulates inner components, this allowsTransformations on inner objects during a submission process. |
ScriptableCustomItemComponentRenderAdapter |
A
CustomItemComponentRenderAdapter that will also generate an accompany the component with a Script either in the web page header within the component. |
SelectRenderAdapter |
Adapter to render a
Select (single or multi-select depends on the ContentType in MetaItem )
Should be accompanied with Select markup; typically this has a wicket:id="SELECT", you can specify this by something like this in MyDetailsTemplatePanel which is assumed to have a Fragment by the id SELECT defined in it: |
SimpleEditorAdapter |
A Basic HTML editor that has a Text-Area and A Display Area
|
SizeRenderAdapter |
Adapter to render a
Size ; since Size type can be complex and of different types
Should be accompanied with Select markup |
TextAreaAdapter |
Text Area
|
Copyright © 2018. All rights reserved.