Have a look at the slide show:
http://www.bluesunrise.com/jetspeed-docs/Jetspeed-Slides_files/frame.htm
or the non-IE version:
http://www.bluesunrise.com/jetspeed-docs/Slides/Slide1.html

It works a lot better if Im narrating along, but give it a try.

First have a look at how Turbine modules work.
Turbine is the framework upon which Jetspeed is built.
Read this to get familiar with the terminology used below.
http://jakarta.apache.org/turbine/turbine-2/fsd.html

We prefer that all screen and navigation modules are implemented as
templates.
As you are aware, you have a choice, either JSP or Velocity.
Im going to choose Velocity for the example below.

Take a look at the webapp/template directory.

drwxr-xr-x    Aug 13 13:59 controllers
drwxr-xr-x    Aug 13 13:59 controls
drwxr-xr-x    Aug 13 13:59 emails
drwxr-xr-x    Aug 13 13:59 layouts
drwxr-xr-x    Aug 13 13:59 navigations
drwxr-xr-x    Aug 13 13:59 portlets
drwxr-xr-x    Aug 13 13:59 screens

Im not going to cover everything, but as you can see there are screens,
layouts and navigations.
Controllers are templates used to generate the layout style of a portal
page, controls are decorators for portlets, and the portlets directory is
where Velocity portlets store their templates.

Take a look at the layout:

Here is the only place where you should see an <html> tag.
All other content included into the portal are considered to be markup
fragments, not full docs.
Jetspeed aggregates these fragments from portlets to create the full markup
payload.
You will also see the title and stylesheet:

<html>
  <head>
    <base href="$clink.External">
    <link
href="$clink.setURI($config.getString("site.stylesheet")).Absolute"
type="text/css" rel="stylesheet">
    <title>Jakarta Jetspeed Portal:
$!{data.profile.document.portlets.getMetaInfo().title} </title>
  </head>

Further down, the top navigation

        <td>$jnavigation.setTemplate("top.vm")</td>

left nav
          $jnavigation.setTemplate("left.vm")
the place holder for the PSML (portal page)
          $screen_placeholder

and finally, the bottom nav

          $jnavigation.setTemplate("bottom.vm")

As you can see, here is one place where you can easily customize your
portal.
Navigations will be dropped in some future release, since they aren't part
of the portal standard and are really specific to Turbine. You could easily
replace navigations with PSML references.
The $screen_placeholder includes in the default screen. Its not necessary to
use the default screen, but lets assume that you do:

## test for a maximized portlet
#if (($data.User) && ($data.User.getTemp("js_peid")))
    $data.setMode("maximize")
    $jetspeed.getPortletById($data.User.getTemp("js_peid"))
## process as a regular page request
#else
    $data.setMode("default")
    $jetspeed.getPane("default")
#end

The PSML page is included into the output from the jetspeed.getPane call or
jetspeed.getPortletById call. (There are similar tags for JSP.)

This will kick in the profiler, which finds the resource (see the slide show
for details), and that then generates your portal page complete with
customized portlets. The default behavior for the system is to show the
anonymous user page if no one has logged on. This is not required, and
pretty easy to customize.

> -----Original Message-----
> From: Q B [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 14, 2002 7:46 PM
> To: Jetspeed Users List
> Subject: Re: Absolute newbie conceptual question
>
>
>
>
>  Josh Hone wrote:
> A good place to start is the searchable user mailing list that
> can be found
> from links under Resources from the main jetspeed page. Past emails are
> archived there.
>
> Josh Hone
>
>
> Hi Josh,
>
>
>
> Thanks for the pointer. However, I find searching through piles
> of detailed threads to be quite a daunting task. Is there a kind
> soul on this list that could give me a quick rundown on what is
> Jetspeed supposed to be doing, and how can I get going with a
> brand new portal that's started from scratch? Maybe I'm asking
> too much, but my experience with other jakarta and related
> frameworks and their mail lists is positive, because we always
> jump in and help newbies with conceptual issues.
>
>
>
> Please help!
>
>
>
> Thanks.
>
>
>
>
>
>
>
> ---------------------------------
> Do You Yahoo!?
> HotJobs, a Yahoo! service - Search Thousands of New Jobs



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to