You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Stefan Burkhardt <st...@t-systems.de> on 2001/11/13 14:51:03 UTC

jetspeed login

Hi,

I have a problem with the login to jetspeed. I wrote an own 
user-authentification over LDAP.
This would work.(I can log in)  The problem is, that when a user log in 
to Jetspeed the directory with the
default.psml-file would not be created. So there are no portlets 
availabe. When I try to customize
the page I get a NullPointerException. This is because there is no 
psml-file which can be parsed.

My question is: what do I have to do after the user logged in to 
jetspeed. Do I have to create the directory
for the user in the JLogin-class. How can I do this, if I have no rights 
to generate a file.

Which class is responsible for the generation of the directorys for the 
new users. Is there a
service (jetspeed, turbine) which do this for me?


Hope someone could help me
Stefan


-- 
---------------------------------------------------
     Dipl.-Ing. (FH)
     Stefan Burkhardt
     Software Ingenieur
     STZ-Softwaretechnik

     im Projekt bei:
     T-Systems
     debis Systemhaus MEB GmbH
     Neue Technologien
     Erich-Herion-Str. 13, 70736 Fellbach
     Telefon: +49 711 1749647
     Telefax: +49 711 1740007
     E-Mail: stefan.burkhardt@t-systems.de
Internet: http:www.t-systems.de
---------------------------------------------------



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: jetspeed login

Posted by Marco Fabbri <mf...@libero.it>.
And can you post it to the CVS?

Thanks in advance

Marco Fabbri

----- Original Message -----
From: "Stefan Burkhardt" <st...@t-systems.de>
To: "Jetspeed Users List" <je...@jakarta.apache.org>
Sent: Tuesday, November 20, 2001 4:57 PM
Subject: Re: jetspeed login


> Hi Laura,
>
> we did our own LDAP user-authentification because when we started the
> project
> the wasn't any user-authentification over LDAD in turbine.
>
> Stefan
>
> Laura lega wrote:
>
> >Hi Stefan, and everybody out there.
> >If you decided to implement your own LDAP user-authentication, I imagine
> >this is beacuse the one that comes with Turbine doesn't work.
> >Is this correct?
> >
> >I'd be interested in it. Are you going to post it to the list?
> >
> >Thanks in advance,
> >    Laura
> >
> >----- Original Message -----
> >From: "Stefan Burkhardt" <st...@t-systems.de>
> >To: <je...@jakarta.apache.org>
> >Sent: Tuesday, November 13, 2001 2:51 PM
> >Subject: jetspeed login
> >
> >
> >>Hi,
> >>
> >>I have a problem with the login to jetspeed. I wrote an own
> >>user-authentification over LDAP.
> >>This would work.(I can log in)  The problem is, that when a user log in
> >>to Jetspeed the directory with the
> >>default.psml-file would not be created. So there are no portlets
> >>availabe. When I try to customize
> >>the page I get a NullPointerException. This is because there is no
> >>psml-file which can be parsed.
> >>
> >>My question is: what do I have to do after the user logged in to
> >>jetspeed. Do I have to create the directory
> >>for the user in the JLogin-class. How can I do this, if I have no rights
> >>to generate a file.
> >>
> >>Which class is responsible for the generation of the directorys for the
> >>new users. Is there a
> >>service (jetspeed, turbine) which do this for me?
> >>
> >>
> >>Hope someone could help me
> >>Stefan
> >>
> >>
> >>--
> >>---------------------------------------------------
> >>     Dipl.-Ing. (FH)
> >>     Stefan Burkhardt
> >>     Software Ingenieur
> >>     STZ-Softwaretechnik
> >>
> >>     im Projekt bei:
> >>     T-Systems
> >>     debis Systemhaus MEB GmbH
> >>     Neue Technologien
> >>     Erich-Herion-Str. 13, 70736 Fellbach
> >>     Telefon: +49 711 1749647
> >>     Telefax: +49 711 1740007
> >>     E-Mail: stefan.burkhardt@t-systems.de
> >>Internet: http:www.t-systems.de
> >>---------------------------------------------------
> >>
> >>
> >>
> >>--
> >>To unsubscribe, e-mail:
> >>
> ><ma...@jakarta.apache.org>
> >
> >>For additional commands, e-mail:
> >>
> ><ma...@jakarta.apache.org>
> >
> >
> >
> >--
> >To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> >For additional commands, e-mail:
<ma...@jakarta.apache.org>
> >
> >
>
> --
> ---------------------------------------------------
>      Dipl.-Ing. (FH)
>      Stefan Burkhardt
>      Software Ingenieur
>      STZ-Softwaretechnik
>
>      im Projekt bei:
>      T-Systems
>      debis Systemhaus MEB GmbH
>      Neue Technologien
>      Erich-Herion-Str. 13, 70736 Fellbach
>      Telefon: +49 711 1749647
>      Telefax: +49 711 1740007
>      E-Mail: stefan.burkhardt@t-systems.de
> Internet: http:www.t-systems.de
> ---------------------------------------------------
>
>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: jetspeed login

Posted by Stefan Burkhardt <st...@t-systems.de>.
Hi all,

sorry about delay of my response. I first have to ask my colleague if I 
could
post the code to the user-group. He said it is OK. So here it is.

An url for a LDAPAuthentification-Example is:
http://java.sun.com/products/jndi/tutorial/ldap/security/ldap.html

Stefan


Frans Thamura wrote:

>Can I have the script??? and the LDIF sample?
>
>thanks
>Frans
>
>----- Original Message -----
>From: "Stefan Burkhardt" <st...@t-systems.de>
>To: "Jetspeed Users List" <je...@jakarta.apache.org>
>Sent: Tuesday, November 20, 2001 10:57 PM
>Subject: Re: jetspeed login
>
>
>>Hi Laura,
>>
>>we did our own LDAP user-authentification because when we started the
>>project
>>the wasn't any user-authentification over LDAD in turbine.
>>
>>Stefan
>>
>>Laura lega wrote:
>>
>>>Hi Stefan, and everybody out there.
>>>If you decided to implement your own LDAP user-authentication, I imagine
>>>this is beacuse the one that comes with Turbine doesn't work.
>>>Is this correct?
>>>
>>>I'd be interested in it. Are you going to post it to the list?
>>>
>>>Thanks in advance,
>>>   Laura
>>>
>>>----- Original Message -----
>>>From: "Stefan Burkhardt" <st...@t-systems.de>
>>>To: <je...@jakarta.apache.org>
>>>Sent: Tuesday, November 13, 2001 2:51 PM
>>>Subject: jetspeed login
>>>
>>>
>>>>Hi,
>>>>
>>>>I have a problem with the login to jetspeed. I wrote an own
>>>>user-authentification over LDAP.
>>>>This would work.(I can log in)  The problem is, that when a user log in
>>>>to Jetspeed the directory with the
>>>>default.psml-file would not be created. So there are no portlets
>>>>availabe. When I try to customize
>>>>the page I get a NullPointerException. This is because there is no
>>>>psml-file which can be parsed.
>>>>
>>>>My question is: what do I have to do after the user logged in to
>>>>jetspeed. Do I have to create the directory
>>>>for the user in the JLogin-class. How can I do this, if I have no rights
>>>>to generate a file.
>>>>
>>>>Which class is responsible for the generation of the directorys for the
>>>>new users. Is there a
>>>>service (jetspeed, turbine) which do this for me?
>>>>
>>>>
>>>>Hope someone could help me
>>>>Stefan
>>>>
>>>>
>>>>--
>>>>---------------------------------------------------
>>>>    Dipl.-Ing. (FH)
>>>>    Stefan Burkhardt
>>>>    Software Ingenieur
>>>>    STZ-Softwaretechnik
>>>>
>>>>    im Projekt bei:
>>>>    T-Systems
>>>>    debis Systemhaus MEB GmbH
>>>>    Neue Technologien
>>>>    Erich-Herion-Str. 13, 70736 Fellbach
>>>>    Telefon: +49 711 1749647
>>>>    Telefax: +49 711 1740007
>>>>    E-Mail: stefan.burkhardt@t-systems.de
>>>>Internet: http:www.t-systems.de
>>>>---------------------------------------------------
>>>>
>>>>
>>>>
>>>>--
>>>>To unsubscribe, e-mail:
>>>>
>>><ma...@jakarta.apache.org>
>>>
>>>>For additional commands, e-mail:
>>>>
>>><ma...@jakarta.apache.org>
>>>
>>>
>>>
>>>--
>>>To unsubscribe, e-mail:
>>>
><ma...@jakarta.apache.org>
>
>>>For additional commands, e-mail:
>>>
><ma...@jakarta.apache.org>
>
>>>
>>--
>>---------------------------------------------------
>>     Dipl.-Ing. (FH)
>>     Stefan Burkhardt
>>     Software Ingenieur
>>     STZ-Softwaretechnik
>>
>>     im Projekt bei:
>>     T-Systems
>>     debis Systemhaus MEB GmbH
>>     Neue Technologien
>>     Erich-Herion-Str. 13, 70736 Fellbach
>>     Telefon: +49 711 1749647
>>     Telefax: +49 711 1740007
>>     E-Mail: stefan.burkhardt@t-systems.de
>>Internet: http:www.t-systems.de
>>---------------------------------------------------
>>
>>
>>
>>
>>--
>>To unsubscribe, e-mail:
>>
><ma...@jakarta.apache.org>
>
>>For additional commands, e-mail:
>>
><ma...@jakarta.apache.org>
>
>
>
>
>
>_________________________________________________________
>
>Do You Yahoo!?
>
>Get your free @yahoo.com address at http://mail.yahoo.com
>
>
>
>
>--
>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>

-- 
---------------------------------------------------
     Dipl.-Ing. (FH)
     Stefan Burkhardt
     Software Ingenieur
     STZ-Softwaretechnik

     im Projekt bei:
     T-Systems
     debis Systemhaus MEB GmbH
     Neue Technologien
     Erich-Herion-Str. 13, 70736 Fellbach
     Telefon: +49 711 1749647
     Telefax: +49 711 1740007
     E-Mail: stefan.burkhardt@t-systems.de
Internet: http:www.t-systems.de
---------------------------------------------------



Re: jetspeed login

Posted by Frans Thamura <ft...@yahoo.com>.
Can I have the script??? and the LDIF sample?

thanks
Frans

----- Original Message -----
From: "Stefan Burkhardt" <st...@t-systems.de>
To: "Jetspeed Users List" <je...@jakarta.apache.org>
Sent: Tuesday, November 20, 2001 10:57 PM
Subject: Re: jetspeed login


> Hi Laura,
>
> we did our own LDAP user-authentification because when we started the
> project
> the wasn't any user-authentification over LDAD in turbine.
>
> Stefan
>
> Laura lega wrote:
>
> >Hi Stefan, and everybody out there.
> >If you decided to implement your own LDAP user-authentication, I imagine
> >this is beacuse the one that comes with Turbine doesn't work.
> >Is this correct?
> >
> >I'd be interested in it. Are you going to post it to the list?
> >
> >Thanks in advance,
> >    Laura
> >
> >----- Original Message -----
> >From: "Stefan Burkhardt" <st...@t-systems.de>
> >To: <je...@jakarta.apache.org>
> >Sent: Tuesday, November 13, 2001 2:51 PM
> >Subject: jetspeed login
> >
> >
> >>Hi,
> >>
> >>I have a problem with the login to jetspeed. I wrote an own
> >>user-authentification over LDAP.
> >>This would work.(I can log in)  The problem is, that when a user log in
> >>to Jetspeed the directory with the
> >>default.psml-file would not be created. So there are no portlets
> >>availabe. When I try to customize
> >>the page I get a NullPointerException. This is because there is no
> >>psml-file which can be parsed.
> >>
> >>My question is: what do I have to do after the user logged in to
> >>jetspeed. Do I have to create the directory
> >>for the user in the JLogin-class. How can I do this, if I have no rights
> >>to generate a file.
> >>
> >>Which class is responsible for the generation of the directorys for the
> >>new users. Is there a
> >>service (jetspeed, turbine) which do this for me?
> >>
> >>
> >>Hope someone could help me
> >>Stefan
> >>
> >>
> >>--
> >>---------------------------------------------------
> >>     Dipl.-Ing. (FH)
> >>     Stefan Burkhardt
> >>     Software Ingenieur
> >>     STZ-Softwaretechnik
> >>
> >>     im Projekt bei:
> >>     T-Systems
> >>     debis Systemhaus MEB GmbH
> >>     Neue Technologien
> >>     Erich-Herion-Str. 13, 70736 Fellbach
> >>     Telefon: +49 711 1749647
> >>     Telefax: +49 711 1740007
> >>     E-Mail: stefan.burkhardt@t-systems.de
> >>Internet: http:www.t-systems.de
> >>---------------------------------------------------
> >>
> >>
> >>
> >>--
> >>To unsubscribe, e-mail:
> >>
> ><ma...@jakarta.apache.org>
> >
> >>For additional commands, e-mail:
> >>
> ><ma...@jakarta.apache.org>
> >
> >
> >
> >--
> >To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> >For additional commands, e-mail:
<ma...@jakarta.apache.org>
> >
> >
>
> --
> ---------------------------------------------------
>      Dipl.-Ing. (FH)
>      Stefan Burkhardt
>      Software Ingenieur
>      STZ-Softwaretechnik
>
>      im Projekt bei:
>      T-Systems
>      debis Systemhaus MEB GmbH
>      Neue Technologien
>      Erich-Herion-Str. 13, 70736 Fellbach
>      Telefon: +49 711 1749647
>      Telefax: +49 711 1740007
>      E-Mail: stefan.burkhardt@t-systems.de
> Internet: http:www.t-systems.de
> ---------------------------------------------------
>
>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: jetspeed login

Posted by Stefan Burkhardt <st...@t-systems.de>.
Hi Laura,

we did our own LDAP user-authentification because when we started the 
project
the wasn't any user-authentification over LDAD in turbine.

Stefan

Laura lega wrote:

>Hi Stefan, and everybody out there.
>If you decided to implement your own LDAP user-authentication, I imagine
>this is beacuse the one that comes with Turbine doesn't work.
>Is this correct?
>
>I'd be interested in it. Are you going to post it to the list?
>
>Thanks in advance,
>    Laura
>
>----- Original Message -----
>From: "Stefan Burkhardt" <st...@t-systems.de>
>To: <je...@jakarta.apache.org>
>Sent: Tuesday, November 13, 2001 2:51 PM
>Subject: jetspeed login
>
>
>>Hi,
>>
>>I have a problem with the login to jetspeed. I wrote an own
>>user-authentification over LDAP.
>>This would work.(I can log in)  The problem is, that when a user log in
>>to Jetspeed the directory with the
>>default.psml-file would not be created. So there are no portlets
>>availabe. When I try to customize
>>the page I get a NullPointerException. This is because there is no
>>psml-file which can be parsed.
>>
>>My question is: what do I have to do after the user logged in to
>>jetspeed. Do I have to create the directory
>>for the user in the JLogin-class. How can I do this, if I have no rights
>>to generate a file.
>>
>>Which class is responsible for the generation of the directorys for the
>>new users. Is there a
>>service (jetspeed, turbine) which do this for me?
>>
>>
>>Hope someone could help me
>>Stefan
>>
>>
>>--
>>---------------------------------------------------
>>     Dipl.-Ing. (FH)
>>     Stefan Burkhardt
>>     Software Ingenieur
>>     STZ-Softwaretechnik
>>
>>     im Projekt bei:
>>     T-Systems
>>     debis Systemhaus MEB GmbH
>>     Neue Technologien
>>     Erich-Herion-Str. 13, 70736 Fellbach
>>     Telefon: +49 711 1749647
>>     Telefax: +49 711 1740007
>>     E-Mail: stefan.burkhardt@t-systems.de
>>Internet: http:www.t-systems.de
>>---------------------------------------------------
>>
>>
>>
>>--
>>To unsubscribe, e-mail:
>>
><ma...@jakarta.apache.org>
>
>>For additional commands, e-mail:
>>
><ma...@jakarta.apache.org>
>
>
>
>--
>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>

-- 
---------------------------------------------------
     Dipl.-Ing. (FH)
     Stefan Burkhardt
     Software Ingenieur
     STZ-Softwaretechnik

     im Projekt bei:
     T-Systems
     debis Systemhaus MEB GmbH
     Neue Technologien
     Erich-Herion-Str. 13, 70736 Fellbach
     Telefon: +49 711 1749647
     Telefax: +49 711 1740007
     E-Mail: stefan.burkhardt@t-systems.de
Internet: http:www.t-systems.de
---------------------------------------------------




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: jetspeed login

Posted by Laura lega <sp...@libero.it>.
Hi Stefan, and everybody out there.
If you decided to implement your own LDAP user-authentication, I imagine
this is beacuse the one that comes with Turbine doesn't work.
Is this correct?

I'd be interested in it. Are you going to post it to the list?

Thanks in advance,
    Laura

----- Original Message -----
From: "Stefan Burkhardt" <st...@t-systems.de>
To: <je...@jakarta.apache.org>
Sent: Tuesday, November 13, 2001 2:51 PM
Subject: jetspeed login


> Hi,
>
> I have a problem with the login to jetspeed. I wrote an own
> user-authentification over LDAP.
> This would work.(I can log in)  The problem is, that when a user log in
> to Jetspeed the directory with the
> default.psml-file would not be created. So there are no portlets
> availabe. When I try to customize
> the page I get a NullPointerException. This is because there is no
> psml-file which can be parsed.
>
> My question is: what do I have to do after the user logged in to
> jetspeed. Do I have to create the directory
> for the user in the JLogin-class. How can I do this, if I have no rights
> to generate a file.
>
> Which class is responsible for the generation of the directorys for the
> new users. Is there a
> service (jetspeed, turbine) which do this for me?
>
>
> Hope someone could help me
> Stefan
>
>
> --
> ---------------------------------------------------
>      Dipl.-Ing. (FH)
>      Stefan Burkhardt
>      Software Ingenieur
>      STZ-Softwaretechnik
>
>      im Projekt bei:
>      T-Systems
>      debis Systemhaus MEB GmbH
>      Neue Technologien
>      Erich-Herion-Str. 13, 70736 Fellbach
>      Telefon: +49 711 1749647
>      Telefax: +49 711 1740007
>      E-Mail: stefan.burkhardt@t-systems.de
> Internet: http:www.t-systems.de
> ---------------------------------------------------
>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Images for Tab

Posted by Shan Gopalakrishnan <sg...@cisco.com>.
Is it possible to use images for Tabs?. while using the TabController .

- Shan

RE: output html

Posted by Shan Gopalakrishnan <sg...@cisco.com>.
Thank you David.  Appreciate all your information.  I will read thru' and 
check back with you if any questions.

- Shan

t 02:07 PM 4/26/2002 -0700, David Sean Taylor wrote:
>Shan,
>
> > where is the definition of  $screen_placeholder.?
>
>That's an object put into the 'context' for Velocity by Turbine when
>creating the layout.
>Not sure if you are aware of the Velocity context or not, if not
>recommend reading up on it, nice concept:
>
>http://jakarta.apache.org/turbine/turbine-2/howto/context-howto.html
>
>The context is used to pull Java objects into your velocity template.
>Also see:
>
>http://jakarta.apache.org/turbine/turbine-2/howto/pullmodel-howto.html
>
>Also reference any of the vm templates in Jetspeed.
>Lots of examples of pulling Java objects from the context, and using
>'Pull Tools'
>
> > If it is
> > request to send a custom screen thru' the request, how do we
> > do that?. any inputs on this will help me.  I will also go
>
>Check out the $jslink examples for how to do this from a .vm page
>
> > -----Original Message-----
> > From: Shan Gopalakrishnan [mailto:sgopalak@cisco.com]
> > Sent: Friday, April 26, 2002 1:29 PM
> > To: Jetspeed Users List
> > Subject: RE: output html
> >
> >
> > David, this is a awesome explanation. Thanks a lot.
> >   But that made me curious to ask little more question.
> >
> > On the below description
> >
> >  >>The PSML is placed into a Turbine screen(template) by the
> > layout, with  >>optional navigations.
> >  >>          $screen_placeholder
> >  >>The screen placeholder calls the specified screen in the
> > request, or the  >>default screen setup in the TR.p  >>Our
> > default screen will display the requested portal page.
> >
> > where is the definition of  $screen_placeholder.?  If it is
> > request to send a custom screen thru' the request, how do we
> > do that?. any inputs on this will help me.  I will also go
> > thru' turbine docs.
> >
> > - Shan
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:jetspeed-user-> unsubscribe@jakarta.apache.org>
> > For
> > additional commands,
> > e-mail: <ma...@jakarta.apache.org>
> >
> >
>
>
>
>--
>To unsubscribe, 
>e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: 
><ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: output html

Posted by David Sean Taylor <da...@bluesunrise.com>.
Shan,

> where is the definition of  $screen_placeholder.? 

That's an object put into the 'context' for Velocity by Turbine when
creating the layout.
Not sure if you are aware of the Velocity context or not, if not
recommend reading up on it, nice concept:

http://jakarta.apache.org/turbine/turbine-2/howto/context-howto.html

The context is used to pull Java objects into your velocity template.
Also see:

http://jakarta.apache.org/turbine/turbine-2/howto/pullmodel-howto.html

Also reference any of the vm templates in Jetspeed.
Lots of examples of pulling Java objects from the context, and using
'Pull Tools'

> If it is 
> request to send a custom screen thru' the request, how do we 
> do that?. any inputs on this will help me.  I will also go 

Check out the $jslink examples for how to do this from a .vm page

> -----Original Message-----
> From: Shan Gopalakrishnan [mailto:sgopalak@cisco.com] 
> Sent: Friday, April 26, 2002 1:29 PM
> To: Jetspeed Users List
> Subject: RE: output html
> 
> 
> David, this is a awesome explanation. Thanks a lot.
>   But that made me curious to ask little more question.
> 
> On the below description
> 
>  >>The PSML is placed into a Turbine screen(template) by the 
> layout, with  >>optional navigations.
>  >>          $screen_placeholder
>  >>The screen placeholder calls the specified screen in the 
> request, or the  >>default screen setup in the TR.p  >>Our 
> default screen will display the requested portal page.
> 
> where is the definition of  $screen_placeholder.?  If it is 
> request to send a custom screen thru' the request, how do we 
> do that?. any inputs on this will help me.  I will also go 
> thru' turbine docs.
> 
> - Shan
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:jetspeed-user-> unsubscribe@jakarta.apache.org>
> For 
> additional commands, 
> e-mail: <ma...@jakarta.apache.org>
> 
> 



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: output html

Posted by Shan Gopalakrishnan <sg...@cisco.com>.
David, this is a awesome explanation. Thanks a lot.
  But that made me curious to ask little more question.

On the below description

 >>The PSML is placed into a Turbine screen(template) by the layout, with
 >>optional navigations.
 >>          $screen_placeholder
 >>The screen placeholder calls the specified screen in the request, or the
 >>default screen setup in the TR.p
 >>Our default screen will display the requested portal page.

where is the definition of  $screen_placeholder.?  If it is request to send a
custom screen thru' the request, how do we do that?. any inputs on this
will help me.  I will also go thru' turbine docs.

- Shan


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: output html

Posted by David Sean Taylor <da...@bluesunrise.com>.
I'll try to give a brief overview, but this is all described in the docs
http://jakarta.apache.org/jetspeed

PSML controls the layout of where portlets are placed in the portal
page.
It is not a template, but an XML file.
Take a look at the anonymous PSML file found in the distribution
/webapps/WEB-INF/psml/anon/html

<portlets xmlns="http://xml.apache.org/jetspeed/2000/psml">
    <metainfo>
      <title>Default Jetspeed page (for default locale)</title>
    </metainfo>

  <control name="TabControl"/>

  <controller name="CardPortletController">
    <parameter name="parameter" value="pane"/>
  </controller>

  <skin name="orange-grey"/>

  <portlets>
    <controller name="RowColumnPortletController">
      <parameter name="sizes" value="66%,34%"/>
      <parameter name="mode" value="row"/>    
    </controller>

The page is defined as a collection of 'portlets'.
Each collection can have a controller and control.
The controllers and controls are best defined using templates (either
Velocity or JSPs)
Look in the distribution under /webapps/WEB-INF/templates/vm/controllers
and /webapps/WEB-INF/templates/vm/controls


Controllers determine how portlets are placed
 within a portlet set for a given media type (html,wml...)
There several predefined controllers distributed with jetspeed, such as
single column, multicolumn, and in the case above, a Card controller,
which allows for portlets sets to be 'stacked' like cards.
The controllers are defined in a system registry under
/webapps/WEB-INF/conf/controllers.xreg.

Controls are also templates, and are decorators around the portlet. They
can be used to give portlets common look and feel such as Title bars,
Tab titles, Menu titles. Take a look at the distributed vm files.
All controls are defined in the controls.xreg file. Controls defined for
a <portlets> set are applied to all portlets in the its collection. If
no control is defined, it falls back to the control defined for a
portlet entry or to the default control in the JR.p.

Portlet entries(instances) are also placed in the PSML file , and it can
also have a specific control.

      <entry
parent="http://jakarta.apache.org/jetspeed/channels/jetspeed.rss">
        <control name="ClearPortletControl"/>
      </entry>

In theory, you shouldn't have to know about the XML details, since you
can use our Customizer to layout a PSML file for you.

> for each portlet . but I'm looking to control the html page 
> that is getting 
> generated for the entire psml after
> the portlets assembly?.

The overall page is determined by the layout.
Layouts, screens, navigations and actions are all Turbine actions.
Reference the Turbine docs for more details, or I can go into more
detail on how that works if you'd like.

The overall 'layout' of a Jetspeed page is determined by Turbines
modules.
The layout determines to entire page. Look at
/webapps/WEB-INF/templates/vm/layouts/html/default.vm.
The entire default layout is defined here. Layouts are auto-associated
with requested screens(templates).
The PSML is placed into a Turbine screen(template) by the layout, with
optional navigations.

          $screen_placeholder 

The screen placeholder calls the specified screen in the request, or the
default screen setup in the TR.p
Our default screen will display the requested portal page.


> -----Original Message-----
> From: Shan Gopalakrishnan [mailto:sgopalak@cisco.com] 
> Sent: Thursday, April 25, 2002 9:58 PM
> To: Jetspeed Users List
> Subject: output html
> Importance: High
> 
> 
> Hello team
> 
> Are there any templates assoicated to the overall PSML?.  How 
> we control 
> the html that is getting generated
> for the overall PSML which includes all the portlets.  I 
> understand there 
> is a possibility to assign a template
> for each portlet . but I'm looking to control the html page 
> that is getting 
> generated for the entire psml after
> the portlets assembly?.
> 
> - Shan
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:jetspeed-user-> unsubscribe@jakarta.apache.org>
> For 
> additional commands, 
> e-mail: <ma...@jakarta.apache.org>
> 
> 



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


output html

Posted by Shan Gopalakrishnan <sg...@cisco.com>.
Hello team

Are there any templates assoicated to the overall PSML?.  How we control 
the html that is getting generated
for the overall PSML which includes all the portlets.  I understand there 
is a possibility to assign a template
for each portlet . but I'm looking to control the html page that is getting 
generated for the entire psml after
the portlets assembly?.

- Shan


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: jetspeed login

Posted by Chris Kimpton <ki...@yahoo.com>.
Hi,

--- Stefan Burkhardt <st...@t-systems.de> wrote:
> Hi,
> 
> I have a problem with the login to jetspeed. I wrote an own 
> user-authentification over LDAP.
> This would work.(I can log in)  The problem is, that when a user
> log in 
> to Jetspeed the directory with the
> default.psml-file would not be created. So there are no portlets 
> availabe. When I try to customize
> the page I get a NullPointerException. This is because there is no 
> psml-file which can be parsed.

I think this is on bugzilla as a known bug.

> 
> My question is: what do I have to do after the user logged in to 
> jetspeed. Do I have to create the directory
> for the user in the JLogin-class. How can I do this, if I have no
> rights 
> to generate a file.
> 
> Which class is responsible for the generation of the directorys for
> the 
> new users. Is there a
> service (jetspeed, turbine) which do this for me?
> 

Have you linked in the new user creation to your ldap backend?  This
is where the directories/files are currently created.

The current code assumes that users will be created this way and thus
there will be the psml directories/filles available.

I believe the solution to the bug mentioned above plans to remove
this restriction, allowing a "default" layout to be used for such
users - but allowing them to customise this - which becomes their own
custom layout.

HTH,
Chris

=====
Need somewhere to Live in London? - Then go to http://freeflats.com

__________________________________________________
Do You Yahoo!?
Find the one for you at Yahoo! Personals
http://personals.yahoo.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>