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 "Hampton, Thomas" <Th...@sra.com> on 2004/11/16 20:22:42 UTC

Default/Anon Screen ?

Jetspeed seems to come up for the Anon user to a screen that is some
kind of "portlet container".  Is it possible to change that default
screen to not be the a "portlet container" but some other screen ?

What I'd like to do is have a regular screen be the default, and use the
portal container when a user has logged in and selected some portlets.

Tom Hampton
Sr. Software Engineer / Architect
SRA International, Inc.
thomas_hampton@sra.com
Phone 240-221-2012    
Fax 240-221-2001



Re: Default/Anon Screen ?

Posted by Dan Moore <mo...@yahoo.com>.
I do something similar.  In
WEB-INF/templates/vm/layouts/html/default.vm, the very first line is:

#if ($data.user.userName == 'anon')
 $data.response.sendRedirect($config.getString("nologin.cookie.url"))
#end

The other option (probably better) is to edit the PSML of the anon user
to have no portlets.  Of course, then you're limited in terms of what
you have there, since the header and footer are common to all users. 
(But, you could wrap if statements similar to what I have above to only
show some content to the anon user.)

Dan

--- "Hampton, Thomas" <Th...@sra.com> wrote:

> Jetspeed seems to come up for the Anon user to a screen that is some
> kind of "portlet container".  Is it possible to change that default
> screen to not be the a "portlet container" but some other screen ?
> 
> What I'd like to do is have a regular screen be the default, and use
> the
> portal container when a user has logged in and selected some
> portlets.
> 
> Tom Hampton
> Sr. Software Engineer / Architect
> SRA International, Inc.
> thomas_hampton@sra.com
> Phone 240-221-2012    
> Fax 240-221-2001
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org