No you can't.

When you talk about customized, do you mean on a user level or for the
application overall?

IMO libraries are best suited for bundling general purpose components 
together
to be shared by multiple web apps, not as a way to structure a single web 
app.

If you need to customize the application overall use properties/parameters 
with default
values that can then be overridden.

If you need do it by user you have a lot of power in ASOs/HiveMind services 
that can
be used to hold page names, which can then be overridden.

Henrik

"Michael Prescott" <[EMAIL PROTECTED]> skrev i en meddelelse 
news:[EMAIL PROTECTED]
One more time, without the pre-emptive send. :-)

I have an application made up of a bunch of pages, that will
occasionally need to be customized.  The customizations could involve
changing pages, or changing the flow between pages - adding additional
steps or removing some, for example.

The idiom that seemed to make sense was putting the pages in a library
and then externalizing the flow.  Instead of having page A activate page
B directly, it would delegate to a flow definition to see what page to
activate.  The flow definition could be provided by each customization
project.

This is more work than I'd like to do if I can accomplish it through
judicious organization.  After reading:

http://tapestry.apache.org/tapestry4/UsersGuide/components.html#componen
ts.libraries.namespace

.. I wondered whether I could simply override the components in the
library.  In "Libaries and Namespaces", it's stated that I can override
pages or components in the framework namespace.  Can I override library
components in the same way, too?

It looks like no; the overriding of framework components comes from the
search order that Tapestry uses for pages requested with an unspecified
namespace.

Any guidance you can provide would be most helpful!

Michael

  _____

From: Michael Prescott
Sent: August 11, 2006 10:40 AM
To: 'users@tapestry.apache.org'
Subject: Namespaces & Overriding Pages


I have a situation where I have a set of pages defined by a library.
These flow from one to another

--
Michael Prescott





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to