Skip to main content

Web Sample: Server-Side Validation Error Reporting in DSPs

  • Nov 13, 2019 9:45 AM UTC
  • 0 replies
  • 15 views

Jan Cees Boogaard
Forum|alt.badge.img+2

Official Sample

Web Sample: Server-Side Validation Error Reporting in DSPs

AuthorBarbara Douma
Date submitted

 

CategoryWeb
Sample filexw_err_sample_10302_019.zip

Description

Minimum version: 10.3.02.019

Description

This Uniface 10 sample demonstrates several ways in which you can use the
showError and clearError triggers to customize how validation errors
on the server are reported and cleared on the browser. It shows Uniface’s default error display, and three ways in which you can use the showError and clearError web triggers to customize the error visualization:

  • By setting properties of the field in error.
  • By applying a style to a DOM element.
  • By generating an error count and list of errors for multiple validation errors.

To run the sample:

  1. Import the project export file prj_full_xw_err_sample.xml and compile the project XW_ERR_SAMPLE.
  2. Open the component XW_ERR_MAIN and click Compile & Test.