| Package | Description |
|---|---|
| com.neurosys.template.model | |
| com.neurosys.template.wicket.itemadapters |
| Class and 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. |
| Class and 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
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. |
| 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: |
| 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.