I am working on JSF2.2 at my work place. My faces-config.xml has the resource bundle tag which helps me to assign a variable to a property file and use the variable in a EL. 

```
   <resource-bundle>
    <base-name>properties.common</base-name>
    <var>prop</var>
   </resource-bundle>

```

I also found another way of achieving this by using the f:loadBundle tag like this

```
<f:loadBundle basename="properties.common" var="prop"/>

```

But this is a localized solution, meaning I would have to write this in every page.

1. Would this work if i define this in a template ? If yes, how do i achieve it.
2. Is there any other way that i can declare the resource globally with a variable to be used in an EL(like in the case of faces-config.xml)