0 Replies Latest reply on Aug 5, 2010 10:26 AM by frisch

    rich:calendar enableManualInput Problem

    frisch

      I have a modal panel with a calendar input that also supports manual input

       

                               <rich:calendar value="#{.....}"
                                      id="cal" disabled="#{!m.original}" inputSize="10"
                                      datePattern="dd.MM.yyyy" enableManualInput="true" >
                                      <a4j:support event="onchanged"
                                          action="#{user...}"
                                          status="waitStatus"
                                          reRender="...."
                                          oncomplete="Richfaces.showModalPanel('terminGrund');">
                                          <f:param name="...." value="#{index}" />
                                      </a4j:support>
                                      <a4j:support event="oninputchange"
                                          action="...."
                                          status="waitStatus"
                                          reRender="..."
                                          oncomplete="Richfaces.showModalPanel('terminGrund');">
                                          <f:param name="...." value="#{index}" />
                                      </a4j:support>
                                  </rich:calendar>

       

      My problem is when I change the input manually and click save the modalPanel is called first and my save action is never called.

      Does anyone now a workaround for this? Is there something like a queue I can use?

       

      thanks a lot