myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Hubers ...@lists.stompbox.nl>
Subject Re: Image URL from JSF expression?
Date Mon, 22 Aug 2005 20:37:27 GMT
Patrick Hubers schreef:
...

> <h:graphicImage url="#{(authentication.role == "admin' ? 'image1.gif' : 
> 'image2.gif'}" />

Sorry, that should read

<h:graphicImage url="#{(authentication.role == "admin') ? 'image1.gif' :
'image2.gif'}" />


(I only left out the right parens in my mail, not the original code...)

-- 
Patrick Hubers

Mime
View raw message