shale-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary VanMatre (JIRA)" <>
Subject [jira] Resolved: (SHALE-331) Allow setting the view root's properties within a Clay template
Date Sat, 11 Nov 2006 04:38:57 GMT
     [ ]

Gary VanMatre resolved SHALE-331.

    Resolution: Fixed

The view root properties can be assigned using the standard component definitions.  The base
component definition has been added to the base clay config file that is automatically loaded.

There are several ways to apply an alternate renderKit or locale to a view.


    <span id="view" jsfid="f:view" locale="ja_JP" renderKitId="MY_KIT1">
       <input type="text" id="input1">
       <input type="text" id="input2">

<html  xmlns:f=""

    <f:view locale="pt_PT" renderKitId="MY_KIT2">
       <h:inputText id="input1"/>
       <h:inputText id="input2"/>

<html  xmlns:f=""
    <f:view locale="de" renderKitId="MY_KIT3"/>
    <h:inputText id="input1"/>
    <h:inputText id="input2"/>

> Allow setting the view root's properties within a Clay template
> ---------------------------------------------------------------
>                 Key: SHALE-331
>                 URL:
>             Project: Shale
>          Issue Type: Improvement
>          Components: Clay
>    Affects Versions: 1.0.4-SNAPSHOT
>            Reporter: Gary VanMatre
>         Assigned To: Gary VanMatre
>             Fix For: 1.0.4-SNAPSHOT
> This issue was reported by Torsten Krah.
> The Clay full HTML or XML templates assume a view root.  The UIViewRoot is created by
the view handler.  In all other cases, the components are created for the meta-data definitions.
 There is not a way through the markup template to represent the properties of the view root.
 We need to provide a way to set the view roots properties from a template.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message