tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ninad Tambe <ninadta...@yahoo.com>
Subject Re: Runtime Composition using APIs
Date Sat, 05 Jan 2008 16:47:57 GMT
I'm sorry, I meant DigesterDefinitionsReader. I just realized that UrlDefinitionsFactory can
only accept URL as a source, not an InputStream (maybe from DB). 


----- Original Message ----
From: Ninad Tambe <ninadtambe@yahoo.com>
To: users@tiles.apache.org
Sent: Saturday, January 5, 2008 11:36:54 AM
Subject: Re: Runtime Composition using APIs

Just another thought regarding this: 
Can I maybe keep all my definitions in DB and use UrlDefinitionsFactory to retreive the Definitions
collection at startup, so all the definitions will be available at runtime? This way, I do
not need to persist it, per se, from runtime? The reason I am trying to do this is we have
a content management system which saves everything in DB. So there is really no JSP pages
(for templates). 

Any thoughts? thanks a lot.

----- Original Message ----
From: Antonio Petrelli <antonio.petrelli@gmail.com>
To: users@tiles.apache.org
Sent: Wednesday, January 2, 2008 4:42:02 AM
Subject: Re: Runtime Composition using APIs

2007/12/26, Ninad Tambe <ninadtambe@yahoo.com>:
> I was looking into using APIs to create and manipulate
> the Tiles definitons, templates. However,
> http://tiles.apache.org/tutorial/advanced/runtime.html
> seems to indicate that this will only be "valid"
> during runtime. In other words, they cannot be
> persisted. Is this true?

Yes, it is true.

If it is, is any way to do it?

I suppose that you can do it, but it is not supported by Tiles out of the
Tiles definitions files are read-only, runtime-created definitions are valid
only during the request.


Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.   http://tools.search.yahoo.com/newsearch/category.php?category=shopping

Never miss a thing.  Make Yahoo your home page. 

View raw message