0 Replies Latest reply on Feb 3, 2012 8:46 AM by Fabio Fonseca

    a4j:poll and form validation

    Fabio Fonseca Newbie

      Hi to all

       

      I am using richfaces 3.3.3 and I have a poll in my code like this one that changes the value of a counter in my page:

       

      <a4j:region id="timePollRegion">

              <h:form>

                       <a4j:poll id="timePoll" interval="3000" ajaxSingle="true"

                                  reRender="timePoll, timeToEnd"  limitToList="true "/>

              </h:form>

       

              <h:outputText id="timeToEnd" style="font-size:16px"

                          value="#{AbcForm.timeToEndStr}" />

      </a4j:region>

       

       

      I also have a button that opens a modalPanel with a form. When a validation error occurs in this form, I display the error messages, but when the poll updates all messages dissapear. Is there anyway to fix this or this is just the common JSF behavior ?

       

      Thanks in advance.