论坛首页 入门讨论版 Spring

sitemesh里使用iframe

浏览 241 次
该帖已经被评为新手帖
作者 正文
最后更新时间:2008-05-07 关键字: sitemesh
我用了sitemesh,在装饰页main.jsp里 我想把内容显示在iframe里 而不只是直接使用<decorator:body/>来获取正文。但是用iframe后 左边的链接点击后 内容根本就不会显示在iframe里。

您的位置>>><decorator:title></decorator:title>
<IFRAME name="menunr" marginWidth=0 marginHeight=0 src="" frameBorder=1 width=100% height=100% scrolling=off framespacing=0></IFRAME>


上面是我现在的代码

之前的代码如下:
您的位置>>><decorator:title></decorator:title><decorator:body>

请问各位大虾 应该才能怎样把内容显示在iframe里。希望我表述得够明白。
   
最后更新时间:2008-06-04
我也正在寻找SiteMesh支持Frame的方式,据官方介绍好像不支持Frames
Be careful when using frames, because decorators may NOT be applied to frames
   
0 请登录后投票
最后更新时间:2008-06-04
持续关注中,等待大侠出现。。。。
   
0 请登录后投票
最后更新时间:2008-06-11
那它搞个毛啊 怎么iframe都不支持 汗
   
0 请登录后投票
论坛首页 入门讨论版 Spring

跳转论坛:
JavaEye推荐