You forgot the layout JSP page. You have to make first of all a JSP page
like this:
<snip>
<tiles:insert attribute="vchart" flush="true" />
<tiles:insert attribute="option" flush="true" />
<tiles:insert attribute="currentTab" flush="true" />
<tiles:insert attribute="currentTabContent" flush="true" />
<tiles:insert attribute="buttonbar" flush="true" />
</snip>
Supposing you call this file "/layout/myLayout.jsp", you have to modify
you definition this way:
<definition name="temp" path="/layout/myLayout.jsp">
<put name="var1" value="var1" />
<putList name="tabList">
<item value="vchart" tooltip="Chart" link="tmp1.jsp"/>
<item value="option" tooltip="Properties" link="tmp2jsp"/>
</putList>
</definition>
Ciao
Antonio Petrelli
Mu Mike wrote:
> I have a definition like the below
>
> <definition name="temp" >
> <put name="var1" value="var1" />
> <putList name="tabList">
> <item value="vchart" tooltip="Chart" link="tmp1.jsp"/>
> <item value="option" tooltip="Properties" link="tmp2jsp"/>
> </putList>
> </definition>
>
> I write in my jsp file
>
> <tiles:insert definition="temp" flush="true">
> <tiles:put name="currentTab" value="<%=currTab%>"/>
> <tiles:put name="currentTabContent" value="<%=tabContentBody%>" />
> <tiles:put name="buttonbar" value="/common/blank.htm" />
> </tiles:insert>
>
> when preview this jps ,why I see a blank page?
>
>
>
> Thanks&Regards
> Mike
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]