Uses of Class
com.foreach.across.modules.bootstrapui.utils.ControlNamePrefixAdjuster
-
Uses of ControlNamePrefixAdjuster in com.foreach.across.modules.bootstrapui.utils
Modifier and TypeMethodDescriptionControlNamePrefixAdjuster.controlNamePredicate
(Predicate<String> controlNamePredicate) An additional custom predicate that the (unmodified) control name should match before it is modified.ControlNamePrefixAdjuster.elementPredicate
(Predicate<FormInputElement> elementPredicate) Additional predicate that the candidates should match before they are modified.ControlNamePrefixAdjuster.ignoreUnderscore
(boolean ignoreUnderscore) Set tofalse
if you want to treat any control name starting with an underscore as an exact control name.ControlNamePrefixAdjuster.insertDotSeparator
(boolean insertDotSeparator) Set tofalse
if you want to apply the new prefixToAdd as is.static <T extends com.foreach.across.modules.web.ui.ViewElement>
ControlNamePrefixAdjuster<T>BootstrapElementUtils.prefixControlNames
(@NonNull String prefix) CreateControlNamePrefixAdjuster
preconfigured to prefix all control names with the given prefix, ignoring any first underscore character, adding dot separators and recursing through all children in case the control is a container.ControlNamePrefixAdjuster.prefixToAdd
(@NonNull String prefixToAdd) The new prefixToAdd that should be set on the control name.ControlNamePrefixAdjuster.prefixToReplace
(String prefixToReplace) Prefix value that should be replaced.ControlNamePrefixAdjuster.recurse
(boolean recurse) Set tofalse
if you only want to apply the name modification to the initial element, and not recurse through the child elements if the element is a container.static <T extends com.foreach.across.modules.web.ui.ViewElement>
ControlNamePrefixAdjuster<T>BootstrapElementUtils.replaceControlNamesPrefix
(@NonNull String prefixToReplace, @NonNull String newPrefix) CreateControlNamePrefixAdjuster
preconfigured to update all control names that match the initial prefix, and replace said prefix with the new value.