org.apache.tapestry5.services

## Interface HiddenFieldLocationRules

- All Known Implementing Classes:
    HiddenFieldLocationRulesImpl

      @UsesMappedConfiguration(value=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 area `RelativeElementPosition`.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and 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).

5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.