2 Replies Latest reply on Dec 30, 2010 2:51 AM by Ilya Sorokoumov

    How to reset the rich:combobox values in modelpanel?

    Siva P Master

      Hi All,

       

      In my model panel i have 2 combobox component.i have selected different options in it.In the down of the page  i have 3 buttons like save,reset,cancel.

      When ever i click the reset button rich:combobox values should be rest to defaultmessage="pleaseselect".How to do this ???It is not reseting it holds old values only.

       

      Code:

       

      <a4j:commandButton id="resetButtonId" styleClass="celcocm01" value="#{msg.reset}" limitToList="true" ajaxSingle="true"
            type="reset" reRender="cbxnewServiceField,cbxnewreasonServiceField,statusEditForm"/>

      <a4j:commandButton id="resetButtonId" styleClass="celcocm01" value="#{msg.reset}" limitToList="true" ajaxSingle="true"

            type="reset" reRender="cbxnewServiceField,cbxnewreasonServiceField,statusEditForm"/>

       

      Thanks ,

      siva