>From: "Ian.Priest" <[EMAIL PROTECTED]> 
>
> 
> That works really well Gary. My site is a full xml view with .xml 
> remapped to .tru. I've got two clay configs that I'm using, one to 
> define widgets and layouts, the other to define pages. 
> 
> My layout is defined like this in clay-config.xml: 

[snippet]
> 
> The tile that makes up the body of the final page is defined in @content 
> and it's a very simple clayImport, so content_static.html is just: 
> 
> 
> 
> Then in my other clay config, called clay-tiles-config.xml I define a 
> page called help_page.tru and set the value of the @page symbol: 
> 

[snippet]

> 
> The only little wrinkle is that I must provide a default locale in 
> faces-config to make sure that the locale is always present... 
> 

[snippet]

> 
> 
> So now hitting localhost:8080/mysite/content/help_page.tru with my 
> locale as English I get the message Hello, and with my local set to 
> French I get Bonjour. 
> 
> Nice :-) 

Outstanding!  That is pretty slick.  Very nice.

> 
> 
> On a slightly different subject, does anyone know of a full list of the 
> top level values (such as #{view}) that are available in the 
> facesContext? 
> 

Section 5.3.1.2 of the JSF 1.1 spec list the implicit objects.    You can also 
look at the myfaces code 
(http://svn.apache.org/viewvc/myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/el/VariableResolverImpl.java?view=markup).

Not sure which is the writ :-)


> Cheers, 
> Ian. 
> 

Gary

Reply via email to