Greg Reddin ha scritto:
On Oct 26, 2006, at 8:03 AM, David H. DeWolf wrote:
I'll probably have some time to finish up the TilesContextFactory
configuration today and start doing some work on removing
duplication. Once I get through that I'll start putting some
container ideas down into code. The first step of that process will
be to define the tiles container api. What are those things that we
want to expose to the world?
... Antonio may have more input since he's working with some Tiles
extensions.
The "extension" that Greg was writing about is Dimensions:
http://mutidimensions.sf.net/
In the HEAD of the CVS repository I am trying to port Dimensions to
Tiles 2. Although it is not updated to the latest changes it could be
helpful. In my case I created:
* a class (KeyedComponentDefinitionsImpl) that extends
ComponentDefinitionsImpl, allowing to store Tiles definition in a
different manner (it uses the user's role and the calling device,
besides locale, to store specific definitions);
* a pair of classes (ChannelDefinitionsFactory and
ConfigurableDefinitionsFactory) that extend UrlDefinitionsFactory, that
interpret the HTTP request and return the correct definition, using
KeyedComponentDefinitionsImpl for the storage.
How does your "container" fit in?
HTH
Antonio
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]