it is not possible, only JSF expressions (e.g. #{bean.property}) or plain (e.g. "foo")
since all attributes have in tld-files: <rtexprvalue>false</rtexprvalue> JSF-EL is able to look for example in application, session or request scope (and some other things more) the SPEC for more (Chapter 5.3.1.2 Default VariableResolver Implementation) HTH, Matthias > -----Original Message----- > From: Ratnakar Parakala [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 20, 2004 6:33 PM > To: [EMAIL PROTECTED] > Subject: Scriptlets in JSF tag attribute > > > Hi, > > Anyone used scriptlets in JSF tag attributes? For ex: > <h:graphicImage url="<%= imageRoot%>/gifs/login.gif" />. When > I tried, I'm getting compilation error stating that > "expressions cannot be used in tag attribute". Pl help. > > Thanx > Ratnakar > > > --------------------------------- > Do you Yahoo!? > Yahoo! Mail - CNET Editors' Choice 2004. Tell them what you think. a > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]