struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Dynamically switching Tiles master layout
Date Fri, 04 Nov 2016 07:55:31 GMT
Hi,

Does someone has a solution how to dynamically change layout that
given Tiles extends from?

I have two main layouts:

<definition name="logged-in" template="/WEB-INF/tiles/layout.jsp">
   ...
</definition>

<definition name="not-logged-in" template="/WEB-INF/tiles/layout.jsp">
   ...
</definition>

and have a page that should extend one of these when user is logged in
or not. Any idea?


Regards
-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message