What does the following give you?

<htm:outputText value="#
{facesContext.externalContext.requestContextPath}"/>

assuming that you the htm prefix is mapped to 
http://java.sun.com/jsf/html NS.

---- Original message ----
>Date: Thu, 7 Jul 2005 10:00:31 +0200
>From: Enrique Medina <[EMAIL PROTECTED]>  
>Subject: htmLib & JSF  
>To: MyFaces Discussion <[email protected]>
>
>Hi,
>
>Has anyone used the <htm:script> tag in this way?
>
><htm:script type="text/javascript"
>src="#
{facesContext.externalContext.requestContextPath}/js/routine.j
s"
>/>
>
>I get an empty <script> rendered:
>
><script type="text/javascript"></script>
>
>Can you use JSF expressions inside these htmLib tags?
Dennis Byrne

Reply via email to