You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by 滕训华 <te...@magic-sw.com.cn> on 2008/04/03 09:53:23 UTC

答复: 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:dhning@gaonline.com.cn] 
发送时间: 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: "滕训华" <te...@magic-sw.com.cn>
To: "'Tapestry users'" <us...@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: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: select Component or iframe?

Posted by dhning <dh...@gaonline.com.cn>.
I am not good at UI design.
The websites I viewd rarely use frame page in their front pages, but it is common in admin backend pages.
Maybe frame set layout in front pages is not so flexible.

Above is my understanding, may be wrong^_^

Thanks!

DH


----- Original Message ----- 
From: "滕训华" <te...@magic-sw.com.cn>
To: "'Tapestry users'" <us...@tapestry.apache.org>
Sent: Thursday, April 03, 2008 3:53 PM
Subject: 答复: 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:dhning@gaonline.com.cn] 
发送时间: 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: "滕训华" <te...@magic-sw.com.cn>
To: "'Tapestry users'" <us...@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: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: 答复: select Component or iframe?

Posted by "Filip S. Adamsen" <fs...@fsadev.com>.
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:kristian.marinkovic@porsche.co.at] 
> 发送时间: 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
> 
> 
> 
> 
> 滕训华 <te...@magic-sw.com.cn> 
> 03.04.2008 09:53
> Bitte antworten an
> "Tapestry users" <us...@tapestry.apache.org>
> 
> 
> An
> "'Tapestry users'" <us...@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:dhning@gaonline.com.cn] 
> 发送时间: 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: "滕训华" <te...@magic-sw.com.cn>
> To: "'Tapestry users'" <us...@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: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


答复: select Component or iframe?

Posted by 滕训华 <te...@magic-sw.com.cn>.
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:kristian.marinkovic@porsche.co.at] 
发送时间: 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




滕训华 <te...@magic-sw.com.cn> 
03.04.2008 09:53
Bitte antworten an
"Tapestry users" <us...@tapestry.apache.org>


An
"'Tapestry users'" <us...@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:dhning@gaonline.com.cn] 
发送时间: 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: "滕训华" <te...@magic-sw.com.cn>
To: "'Tapestry users'" <us...@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: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


答复: select Component or iframe?

Posted by Kristian Marinkovic <kr...@porsche.co.at>.
IMHO frames are bad practice... from a pure HTML view

i'd rather go with layout components

g,
kris




滕训华 <te...@magic-sw.com.cn> 
03.04.2008 09:53
Bitte antworten an
"Tapestry users" <us...@tapestry.apache.org>


An
"'Tapestry users'" <us...@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:dhning@gaonline.com.cn] 
发送时间: 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: "滕训华" <te...@magic-sw.com.cn>
To: "'Tapestry users'" <us...@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: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org