We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi there
Apologies if this has been dealt with already but I know that it's possible to do:
${person.name.equals("Homer") ? "Duff" : "Budweiser"}
But I'm struggling to get this to work so that a value from another variable is displayed instead.
${person.surname.equals("Homer") ? ${person.favourite_drink} : "Duff"}
Any help would be appreciated.
Thanks
Pav
The text was updated successfully, but these errors were encountered:
Try this:
${person.surname.equals("Homer") ? person.favourite_drink : "Duff"}
Sorry, something went wrong.
This is perfect. Thank you for your quick response.
Thanks again.
No branches or pull requests
Hi there
Apologies if this has been dealt with already but I know that it's possible to do:
${person.name.equals("Homer") ? "Duff" : "Budweiser"}
But I'm struggling to get this to work so that a value from another variable is displayed instead.
${person.surname.equals("Homer") ? ${person.favourite_drink} : "Duff"}
Any help would be appreciated.
Thanks
Pav
The text was updated successfully, but these errors were encountered: