myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Krah <tk...@fachschaft.imn.htwk-leipzig.de>
Subject Re: EL expression question - how to get them evaluated?
Date Wed, 11 Oct 2006 12:22:32 GMT
http://mail-archives.apache.org/mod_mbox/myfaces-users/200511.mbox/%
3C4375C479.3080103@weber-oldenburg.de%3E

Maybe a solution - but wrapping a simple thing in a bean - much
overhead :-| 

Am Mittwoch, den 11.10.2006, 14:16 +0200 schrieb Torsten Krah:
> Using jsp for the views, i want to prefix some path, for example this:
> 
> <link rel="stylesheet" href="<h:outputText
> value="#{facesContext.externalContext.requestContextPath}"/>/html/style/mystyle.css"
/>
> 
> The bad about that is, that i have to take a component, where an el
> expression should be enough, shouldnt it?
> 
> Is it possible to habe:
> 
> <link rel="stylesheet"
> href="#{facesContext.externalContext.requestContextPath}/html/style/mystyle.css" />
> 
> Or is this not possible?
> 
> kind regards
> 
> 
> PS: Using facelets i can use what i want - but using jsp its not
> evaluated? Some hints?
> 


Mime
View raw message