BBJSP COMMAND:ErrorsPresent Tag (Deprecated)

The BBJSP system is deprecated. For new development, use BBxServlet.

Description

In BBj 17.0 and higher, this tag can be used in a BBJSPBBJSP Page for checking if there are any command errors after command was executed.

Attributes

Attribute Name

Description

Required

Expression

Data Type

key

The key to check

false

false

String

withKeys

A comma separated list of keys to check

false

false

String

withoutKeys

A comma separated list of keys to ignore

false

false

String

Remarks

None.

Example

<!-- 
Add a style-class when field has errors
-->

<input type='text' name='forname' id='forname' value='${data["Forname"]}' placeholder='First Name' 
<cmd:errorsPresent key='forname'> class='error' </cmd:errorsPresent> 
/>

See Also

BBJSP

Command Tag Library