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 IgnoreRemainingElementsHandler
IgnoreRemainingElementsHandler.ExtPropsHandler -
Field Summary
Fields inherited from class AbstractLayoutHandler
defaultValueResolver, entityModel, layout, validatorHandlerContextFactory -
Constructor Summary
ConstructorsConstructorDescriptionSearchLayoutHandler(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 AbstractLayoutHandler
createComponentContainer, description, display, displayType, getDefaultValueResolver, getEntityModel, getFieldContainer, getLayoutContainer, getValidatorHandlerContextFactory, label, labeled, positionMethods inherited from class LayoutContainerHandler
createLayoutHandler, createTableHandler, handleHorizontalBox, handleTable, handleVerticalBoxMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface DataElementHandler
address, available, code, createFieldHandler, createFieldHandler, date, datetime, document, format, geosearch, getOrCreateField, html, image, location, multiRemoteField, multiSelectBox, number, range, remoteField, singleSelectBox, text, textArea, upload, urlMethods inherited from interface 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
-