Antonio,
Thanks a lot for the response. The reason I was thinking it would be possible 
is that I've seen such functionality in action in IBM Rational Application 
Developer 7, which has a Web Page Template that allows users/developers to 
create dynamic web pages based on tiles (albeit older version of Tiles). But, 
basically once the developer puts in basic information about the Web Page 
Template, RAD creates the appropriate definitions at run-time and updates the 
tiles-defs.xml with the new definitions. 

Although this approach is for an IDE, I'd bet there should be way to do it on a 
application server or even a Portal. 

And talking about Portal, would it be possible for you to update the 
documentation for "Starting Tiles in Portlet application" 
(http://tiles.apache.org/tutorial/configuration.html)? 

thanks and a Happy New Year.

regards,
Ninad.

----- Original Message ----
From: Antonio Petrelli <[EMAIL PROTECTED]>
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 <[EMAIL PROTECTED]>:
>
> 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
box.
Tiles definitions files are read-only, runtime-created definitions are valid
only during the request.

Antonio


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

Reply via email to