JeeWiz Home  
The Model-Driven System Builder

JeeWiz Architect's Guide
 
Contents  >   15.  'Screen' Reference
 


15.3 Constraint Object

Used on
eventHandler
panel
SuperclassbusinessObject:constraint
DescriptionThis is used to constrain
  1. any event hitting a page (when used on the 'page')
  2. the processing for a specific events (when used on the 'event-handler').
If the constraint is violated, the current failure-forward page/event is used (which can delegate up the definition hierarchy).
Contained
Lists
1
Name  choice
Type  String
Inherited from  businessObject:constraint
Inherited
properties
name from businessObject:constraint.name

description from businessObject:constraint.description

template (base property)

text (base property)

jwpattern (base property)

expression from businessObject:constraint.expression

regularExpression from businessObject:constraint.regularExpression

message from businessObject:constraint.message

minValue from businessObject:constraint.minValue

maxValue from businessObject:constraint.maxValue

minLength from businessObject:constraint.minLength

maxLength from businessObject:constraint.maxLength

constraintExceptionType from businessObject:constraint.constraintExceptionType

generateLogLevel from businessObject:constraint.generateLogLevel

uid from businessObject:constraint.uid

 15.3.1  Property 'failureForwardPage'
 15.3.2  Property 'failureForwardRequestString'

15.3.1  Property 'failureForwardPage'
DescriptionDefines the default page to go to in a failure situation (e.g. constraint failure). This must be the name of a page in the current application.
TypeString
Delegatestrue

15.3.2  Property 'failureForwardRequestString'
DescriptionDefines the additional request action to execute in a failure situation. Default is just to display the page. If this value is specified, it results in the default event for the forwarded page being set to this value.
TypeString
Delegatestrue
 


Copyright (c) 2001-2008 New Technology/enterprise Ltd.