Components have parameters, pages don't.  This is a big source of confusion
for new-comers, so I'd expect this separation to help ease that...

R

----- Original Message -----
From: "Craig Miskell" <[EMAIL PROTECTED]>
To: "Schneider, Eric" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, October 04, 2002 8:02 AM
Subject: Re: [Tapestry-developer] .jwc files


> As of 2.2, .page is for top level pages.  Components which get embedded in
> other pages/components use .jwc
>
> It's different from WebObjects, and probably most other component based
> frameworks (are there any others????), and indeed, IIRC most other tag
> markup frameworks.  But IMHO, it's a good thing (just thinking about it
> this morning).  You can never get confused and set a component as the page
> to render.  And components are slightly simpler than pages (well, I guess
> that based on AbstractComponent being super-super-class of AbstractPage).
> So having lots of components on a page is much less intensive than it
> would be if everything could be a page.
>
> At least, thats what I think :-)
>
> Just out of interest, does anyone have any other ideas why this separation
> is a good thing?
>
> Craig
>
>
>  On Thu, 3 Oct 2002, Schneider, Eric wrote:
>
> > Hi,
> >
> > I've just started looking at Tapestry today for the first time.  So far
it
> > seems pretty straight forward.  Pages and components seem to have .page,
> > .java, and .html files associated with them.
> >
> > One thing I'm not clear about is when you are required to have a .jwc
file.
> > From the docs and examples I've looked at there only seem to .jwc file
with
> > page wrapping components.  Can someone explain when these files are
> > appropriate?
> >
> > Thanks,
> > Eric
> >
> >
> > **********************************************************************
> > This message, including any attachments, contains confidential
information intended for a specific individual and purpose, and is protected
by law.  If you are not the intended recipient, please contact sender
immediately by reply e-mail and destroy all copies.  You are hereby notified
that any disclosure, copying, or distribution of this message, or the taking
of any action based on it, is strictly prohibited.
> > TIAA-CREF
> > **********************************************************************
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > Tapestry-developer mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/tapestry-developer
> >
>
> Craig Miskell
> Programmer, Black Albatross, Otago University, New Zealand
> -----BEGIN GEEK CODE BLOCK-----
> Version: 3.1
> GCS d- s+:- a-->? C++++(++)$ ULXH+++$>++++ P+>++++ L++$>++++$ E--- W+++$
> N+ K? w--- !O M-- V? PS--- PE Y t++ 5 X+++ R-- tv+ b+>+++ DI++++ D+ G+ e++
> h--- r+++ y+++
> ------END GEEK CODE BLOCK------
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Tapestry-developer mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/tapestry-developer
>




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Tapestry-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tapestry-developer

Reply via email to