Skip To Content
  Print

Welcome to Customization Central

This is a list of customization topics and discussions found elsewhere on this site

This is the talk I gave at Brainshare 2010 describing the various ways the Teaming/Kablink could be customized.

Andreas Ollenburg Jun 9, 2010 4:39 AM

Hi,

what we need is the possibility to set the landing page for the individual user after s/he logged in. As far as I can see, you can have one general landing page for everyone or the personal workspace. I want to place some users on their default team landing page after they logged in.

 

Greetings

Andreas

Marcel Dekker Feb 17, 2010 1:29 PM

Hi, I would like to use the Overview tab from the profile on other workspaces or folders. If it's possible to use more than one tab that would be even better. This way you would be able to use such a workspace or folder as a place to put several remote applications each on their own tab. That's an easy way to extend the functionality of Kablink with your own code.

From looking at the code in relevance_dashboard.jsp and references in there to ss_forum, workspaces and folders (looks like an if-statement) it seems that this should maybe be possible with some changes, but since I'm not a JAVA or jsp coder I have no idea how to do this. I can see some logic like how the page is build up and the references to the tabs and I did manage to change my tabs on the profiles, but how to just use multiple Overview pages I can't get working.

Marcel Dekker Feb 17, 2010 2:35 PM

Looked some more at the code (open source is great!) it looks like I need parts of relevance_dashboard.jsp, overview.jsp and ajax.jsp (last 2 from jsp/forum/relevance_dashboard and then ofcourse a customized template for a folder or workspace to include the tabs.

Marcel Dekker Feb 17, 2010 3:13 PM

OK, one set back. Looks like the accessorypanel can only be used once per page. :-(

Marcel Dekker Feb 17, 2010 4:00 PM

Again, a little further looking in to this. Looks like it might work anyway. The Profile tab and the Overview tab are refreshing the complete page where as the others are not. It's also setting the profile tab as the standard tab for a user and the overview tab as the first. There's ofcourse also a check to see what te current tab is.

After setting the Overview tab it's checking to see if we are working on a template. It won't display the other tabs then. I don't need that because I want to be able to set default remote apps. I then don't need the profile tab, so I can remove that.

The first part of the jsp I don't get completely yet, but it looks like this is the important part for constructing the page. I can see three things being set in the vars, ss_relevanceAjaxUrl, ss_relevanceProfileUrl and ss_relevanceOverviewUrl. This might be the place where I can set the different tabs (pages). Maybe something like ss_relevanceOverview1/2/3, but then again I have no idea if this is possible.

Peter Hurley (Novell) Feb 18, 2010 4:55 PM

One approach would be to add a "Custom JSP" element onto the workspace view (using the form and View Designer). Put this custom jsp up at the top of the view. I have created (but not really tested) a sample custom jsp that has three tabs on it. You should be able to edit this to add your own code.

You asked about using the tabs to have one remote app per tab. You can accomplish this by adding three "Remote Application" elements under the Custom JSP element. (Make sure they are children of your custom jsp element.) Then, your custom jsp can put those remote apps into each of the three tabs. Look at remote_application_view.jsp for guidance. But all you have to do is to add the following code to show a remote application:

<ssf:remoteApplication applicationId="your_remote_app_name_goes_here">
<ssf:param name="binderId" value="${ssBinder.id}"/>
</ssf:remoteApplication>

Let me know how you make out.

Marcel Dekker Feb 18, 2010 12:37 PM

Yes, that's it. Works like a charm. One minor thing is that the focus is not shifting to the other tabs. It will display the other tab, but the first one always looks selected. Thanks for the creating the jsp!

Marcel Dekker Feb 18, 2010 3:54 PM

Peter, looks like I need some javascript from the file ss_common.js in js/common. From what I can see I'll need the function ss_selectRelevanceTab and especially the parts for ss_relevanceAjaxUrl. Is that correct? Do I also need the function ss_showRelevanceTab?

Thanks again!

Peter Hurley (Novell) Feb 18, 2010 4:55 PM

Sorry about not setting the current tab right. I uploaded a new version of the jsp that should fix it. (See 2.4)

I don't think you should need any javascript from ss_common. This jsp is supposed to be self contained. However, I am now using the Teaming CSS styles to mark the tab current.

Marcel Dekker Feb 18, 2010 5:12 PM

Hi Peter, thanks a lot!

It's now working with the tabs. Just so you know. I am using it to display information from underlying folders on the workspace. We made some standard folders containing information about customers. With the help of a couple of little remote applications the workspace now contains that information, but it keeps the users on one page without going to the different folders. This was one of the most requested items on our system and this was the thing that made it ready to use!

Peter Hurley (Novell) Feb 10, 2010 2:37 PM

Please enter requests for customization topics.

Skip Footer Toolbar