Using the OGNL edit window
Access the in-line OGNL editor and test expressions.
About this task
An in-line editor is available for OGNL expressions. The editor validates the expression and allows an administrator to enter input values and test the resulting output.
Steps
-
To reach the OGNL editor, click Edit under Actions for an expression on any of the Attribute Fulfillment windows or click Test in the Show Advanced Criteria section on the Issuance Criteria window.
The test function does not work for the
context.httpRequest
attribute because its value is an object rather than text. -
To test an expression:
-
Enter an input value in the Value text box associated with the attribute.
-
Click the Testlink near the bottom-right of the window.
If the expression contains no errors, the result appears under Test Results.
If you want to save changes to an expression, click Update under Actions. To discard changes, click the Cancel link under Actions. Click the Cancel button near the bottom of the window to discard all changes you made in the current task.
-