|
i have created a new Ribbon with 2 toggleButtons: buttonA and buttonB.
what i want is for the page of my custom form region to swap when I click the ribbon buttons. much the same as if I were on a standard Contact item, clicking the 'General' and 'Details' buttons.
so far I have created a form region with the formRegionType set to 'replaceAll'. i am uncertain of how to proceed. do i create 2 separate form regions to achieve this? or do i somehow implement paging within a single form region?
i know that i can use the getPressed handler of my ribbon button to make a callback to fire this. but am uncertain where to go from there. thanks. |