Hi, I recommend that you don't use frames. As has been mentioned earlier, it's a bad practice that carries a number of usability issues with it.
Also, Tapestry's rendering is so fast that you likely won't gain anything by using frames. It will probably just bite later when you need to have a more dynamic menu. The thing is, when you first request a page, Tapestry constructs a page instance and uses that for the request. Once it's done, it goes into a pool of page instances, ready to be used for another request. Because of this, a few more components won't make a difference. -Filip On 2008-04-03 10:22, 滕训华 wrote: > Yes,I agree with you,but I want to know if using the layout component then > switch page ,will it lost the performace?because every switch,the copyrights > or menu or control header will reload. > -----邮件原件----- > 发件人: Kristian Marinkovic [mailto:[EMAIL PROTECTED] > 发送时间: 2008年4月3日 16:01 > 收件人: Tapestry users > 主题: 答复: select Component or iframe? > > IMHO frames are bad practice... from a pure HTML view > > i'd rather go with layout components > > g, > kris > > > > > 滕训华 <[EMAIL PROTECTED]> > 03.04.2008 09:53 > Bitte antworten an > "Tapestry users" <users@tapestry.apache.org> > > > An > "'Tapestry users'" <users@tapestry.apache.org> > Kopie > > Thema > 答复: select Component or iframe? > > > > > > > > Thanks your reply. > > Yes ,you are right,Actually I am considering this issue.Suppose,in an > application,every page has the "copyrights" and "control header" > information,I can make a layout component including the copyrights and > control header or menu and my main body,then I use this component in > every > page.Another solution,I think,I can make three pages:copyrights page and > control header and menu page and then input them into the frame page. > > So I can not decide which solution is better. > > > > -----邮件原件----- > 发件人: dhning [mailto:[EMAIL PROTECTED] > 发送时间: 2008年4月3日 15:37 > 收件人: Tapestry users > 主题: Re: select Component or iframe? > > I think they are different. Frame is used in frameset page, but layout > component is to provide a common page structure. > Just like when you write html, you can't decide use frame or div. > > > Thanks! > > DH > > > ----- Original Message ----- > From: "滕训华" <[EMAIL PROTECTED]> > To: "'Tapestry users'" <users@tapestry.apache.org> > Sent: Thursday, April 03, 2008 3:29 PM > Subject: select Component or iframe? > > >> I am a new to tapestry and I learn the component of tapestry.But now I > can >> not decide which should be used. The layout components or the frame >> page.Because I think if layout component is used in every page then when > we >> switch the page,it must reload related components ,is it right? >> >> >> >> Any suggestion can give me,thanks a lots. >> >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]