[
https://jira.jboss.org/browse/JBIDE-6712?page=com.atlassian.jira.plugin.s...
]
Marius Bogoevici commented on JBIDE-6712:
-----------------------------------------
Explicitely turning the expression into a Boolean seems to work:
<% Boolean principalIsNotNull =
(((HttpServletRequest)pageContext.getRequest()).getUserPrincipal() != null); %>
<c:if test="${principalIsNotNull}">
Welcome, ${pageContext.request.userPrincipal.name} |
</c:if>
c:url Type mismatch: cannot convert from boolean to String
----------------------------------------------------------
Key: JBIDE-6712
URL:
https://jira.jboss.org/browse/JBIDE-6712
Project: Tools (JBoss Tools)
Issue Type: Bug
Reporter: Burr Sutter
Assignee: Alexey Kazakov
Attachments: type_mismatch.png
The following syntax causes JBDS some problems:
<img src="<c:url
value="/resources/images/springone2gx.jpeg"/>" alt="SpringOne
2GX" />
Error message is:
Type mismatch: cannot convert from boolean to String
See screenshot
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira