Declarative UI reference

This appendix provides in-depth details about declarative XML, which is used in API Gateway to define the user interface of filters and dialogs within Policy Studio.

Declarative XML overview

Declarative XML is a user interface markup language defining UI elements and bindings that allows you to quickly create dialogs within Policy Studio with minimal coding.

The defined elements map to Eclipse Standard Widget Toolkit (SWT) widgets and Axway ScreenAttributes (groups of SWT widgets backed by entity instances).

This topic describes in detail the UI elements and bindings.

Element quick reference

The following table contains the available elements (in alphabetical order):

Element name Example

ActorAttribute

ActorAttribute

AgeAttribute

 

AuthNRepositoryAttribute

 

binding

 

BitMaskAttribute

BitMaskAttribute

Button

Button

ButtonAttribute

ButtonAttribute

CategoryAttribute

 

CertDNameAttribute

 

certSelector

 

CertTreeAttribute

 

CheckboxGroupAttribute

 

CircuitChainTable

 

ComboAttribute

ComboAttribute

ComboBinding

 

ComboStackPanel

ComboStackPanel

condition

 

ContentEncodingAttribute

 

CronAttribute

 

DirectoryChooser

DirectoryChooser

ESPKReferenceSummaryAttribute

 

FieldTable

FieldTable

FileChooserText

FileChooserText

group

group

HTTPStatusTableAttribute

 

include

 

label

label

LifeTimeAttribute

LifeTimeAttribute

MsgAttrAttribute

MsgAttrAttribute

MultiValueTextAttribute

 

NameAttribute

NameAttribute

NumberAttribute

NumberAttribute

panel

 

PasswordAttribute

PasswordAttribute

RadioGroupAttribute

RadioGroupAttribute

ReferenceSelector

ReferenceSelector

SamlAttribute

 

SamlSubjectConfirmationAttribute

 

scrollpanel

scrollpanel

section

section

SigningKeyAttribute

 

SizeAttribute

 

SoftRefListAttribute

 

SoftRefTreeAttribute

 

SpinAttribute

SpinAttribute

tab

tab

tabFolder

tabFolder

TablePage

TablePage

text

 

TextAttribute

TextAttribute

ui

 

validator

 

XPathAttribute

 

The following sections detail the elements, including the available attributes.

Note   In the listing of available attributes for each element, the attributes are identified as mandatory (M), optional (O), or conditional (C).

Related Links