Why are you doing a tiles:getAsString inside the tiles:put in your JSP?  I
use it as a normal tag, not within a tiles:put block.  Just my $.02 worth.

Regards,
David

-----Original Message-----
From: Thiago Souza [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 17, 2004 1:40 PM
To: [EMAIL PROTECTED]
Subject: Problems with tiles...


Hi ppl,


            Why this isn't rendering?

in master.jsp
      <tiles:insert attribute="content-layout">
            <tiles:put name="content">
                <tiles:getAsString name="item"/>
            </tiles:put>
        </tiles:insert>

in item.content.jsp (defined for "content-layout")
        <tiles:insert attribute="content" />

The definition used
<tiles-definitions>
    <definition name="master.page" template="/tiles/common/master.jsp">
        <put name="content-layout" value="" />
    </definition>

    <definition name="item.page" extends="master.page">
        <put name="content-layout" value="/tiles/common/item.content.jsp" />
        <put name="item" value="" />
    </definition>

    <definition name="start.page" extends="item.page">
        <put name="item" value="/tiles/blank.jsp" />
    </definition>
</tiles-definitions>

    The "/tiles/blank.jsp" isn't rendering! Nothing! Neither an error!....

    Any clue anyone?

Thanks in advance...
Thiago Souza


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

Reply via email to