tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Pratt" <thechrispr...@gmail.com>
Subject Re: active link highlighting with help of tiles
Date Tue, 02 Oct 2007 15:47:47 GMT
Can OGNL access things in the Page Scope?  You would probably have to
either use JSP EL

<s:if test="${active == 'home'}">

or import the attribute into the request scope and scope the OGNL EL

<tiles:importAttribute name="active" scope="request"/>
<s:if test="%{#request.active == 'home'}">


View raw message