using tools API within contains - Is this the correct syntax?
Hi,
Greetings. I am trying something like this in an inline style
<%=tools.getActive().getPageValue().getString("pyMessageKey").contains('<%=tools.findPage("pyWorkPage").getString(".pyAuto").getStringValue()%>')? "background-color: yellow;" : "" %>
Is this the correct syntax?
I get the below error
Test compilation failed: ----------
1. ERROR in \Rule_HTML_Section_Work__pyCaseHistoryContent_Stream_20200116T183032_691_GMT.java (at line 4975)
out.print(tools.getActive().getPageValue().getString("pyMessageKey").contains('<%=tools.findPage("pyWorkPage").getString(".pyAuto").getStringValue());
^^
Invalid character constant