[prev in list] [next in list] [prev in thread] [next in thread] 

List:       struts-user
Subject:    [tiles] Re: can i access tile definition name directly in browser
From:       Antonio Petrelli <apetrelli () apache ! org>
Date:       2006-09-28 7:04:45
Message-ID: 451B740D.6010604 () apache ! org
[Download RAW message or body]

Vinod Kumar ha scritto:
> Hi,
>   Can I access a tile definition name like "loginPage"
> as below directly in the browser.

No, at least not directly, but you can define an attribute in the layout 
page, e.g.:
<tiles:getAsString name="definitionName">
and doing:

<definition name="loginPage" extends="baseLayout">
  <put name="definitionName" value="loginPage" />
  <!-- The rest remains the same -->
</definition>

HTH
Antonio



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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic