title: Defining and reusing an EL variable in JSF page
body: <p>Is it possible to define variable and reuse the variable later in EL expressions ?</p>
  
  <p>For example :</p>
  
  <pre><code>&lt;h:inputText 
     value="#{myBean.data.something.very.long}"
     rendered="#{myBean.data.something.very.long.showing}"
  /&gt;
  </code></pre>
  
  <p>What i have in mind is something like :</p>
  
  <pre><code>&lt;!-- 
       somehow define a variable here like : 
       myVar = #{myBean.data.something.very.long} 
  --&gt;
  &lt;h:inputText 
     value="#{myVar}"
     rendered="#{myVar.showing}"
  /&gt;
  </code></pre>
  
  <p>Any ideas ? Thank you !</p>