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

Expression Language - escaping single quote

edited Oct 5, 2016 6:22PM in Human Capital Management 5 comments

Content

We are trying to write some expression language that checks bindings.Name.inputValue, however, this value includes a single quote, so the code won't validate because of the single quote.

For example, the code we have:

#{bindings.Name.inputValue == 'Name we are checking with a ' single quote'  ? 'resultIfTrue' : 'resultifFalse'}

We have tried using some escape characters, but they don't appear to work

Using backlash ( \' )

Using HTML esacpes (' or ')

Is there another way to be able to look up this name with the single quote?

 

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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