Problem with {facesContext.externalContext.requestContextPath}
Hello,
I would like for my app to evaluate the above expression. If I use the following sign (#) I get this error: the attributes for a standard action cannot be deferred expressions. If I use the dollar sign the expression is copied as is and not evaluated. My question is as follows: how can use context path in jsf?
Thanks in advance,
Julien Martin.
<f:view xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:jsp="http://java.sun.com/JSP/Page"
xmlns:ice="http://www.icesoft.com/icefaces/component">
<ice:outputDeclaration
doctypeRoot="HTML"
doctypePublic="-//W3C//DTD XHTML 1.0 Strict//EN"
doctypeSystem="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>JSP Page</title>
<link href="${facesContext.externalContext.requestContextPath}/css/xp/xp.css" rel="stylesheet" type="text/css"/>
<link href="${facesContext.externalContext.requestContextPath}/css/console-style.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<ice:outputConnectionStatus/>
<ice:form>
<ice:inputFile
progressListener="#{consoleInputFile.progress}"
actionListener="#{consoleInputFile.action}"/>
<ice:outputProgress
indeterminate="true"
value="#{consoleInputFile.percent}" />
<ice:messages
showDetail="true"
styleClass="consoleInputFileMessages"/>
</ice:form>
</body>
</html>
</f:view>

