Hi,
I'm trying to put the current path in a component with the following code :
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://" +
request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<h:commandLink id="lnkDetail"
onclick="window.open(<%=basePath%>'/core/salesforce/dealerList.jsf',
'secondefenetre', 'width=500,height=500,scrollbars');">
but basePath is not interpreted html code generated :
a href="#"
onclick="window.open(<%=basePath%>'/core/salesforce/dealerList.jsf',
'secondefenetre', 'width=500,height=500,scrollbars')
any idea ?
my best regards