Class NamedComponentDefinition
java.lang.Object
io.vertigo.ui.impl.thymeleaf.components.NamedComponentDefinition
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFrag()Returns the thymeleaf fragment templategetName()Returns the name of the component (e.g. panel)Optional<org.thymeleaf.standard.expression.VariableExpression>voidsetFragmentTemplate(String fragmentTemplate) Sets the thymeleaf fragment template (e.g components/panel :: panel).voidSets the name of the component (e.g. panel).toString()
-
Constructor Details
-
NamedComponentDefinition
-
NamedComponentDefinition
-
-
Method Details
-
getName
Returns the name of the component (e.g. panel)- Returns:
- Component name
-
setName
Sets the name of the component (e.g. panel). This will be uses as the selector in the html file like.- Parameters:
name- Component name
-
getFragmentTemplate
Returns the thymeleaf fragment template- Returns:
- Fragment template
-
getSelectionExpression
-
getParameters
-
getFrag
-
setFragmentTemplate
Sets the thymeleaf fragment template (e.g components/panel :: panel). The pattern is without the fragments parameters, so 'components/panel :: panel(title)' will throw an error.- Parameters:
fragmentTemplate- Fragment template
-
toString
-