Class SearchLayoutHandler
java.lang.Object
ch.tocco.nice2.model.form.impl.form2.reader.handler.LayoutContainerHandler
ch.tocco.nice2.model.form.impl.form2.reader.handler.AbstractLayoutHandler
ch.tocco.nice2.model.form.impl.form2.reader.handler.SearchLayoutHandler
- All Implemented Interfaces:
DataElementHandler
,IgnoreRemainingElementsHandler
Handler for 'vertical-box', 'horizontal-box' used in search forms.
This handler supports 'fulltext-search' tags.
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.model.form.impl.form2.reader.handler.IgnoreRemainingElementsHandler
IgnoreRemainingElementsHandler.ExtPropsHandler
-
Field Summary
Fields inherited from class ch.tocco.nice2.model.form.impl.form2.reader.handler.AbstractLayoutHandler
defaultValueResolver, entityModel, layout, validatorHandlerContextFactory
-
Constructor Summary
ConstructorDescriptionSearchLayoutHandler
(LayoutImpl layout, EntityModel entityModel, DefaultValueResolver defaultValueResolver, ValidatorHandlerContextFactory validatorHandlerContextFactory) -
Method Summary
Modifier and TypeMethodDescriptionhandleFieldElement
(String id, String path) searchFilter
(String name, String model, Boolean multiple, String group) Methods inherited from class ch.tocco.nice2.model.form.impl.form2.reader.handler.AbstractLayoutHandler
createComponentContainer, description, display, displayType, getDefaultValueResolver, getEntityModel, getFieldContainer, getLayoutContainer, getValidatorHandlerContextFactory, label, labeled, position
Methods inherited from class ch.tocco.nice2.model.form.impl.form2.reader.handler.LayoutContainerHandler
createLayoutHandler, createTableHandler, handleHorizontalBox, handleTable, handleVerticalBox
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.model.form.impl.form2.reader.handler.DataElementHandler
address, code, createFieldHandler, createFieldHandler, date, datetime, document, geosearch, getOrCreateField, html, image, location, multiRemoteField, multiSelectBox, number, range, remoteField, singleSelectBox, text, textArea, upload, url
Methods inherited from interface ch.tocco.nice2.model.form.impl.form2.reader.handler.IgnoreRemainingElementsHandler
handleExtProps, ignore, iterator, template
-
Constructor Details
-
SearchLayoutHandler
public SearchLayoutHandler(LayoutImpl layout, EntityModel entityModel, DefaultValueResolver defaultValueResolver, ValidatorHandlerContextFactory validatorHandlerContextFactory)
-
-
Method Details
-
fulltext
@Element("fulltext-search") @Cardinality(max=2147483647) public Object fulltext(@Attribute("name") String name, @Attribute("data") String path) -
searchFilter
@Element("search-filter") @Cardinality(max=2147483647) public Object searchFilter(@Attribute("name") String name, @Attribute("model") String model, @Attribute("multi") Boolean multiple, @Attribute("group") String group) -
handleFieldElement
@Element("field") @Cardinality(max=2147483647) public Object handleFieldElement(@Attribute("name") String id, @Required @Attribute("data") String path) -
createPathResolver
-