tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Petrelli" <antonio.petre...@gmail.com>
Subject Re: active link highlighting with help of tiles
Date Tue, 02 Oct 2007 08:06:40 GMT
2007/10/2, TuomoS <tuomo@tranceaddict.net>:
> You are right about that, however the variable seems to be null.
> <s:if test="%{active == null}"> returns true.

Mmm... it's strange. I have a couple of questions to debug it:
1. versions of Tiles and Struts
2. please confirm my understanding that your JSP code resides in the
template page of the ".main" definition
3. the attribute "active" will be created in page scope by default (if you
don't specify the "scope" attribute). Try displaying it using JSTL or
directly JSP EL.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message