title: output text not showing value in bean - JSF page
body: <p>There <strong>poll</strong> event on my jsf page which calls a pool event. There is a variable called <strong>i</strong> with getters and setters and i want to show the value of i on the page. each time the bean is called by the poll event the <strong>value of i changes</strong>. so I tried using the below code on my jsf page but its not showing any value. Any idea of wat i am doing wrong?</p>
  
  <pre><code>af:outputText value="#{UserChoiceInput.i}" id="ot1"
  
  Bean()
  {
  </code></pre>
  
  <p>private string i ;//edited</p>
  
  <pre><code>public void callPollTimer(PollEvent pollEvent)
  
  {
  
  //code for changing value of i
  
  }
    public void seti(String i) {
  
      this.counti = i;
  
    }
  
    public String geti() {
  
      return i;
  
    }
  
  }
  </code></pre>
  
  <p>Faces-config</p>
  
  <pre><code>&lt;managed-bean id="__2"&gt; 
    &lt;managed-bean-name&gt;UserChoiceInput&lt;/managed-bean-name&gt; 
    &lt;managed-bean-class&gt;oracle.insurance.viking.questionnaire.view.backing.UserChoic‌eInput&lt;/managed-bean-class&gt; 
    &lt;managed-bean-scope&gt;request&lt;/managed-bean-scope&gt; 
  &lt;/managed-bean&gt; 
  </code></pre>