Page 1 of 1

Tab event in Prototype Builder

Posted: Thu Jan 19, 2012 3:13 am
by WayneBuckhanan

I created a tabpanel and can't seem to get a button to navigate me from one tab to the next.

When I preview the HTML, it lets me click the various tabs and shows the hash value for each tab in the URL bar. When I attempt to navigate to that hash directly it just loads with the first tab active.

I discovered this strange hash behavior when I attached an event to a button attempting to go to the #j_108 (etc) URL and nothing happened.
Image

Is there a way to control the tabs via events other than directly clicking on the tabpanel control?

Thanks.


Tab event in Prototype Builder

Posted: Thu Jan 19, 2012 3:46 am
by maxkatz

I don't believe the actual tabs support events, let me find out and confirm.


Tab event in Prototype Builder

Posted: Thu Jan 19, 2012 11:04 pm
by maxkatz

I just confirmed with our dev. team - there is no option to do this now. I did request to add Run Custom JavaScript action to be added to Prototype Builder. With this feature you will be able to attach any event to the tab (or any other component) and invoke any action.