You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Greg Reddin <gr...@apache.org> on 2006/05/09 20:10:56 UTC

[Standalone Tiles] TilesContext, etc.

I've completed the API for TilesContext and added implementations for  
Servlet and Portlet environments.  I did it in a rather sinister way  
by copying much of the WebContext code from Commons Chain.  I wasn't  
really sure what is the best approach for "using" portions of another  
Apache project without actually depending on that code.  It doesn't  
seem right for Tiles to have a dependency on Commons Chain simply to  
use its WebContext structure.  Besides, the TilesContext is actually  
a bit of a hybrid between Chain's WebContext and JSF's  
ExternalContext.  Please let me know if I've somehow broken  
protocol.  Ultimately, I'm seeing the need for a common environment  
abstraction API.  SAF1, SAF2, Tiles, MyFaces, Chain, and others could  
probably use such a thing.  At any rate, let me know your thoughts.

Unless changes are needed to TilesContext, the API refactoring for  
Tiles is largely complete.  If there is consensus on the current API  
the next step towards a release is simply testing.  I've got some  
apps to build :-)

Greg

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org