Setting Tab Order in a TabContainer
I have a TabContainer that has many tabs that could display based on roles, however these tabs need to display in a certian order on the page. What attribute would allow me to assign a number to tab order and where would I set it?
The only way I have seen so for is whatever order you have the tab entries in the display portal, is the order in which the tabs will display. Is this the only way? If so, if I have a large number of possible tabs that must display based on roles, do I put every possible tab in order in the "Available" section, but not "Available and Visible" in the lowest priority DisplayProfile? Is this the only way or is there a more elegant one?
[687 byte] By [
Erly-Dev] at [2007-11-25 19:34:23]

# 1
It appears that I figured it out. It isn't elegant but for the readers that are interested:
I had to create separate roles for some of the tab groups and assign them different priorities. So I have a basic role that has a couple of application tabs that everyone gets. That role is assigned a priority of 1. Then I have various roles based on location and job description. The applications tied to these roles appear from left to right the higher priority I give the role. Roles with a priority of 2 appear before roles with a priority of 4. Then I had another set of tabs that everyone gets, but they need to be on the far right. This role gets a priority of 5. This is all done with editing the DisplayProfiles of the roles.
I assume this works because the server reads the lowest priority profiles first and moves to the higher until it gets to the user priority.