2.x.x release notes
2.1.1.RELEASE
-
bugfix:
Styleclass is nowSerializable -
a
HiddenFormElementcan now be converted into aFormControlElement, see the specific documentation for use cases -
addition of
ScriptViewElementfor writing<script>tags-
with transparent support for nesting elements in order to generate HTML templates using
ViewElements
-
2.1.0.RELEASE
-
fixed issues with control name prefixing and added the
ControlNamePrefixAdjusterimplementation-
some utility method
BootstrapElementUtils.prefixControlNames(String)have been added to cover simple (common) cases -
a guide on control name prefixing has been added to show the right way to change control names
-
2.0.1.RELEASE
-
DateTimeFormElements now have support for
LocalDate,LocalTime,LocalDateTime -
FormViewElementandFormViewElementBuildernow allow you to configure either a command object or anErrorsinstance directly-
this makes it easier to resolve field errors for the
FormGroupElementmembers of the form, without having to know the model attribute name -
when using the
errorsproperty directly, it is no longer required that the command object binding result is present on the model
-
-
the default builders now usually support localized text patterns for any text property
-
for example:
BootstrapUiBuilders.button().title("#{my.button=Default text}")
-
-
TextboxFormElementrendered inside aFormGroupElementwhich detects field errors, will now render the original input value if there are errors present -
direct use of
BootstrapUiFactoryorBootstrapUiComponentFactoryis now discouraged, these interfaces have been deprecated-
use the stateless
BootstrapUiBuildersfacade instead
-
-
added a
TooltipViewElementwith corresponding builder to quickly generate a tooltip with a default question mark icon-
see
BootstrapUiBuilders.tooltip()for a builder method
-
-
FormGroupElementhas been refactored to support more descriptions-
a
tooltipcan be set which will be added to the label - after the label text and required indicator -
a
descriptionBlockcan be set which will be added to the group before the control -
a
helpBlockcan be set which will be added to the group after the control -
the property
renderHelpBlockBeforeControlhas been removed as thedescriptionBlockis always rendered before the control, and thehelpBlockalways after the control
-