Yes. In the default directory, you will find the JSPTableContainerProvider. If you modify the files in that folder, it will update the look the tabs. Bare in mind, if you directly edit this files you will change the look all tabs here and anywhere in your portal. You may want to copy the directory into your Portal Desktop folder and make the edits there.
Wes
Modifying the look and feel of the portal is extremely problematic and difficult. You have to play around with the files to figure out which ones "really" need modified, then, make sure you remove the pre-generated servlet files from the servers "tmp" folder to make sure you see everything you need to.
Also, because Sun uses <%@include %> versus <jsp:include /> in the templates, only the top-most .jsp file is compiled, so it's even more difficult to figure out which files you need to modify.
Maybe I'm just the abnormal one, but I have considerable development experience and it took me months to be able to figure out all of the spidery paths through the .jsp files before I could modify the templates with any skill.
To help finding out what files need to be modified you can write a script which includes and HTML comment in each of them which shows the file name and path.
If you view the HTML source later on you will know exactly which file to change.
These comments has been there in former versions unfortunately they have gone.
This really is not all that difficult. The UI for the tabs is in:
1) tabs.jsp. This is a table that contains all of the tabs
2) selectedTab.jsp. This has the specific UI definition for the active tab
3) tabs.jsp. This has the UI definition for all of the non-active tabs
Make your changes and then simply "touch *" in the JSPTableContainer directory.
I agree that the recommended approach should be to create a copy of this directory in a new "desktop type" for your portal. This will keep your files safe when you upgrade the portal.
http://docs.sun.com/source/819-4156/ch4.html#wp21480
http://docs.sun.com/source/819-4156/ch2.html#wp21386
- Jim
I have to agree with Jim. While its a pain to learn all the includes (yes, at one time there were comments, but, when they were there, they were often wrong) path especially the tableContainerProviders with multiple column support, it was certainly doable. I even went as far as to create my own extending from JSPProvider so I could better handle nested tab support.
Just like Jim mentioned, don't touch the default directory and use touch *.jsp. All JSP's are compiled when called, but its only the top level JSP that gets called to include the others. Therefore, you must remember to touch that top page.
Wes