Package org.apache.tapestry5.services
Interface HiddenFieldLocationRules
- All Known Implementing Classes:
HiddenFieldLocationRulesImpl
Provides some assistance in determining where to place a hidden field based on standard (X)HTML elements.
The service works based on a mapped service contribution; keys are the element names, values area
RelativeElementPosition.-
Method Summary
Modifier and TypeMethodDescriptionbooleanplaceHiddenFieldAfter(Element element) Checks the element to see if a hidden field may be placed after the element (as a sibling element).booleanplaceHiddenFieldInside(Element element) Checks the element to see if a hidden field may be placed inside the element.
-
Method Details
-
placeHiddenFieldInside
Checks the element to see if a hidden field may be placed inside the element. -
placeHiddenFieldAfter
Checks the element to see if a hidden field may be placed after the element (as a sibling element).
-