1 Reply Latest reply on Nov 8, 2010 4:54 AM by Ilya Shaikovsky

    How to create an action on using onclick or some other methods in rich:toolbar???

    Siva P Master

      Hi all,

       

      I have problem like while clicking rich:toolBar i have to call the backing bean action or using javascript onclick or some other methos there to do.? i have to call the backing bean action method???How to achieve this?Because here i cant use ajax component also.

       

      <rich:toolBar id="ExistingCustomerBar"  styleClass="rich-toolbar-item"

      width="174" height="2" binding="#{menuBean.existCustomerMenu}" >

      <a4j:support  event="onclick" action="#{menuBean.submitActionMenuExistingCustomer}" limitToList="true"

      ajaxSingle="true" bypassUpdates="true"></a4j:support>

      </rich:toolBar>

       

      Thanks for reading my post.....

       

       

      <rich:toolBar id="ExistingCustomerBar"  styleClass="rich-toolbar-item"
      width="174" height="2" binding="#{menuBean.existCustomerMenu}" >
      <a4j:support  event="onclick" action="#{menuBean.submitActionMenuExistingCustomer}" limitToList="true"
      ajaxSingle="true" bypassUpdates="true"></a4j:support>
      </rich:toolBar>