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
 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).



Copyright © 2003-2012 The Apache Software Foundation.