2008/4/25 Chris Pat <[EMAIL PROTECTED]>:
> Hello
>  Is it possible to parameterize the <title/> from an "inner tile"?
>  I have a template that specifies the pagewrapper,banner, menubar, left 
> column.  I want to change the right column content with a jsp fragment and on 
> that fragment create a bean name="titleThis" that has the specific title of 
> page from this fragment.  In my pagewrapper I have a getasstring 
> name=titleThis.  I am creating the page, I know inefficiently, by specifying 
> that the page extends from template and for the right column I am <tiles:put 
> name="rightColumn" value="/pages/frag00.jsp"/>  I am now realizing the reason 
> for the jsp compiler error of "...titleThis...not found" is, I believe, 
> because I am writing it out before I specify it from my fragment.  There must 
> be a way of doing this, which this is not work working and is a

In Struts-Tiles 1 and Tiles 2.0.x it is not possible to put an
attribute into an inner (nested) template, you need to create a new
definition and put it inside your parent definition as the attribute.
In Tiles 2.1.x (only available in the SVN trunk) you can use the
"cascaded" attributes, i.e. attributes that are available at all inner
levels of nesting.

Antonio

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to