2 Replies Latest reply on Dec 26, 2010 4:45 PM by Agustín Cardeilhac Banús

    About Rich Calendar Events...

    Agustín Cardeilhac Banús Newbie

      Hi to all the users !!!... Here in Cordoba is very hot so I'll go directly to the point and go to the swimming pool !. Just wanted to ask what syntax should I use in order to do this: Depending on what date the user choose, a datatable is updated... I chose lot of ways but I can¡t manage to solve this...

       

      <h:panelGrid columns="1">
                      <rich:calendar valueChangeListener="#{manejadorEventos.verCambios}" value="#{manejadorEventos.fecha}">
                          <a4j:support event="changed" reRender="nombre"/>
                      </rich:calendar>
                      <h:outputText id="nombre" value="#{manejadorEventos.nombre}"/>
                      </h:panelGrid>

      And the java code...

       

      public void verCambios(javax.faces.event.ValueChangeEvent evt)
          {
              this.nombre = "Priiiiii Te Quierooooo !!! :D";
          }

      I couldn't find any documentation about this... Hope I can receive help !... Cheers