A URL is quite a strong argument for using pages. With the wicket-annotations project its dead-easy to make pages bookmarkable, just add @MountPath(path="/path/to/page").
Jörn On Sun, Oct 19, 2008 at 11:55 PM, Ned Collyer <[EMAIL PROTECTED]> wrote: > > I use markup inheritance for some pages, but I try to avoid making new pages > (after all, what do they give you that a panel does not (other than an > URL)?) > > I do use markup inheritance for components A LOT!! > > > > jwcarman wrote: >> >> Are you using one page and just passing in your "content" component? >> Are you not using markup inheritance? >> >> On Thu, Oct 16, 2008 at 5:16 PM, Ned Collyer <[EMAIL PROTECTED]> >> wrote: >>> >>> The system I'm building at the moment has almost everything pushed down >>> into >>> components. Most of the functionality is achieved by a single base page >>> which takes a component in its constructor. >>> >>> For Bookmarkable pages, I extend this base page, and pass a component to >>> the >>> super. >>> >>> How do _you_ separate concerns? Is there a best practice? >>> >>> A benefit of using a page is that it can be accessed with "getPage()" >>> regardless of how deep in the hierarchy you are... so I guess it could be >>> useful for storing the primary model for that section of the site. >>> >>> Anyway, I'm interested in hearing how others deal with Page vs >>> Components, >>> and how they structure their applications. >>> >>> So many ways of skinning a cat :) >>> >>> Rgds >>> >>> Ned >>> -- >>> View this message in context: >>> http://www.nabble.com/Pages-or-components...-how-do-u-decide--tp20016807p20016807.html >>> Sent from the Wicket - User mailing list archive at Nabble.com. >>> >>> >>> --------------------------------------------------------------------- >>> 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] >> >> >> > > -- > View this message in context: > http://www.nabble.com/Pages-or-components...-how-do-u-decide--tp20016807p20060673.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >