You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by maya <ma...@yahoo.com> on 2006/10/26 23:49:49 UTC

Re: tiles: detect controller pg?

Niall Pemberton wrote:
> On 10/23/06, maya <ma...@yahoo.com> wrote:
>> am fairly new to struts, so not sure you can do this...
>>
>> I was wondering if it's possible for a tile to detect what page is
>> calling it..  I have corp logo in header tile; header tile is called by
>> all pgs, but I would like the <a href=""...> code around logo to appear
>> ONLY if header tile is NOT being called from index.jsp page..
>>
>> is this possible?
> 
> Simplest way is to insert a different header into the template for the 
> index.jsp
> 
> Niall
> 
> 
>> thanks..

yes of course that's the simplest way, thought maybe there was a more 
sophisticated way of doing it.. ok, thanks..


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