Re: pages and components

2012-10-11 Thread Thiago H de Paula Figueiredo
On Thu, 11 Oct 2012 11:35:12 -0300, Ken in Nashua wrote: Folks, Hi! I am trying to nail down the concept (or at least inspired concept) of page and components and how they should be modeled with parameters and properties. Here is my semantic concept issue... if you can add to it t

RE: pages and components

2012-10-11 Thread Wechsung, Wulf
Hi Ken, Maybe I can help you out: 1. I would not :) Pages and Components both have Properties. It's nothing special really. Think Bean Properties with automatic getter/setters. Components have Parameters, Pages have PageActivationContext. Both can be Properties as well (because a property i

Re: pages and components

2012-10-11 Thread Dmitry Gusev
Pages and components are generally the same for me. Pages are just top-level components. They both have parameters: for pages they came from GET/POST/... HTTP requests, source of component parameters are pages and other components. Properties are just their state, the state that pages/components

Re: pages and components

2012-10-11 Thread Charlouze
Hey, I'm not a tapestry expert but here is what I think about pages, components, properties and parameters: Parameters (annotated with @Parameter) can only be used in components as parameters for the component (pages don't have parameters). Properties (annotated with @Property) are private attrib