|
Gary VanMatre made changes - 11/Nov/06 04:38 AM
Rahul Akolkar made changes - 23/Jan/07 04:40 PM
Like i told on the list, the locale binding is broken for EL expressions.
Looking at the code i saw the binding expression is set to the ShaleViewRoot. But i can change the result of the expression to another locale - the locale of the ViewRoot still says the same. Torsten
Torsten Krah made changes - 17/Apr/07 04:37 PM
Torsten Krah made changes - 17/Apr/07 04:38 PM
Jeff Turner made changes - 09/Aug/07 07:17 AM
Antonio Petrelli made changes - 08/Jan/09 08:57 AM
Antonio Petrelli made changes - 08/Jan/09 09:08 AM
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
There are several ways to apply an alternate renderKit or locale to a view.
Examples:
<html>
<span id="view" jsfid="f:view" locale="ja_JP" renderKitId="MY_KIT1">
<input type="text" id="input1">
<input type="text" id="input2">
</span>
</html>
<html xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html">
<f:view locale="pt_PT" renderKitId="MY_KIT2">
<h:inputText id="input1"/>
<h:inputText id="input2"/>
</f:view>
</html>
<html xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html">
<f:view locale="de" renderKitId="MY_KIT3"/>
<h:inputText id="input1"/>
<h:inputText id="input2"/>
</html>