You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Help with EL Expression to change text conditionally

Received Response


We are trying to change the text for the certification type within the pending actions are conditionally based on the certification type which is being used

Content (required):

Currently within page composer I have edited the component "commandlink" for text and written the following EL expression

#{pendItemDetails.CompleteMessage eq 'Domestic partner affidavit' || pendItemDetails.CompleteMessage eq 'Partner good health'}

This results in the text changing to "True". Instead of it displaying as true we would like to be able to specify the text we want to display.

I have tried using IF/THEN/ELSE logic but it has been erroring out. I have been using ? : commands to try and do this. I have added some screenshots before the EL expression and after the EL expression is applied.

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!