>From: René Zanner <[EMAIL PROTECTED]> 
>
> Hello all, 
> 
> I made a test with the full xml view approach and it's working as expected - 
> thank you! 
> The additional clay config file provides a separation between "normal" 
> component 
> definitions and "view composition" definitions, which is something I welcome! 
> 

Besides the logical separation, the suffix is used to determine what handler 
will 
process the component definitions.

Clay has a couple types of "metadata" template files.  Both types are digested 
into a graph of simple config beans.  The jsfid suffix is used to determine if 
the
html parser or xml parser should be used.  

These config beans are cached so a template file is only parsed once unless
you have the file watch dog enabled that looks for modified templates.

Component definitions that don't have a dot suffix are assumed to be core
definitions found in a XML file loaded on startup.  Definitions that end with
a dot xml suffix can be loaded on startup in a single config file or on-demand.
Originally, each full xml view required a physical file.  The common config
file for full XML views was added later.



> I use the suffix ".page" and removed all other suffix mappings for the 
> FacesServlet. My web.xml is much cleaner now. 
> 
> I should make a Wiki entry for this... 
> 

That would be most excellent!


> Thanx, 
> 
> René 
> 


Gary

Reply via email to