You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2014/01/18 14:09:13 UTC

[Bug 56029] Ternary operator doesn't work as expected inside attributes in jspx pages

https://issues.apache.org/bugzilla/show_bug.cgi?id=56029

--- Comment #1 from Michael Simons <mi...@simons.ac> ---
Happens with all named operators

<span class="${foo == 'bar' and 1==1 ? 'bar-span' : 'other-span'}">span</span>  


will break as well.

If used in jspx it only works now as 

<span class="${foo == 'bar' &amp;&amp; 1==1 ? 'bar-span' :
'other-span'}">span</span>    

which is not a really acceptable solution.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org