Print  
Gold star Gold star Gold star Gold star Gold star 5.0 Average - 2 Ratings
2003 Visits    10 Comments
Landing Page Extensions
Created
Peter Hurley (Novell) Peter Hurley (Novell)
Jan 11, 2010 9:07 AM
Modified by
Peter Hurley (Novell) Peter Hurley (Novell)
Apr 21, 2010 4:10 PM

Using the Landing Page Extensions.

The landing page extensions consist of 9 custom jsps that can be added onto a landing page:
  • landing_page_entry.jsp

    This is a custom jsp that displays an entry on the landing page. It is similar to the standard entry option except that it displays the author, date and the 10 most recent replies to the entry. This jsp can easily be modified to display other fields from the entry.

  • landing_page_full_entry.jsp

    This is a custom jsp that displays a full entry on the landing page. It is similar to the standard entry option except that it displays the author, date, all data fields and the 10 most recent replies to the entry.

  • landing_page_folder.jsp

    This is a custom jsp that displays the most recent entries in a folder. It is similar to the standard folder option except that it displays the entries as described in the landing_page_entry.jsp section above. If you select a "Survey" folder, then this display will display the most recent survey or surveys.

  • landing_page_folder_list.jsp

    This is a custom jsp that displays a list of the most recent entries in a folder. It is similar to the folder option above except that it only displays the entry titles and authors.

  • landing_page_folder_list_sorted.jsp

    This is a custom jsp that displays a list of the entries in a folder sorted alphabetically. It is similar to the folder option above except that it only displays the entry titles.

  • landing_page_folder_list_sorted_files.jsp

    This is a custom jsp that displays the list of files in a folder sorted alphabetically. Clicking on the file name takes you directly to the file.

  • landing_page_calendar.jsp
    This custom jsp displays any calendar folder on the landing page.
  • landing_page_task_folder.jsp
    This custom jsp displays any task folder on the landing page.
  • landing_page_survey.jsp

    This custom jsp will display an active survey entry on the landing page. When anyone who has not yet voted views the landing page, they will be presented with the survey to fill out. After submitting their answers, then they will see the results (depending on how the survey was created).

To use these landing page options, do the following:
  • Create a landing page
  • Modify the landing page and add a "Custom Jsp" option
  • In the "Custom JSP Name" field add one of the following:

    landingpage/jsp/landing_page_entry.jsp

    landingpage/jsp/landing_page_full_entry.jsp

    landingpage/jsp/landing_page_folder.jsp

    landingpage/jsp/landing_page_folder_list.jsp

    landingpage/jsp/landing_page_folder_list_sorted.jsp

    landingpage/jsp/landing_page_folder_list_sorted_files.jsp

    landingpage/jsp/landing_page_calendar.jsp

    landingpage/jsp/landing_page_task_folder.jsp

    landingpage/jsp/landing_page_survey.jsp The Custom Jsp form let's you then select a folder or an entry as desired. If you are trying to show a survey, make sure that the entry you select is a "Survey" entry from a Survey folder or only the entry title will be shown.

 

File Version History:

Version 4 (Jan 25, 2010) - Removed author's name from survey views.

Version 5 (Feb 2, 2010) - Fixed ul style in folder list

Version 6 (Mar 10, 2010) - Add sorted folder list and sorted file list

Version 7 (Mar 10, 2010 - Control display of title and description

Version 8 (Apr 19, 2010 - Add full entry option

Version 9 (Apr 21, 2010 - Add a calendar option

Version 10 (Apr 21, 2010) - Add a task folder option

Comments (10)
Attachments (1)
Entry History
File Versions
 
Thumbnail Image
Peter Hurley (Novell) Peter Hurley (Novell)
Jan 11, 2010 2:02 PM
Re: Landing Page Extensions

This extension only works Teaming V2.1 (starting with the Teaming V2.1 Beta 5 kit).

Thumbnail Image
Marcel Dekker Marcel Dekker
Jan 11, 2010 2:34 PM
Modified by
Marcel Dekker Marcel Dekker
Jan 11, 2010 2:57 PM
Antw: Landing Page Extensions

Hi Peter, excellent! I was just looking in to this. What do you meen by Beta 5? Downloads don't show more then Beta 2.

I have some specific wishes for myself so I hope to be able to continue from this.

On Beta 2 (after copying the files to custom_jsps/landingpage) the entry and list jsps are working. The folder jsp throws an exception.

Thumbnail Image
Peter Hurley (Novell) Peter Hurley (Novell)
Jan 12, 2010 7:26 AM
Re: Antw: Landing Page Extensions

I was stating that you must have a recent build. In particular, you must be running a version of Teaming/Kablink that was built or kitted after Jan 12, 2010. The error you are seeing sounds like your version is too old.

Beta 5 is the next Teaming Beta kit for those people participating in the Novell Teaming beta cycle.

Thumbnail Image
Marcel Dekker Marcel Dekker
Jan 12, 2010 8:21 AM
Antw: Landing Page Extensions

Thanks Peter. I got the information I was looking for from this example.

Thumbnail Image
Luke Penrod Luke Penrod
Jan 13, 2010 10:49 AM
Re: Landing Page Extensions

If you're interested, the official documentation for how to implement these sample JSPs on a landing page is here:

http://www.novell.com/documentation/teaming21/team21_admin/data/bnul484.html

Thumbnail Image
Gary S Ribar Gary S Ribar
Apr 19, 2010 3:16 PM
Re: Landing Page Extensions

Hi Peter,

I'm trying to build a landing page that includes the currently logged on user's calendar and task.  I can see how I can use your landing_page_folder.jsp to add a specific folder but it appears that I have to specify the particular folder at design time by associating it with a particular folder.  Is there anyway to set this up so I can determine the folder to display programmatically?  Thanks.

Thumbnail Image
Peter Hurley (Novell) Peter Hurley (Novell)
Apr 20, 2010 12:22 PM
Re: Re: Landing Page Extensions

Not really. The problem is that you need to have the system build the beans that you need in you jsp. There is no way for the jsp to access arbitrary folders. You would need to write an extension class that plugs into the Teaming server code to generate those beans. This is achievable, but fairly difficult.

Thumbnail Image
Gary S Ribar Gary S Ribar
Apr 20, 2010 4:18 PM
Re: Re: Landing Page Extensions

Thanks.  I was afraid that you would say that.

Thumbnail Image
Gary S Ribar Gary S Ribar
Apr 20, 2010 6:48 PM
Re: Landing Page Extensions

Another question, which may have the same answer.  I'm also trying to get and display all of the workspaces and folders that exist under the global workspace including children and children of children (down to however many generations there are).  It appears that this is very much like what the expandable tree does but I need to do some custom formatting.  Any suggestions for this?

Thumbnail Image
Peter Hurley (Novell) Peter Hurley (Novell)
Apr 21, 2010 4:08 PM
Re: Re: Landing Page Extensions

There is no way to do this. Since the tree can be huge, we never expand it all at once. Also, each user sees a different tree depending on their access rights.

Add/Delete Tags
Personal Tags
--none--
Add
Community Tags
--none--
Add
Close
Skip Footer Toolbar