You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Mu Mike <mi...@hotmail.com> on 2004/08/20 07:14:50 UTC

Problem:Tiles

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

_________________________________________________________________
享用世界上最大的电子邮件系统― MSN Hotmail。  http://www.hotmail.com  


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


Re: Problem:Tiles

Posted by Shinobu Kawai <sh...@ieee.org>.
Hi Mike,

>   <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?
Try setting a path in your definition.

Best regards,
-- Shinobu Kawai

--
Shinobu Kawai <shinobu@ieee.org, shinobu@computer.org>




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