1 2 Previous Next 15 Replies Latest reply on Apr 28, 2011 4:07 PM by zehsilva Go to original post
      • 15. Re: Switching Tabs in tabpanel dynamically using AJAX
        zehsilva
        hey sai... instead of doing

        selectedTab="#{backingBean.editMode ? 'cyEdit' : 'cyGrid'}"

        you should just do something like

        selectedTab="#{backingBean.mode}

        and have setter and getter for this in your backing bean... actually the variable you pass to selectedTab attribute must be mutable (i.e. not read-only).
        1 2 Previous Next