| Author |
jstl and tiles
|
Simon Joseph Aquilina
Ranch Hand
Joined: Feb 14, 2006
Posts: 96
|
|
Hi, Can I check the value of a tile:getAsString from a jstl tag. I have tried the following c:if however it is giving me a servlet exception The exception thrown is as follows: Basically I am using tiles to determine if a page should have a banner or not. I want that if in tiles-defs.xml the user does not set the tile element for the banner, then on the jsp page it does not try to load the image for it. I do not know if there a simpler way to do this. Thanks and Regards, Sim085
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56185
|
|
|
You cannot use a custom action as the attribute of another custom action, or as an EL expression.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
Simon Joseph Aquilina
Ranch Hand
Joined: Feb 14, 2006
Posts: 96
|
|
So is there a way how I can solve this? Like putting the value of the tile expression inside a varialble that can be handled inside the jstl tag? Regards, Sim085
|
 |
 |
|
|
subject: jstl and tiles
|
|
|