2008/1/2, Ninad Tambe <[EMAIL PROTECTED]>:

> I am still unclear how Tiles can be used for a Portal (page level rather
> than within individual portlet level).



I did not test it, but, in theory, you can use Tiles at portlet-level (not
portal).


One thing that makes it difficult is that each portal has its' own way of
> setting layouts/themes, making it difficult to use Tiles as a template for
> layout. If you have any pointers, I'd be happy to research and contribute to
> the documentation.



Mmm... I have no pointers sincerely, but ask this in the Tiles Developers
list:
http://tiles.apache.org/mail-lists.html

Also, going back to your previous response, if Tiles definitions' cannot be
> changed at runtime (by persisting it), can I put all these definitions in DB
> instead? I have seen that the DigesterDefinitionsReader can actually read
> definitions (although raw) from DB. Would I be able to use that?



It depends on how you store them. My opinion is that you have to create a
new implementation of DefinitionsReader, because the
DigesterDefinitionsReader is based upon the fact that the definitions are
stored in an XML file.
Since I suppose that you want to take changes at definitions immediately, I
think you have to create an implementation of DefinitionsFactory (possibly
using the UrlDefinitionsFactory class as a basis).

Antonio

Reply via email to