2 Replies Latest reply on Dec 1, 2010 5:18 AM by dato.java

    Richfaces Calendar executes method twice

    dato.java

      Hello ,

       

      I use <rich:calendar > ,and in my pages.xml i have such case:

       

              <page view-id="/security/data.xhtml">

          <action execute="#{uploadFileSession.loadUploadedFiles(uploadBean.uploadedFile)}"/>

      </page>

       

      <page view-id="/security/data.xhtml">
         <action execute="#{uploadFileSession.loadUploadedFiles(uploadBean.uploadedFile)}"/>
      </page>

      But the main problem is that when i redirect to data.xhtml page this method #{uploadFileSession.loadUploadedFiles(uploadBean.uploadedFile)} executes twice, when i remove <rich:calendar /> it executes only once, here is my calendar code:

       

       

      <rich:calendar  buttonIcon=" " id="date_from" inputSize="10" />

       

       

      so  can anyone tell me what i am doing wrong