Package org.apache.tapestry5.services
Interface HiddenFieldLocationRules
-
- All Known Implementing Classes:
HiddenFieldLocationRulesImpl
@UsesMappedConfiguration(RelativeElementPosition.class) public interface HiddenFieldLocationRules
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 areaRelativeElementPosition
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
placeHiddenFieldAfter(Element element)
Checks the element to see if a hidden field may be placed after the element (as a sibling element).boolean
placeHiddenFieldInside(Element element)
Checks the element to see if a hidden field may be placed inside the element.
-
-
-
Method Detail
-
placeHiddenFieldInside
boolean placeHiddenFieldInside(Element element)
Checks the element to see if a hidden field may be placed inside the element.
-
placeHiddenFieldAfter
boolean placeHiddenFieldAfter(Element element)
Checks the element to see if a hidden field may be placed after the element (as a sibling element).
-
-