ePages 7.47.0 - DE_EPAGES/Presentation/UI/Tools.pm

Package DE_EPAGES::Presentation::UI::Tools

A collection of helper functions

Base
Exporter
@EXPORT_OK
CheckLengthLocalizedFieldsOnUpdate
CheckLengthLocalizedFieldsOnCreate

Functions

CheckLengthLocalizedFieldsOnCreate
CheckLengthLocalizedFieldsOnUpdate

CheckLengthLocalizedFieldsOnCreate

Checks length of localized fields contained in $Servlet forms. Max length should be defined in epages.conf in [LocalizedFields] section.

Syntax
CheckLengthLocalizedFieldsOnCreate($Servlet);
Input
Servlet (ref.object)
UI object e.g. ContentObject

CheckLengthLocalizedFieldsOnUpdate

Checks length of localized fields contained in servlet forms. Max length is defined in epages.conf in [LocalizedFields] section. Won't invalidate existing products. Will die on create

Syntax
CheckLengthLocalizedFieldsOnUpdate($Servlet);
Input
Servlet (ref.object)
UI object e.g. ContentObject