[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jetspeed-user
Subject:    Re: JSP use in Jetspeed v1.3a2
From:       "Scott A. Roehrig" <saroehr () hotmail ! com>
Date:       2001-09-29 15:19:13
[Download RAW message or body]

Problem solved. Disabling velocity templating service and params was not a
good idea. Jsp can be used for the layouts, but seems that Velocity is still
required for the portlet screen construction Home page or something.

Scott
----- Original Message -----
From: "Scott A. Roehrig" <saroehr@hotmail.com>
To: <jetspeed-user@jakarta.apache.org>
Sent: Saturday, September 29, 2001 10:18 AM
Subject: JSP use in Jetspeed v1.3a2


> Has anyone had any success changing from vm templating to jsp in Jetspeed.
I
> have disabled the vm templating and changed the TurbineResources to the
> following...
>
> # Used to set the template homepage if you are using a template
>
> # layout.
>
> #
>
> # Default: /Index.vm
>
> template.homepage=/Home.jsp
>
> # This is the default screen to show to people when they first access
>
> # the system. Specify one of the template screens such as VelocityScreen
>
> # to use a template system.
>
> #
>
> # Default: Login
>
> #screen.homepage=
>
> # This is the template that is shown on an incorrect login attempt.
>
> # Setting this property will override any value of screen.login specfied
>
> # below.
>
> #
>
> # Default: Login.vm
>
> template.login=Login
>
> # This is the page that is shown on an incorrect login attempt. It is
>
> # referenced in the LoginUser action. Note that it will only be used if
>
> # a login template has not been specified (see template.login above).
>
> #
>
> # Default: Login
>
> #screen.login=Login
>
> # This is the template that is used by the respective Template based
>
> # ErrorScreen for displaying the error. If you are not using a Template
> based
>
> # ErrorScreen, then this is ignored.
>
> #
>
> # Default: /Error.vm
>
> # for JSP templating use: Error.jsp
>
> # for Velocity templating use: Error.vm
>
> template.error=Error
>
> # This is the default error screen.
>
> #
>
> # Default: VelocityErrorScreen
>
> #screen.error=JspErrorScreen
>
> # This is the screen that is displayed when the user's web page is in
>
> # an invalid state.
>
> #
>
> # Default: error.InvalidState
>
> screen.invalidstate=error.InvalidState
>
> # Set the default Doctype. The default Doctype can be set by using
>
> # the single strings: Html40Strict, Html40Transitional, or
>
> # Html40Frameset. Additionally the default can be supplied as two
>
> # strings separated by a comma giving the DTD and URI.
>
> #
>
> # Default: ignored if not set to some value.
>
> default.doctype=Html40Transitional
>
> # This is the default action to log a user in.
>
> #dst action.login=LoginUser
>
> action.login=JLoginUser
>
> # This is the default action to log a user out.
>
> action.logout=LogoutUser
>
> # This is the default action to validate whether or not a session is
>
> # valid. For example, if you want to make sure if a user has already
>
> # logged in or not.
>
> #
>
> # Default: SessionValidator
>
> #dst action.sessionvalidator=sessionvalidator.TemplateSessionValidator
>
> action.sessionvalidator=JetspeedSessionValidator
>
> # This is the timeout in seconds for sessions. If left commented out, the
>
> # servlet container's default timeout will be left as is.
>
> # session.timeout=1800
>
> # This is the default action that builds up the AccessControlList for
>
> # the individual users session.
>
> action.accesscontroller=AccessController
>
> When I access the initial page, it throws an exception...
>
> /WEB-INF/templates/jsp/screens/Home.jsp Error processing ecs screen
> 'default'. See log for more information.
>
> Nothing pertitent is logged. In addition, when I goto the login page, it
> comes up fine, however when I log in it just returns me to the login page.
> The default.psml file is being used as well.
>
> Thoughts or suggestions welcome.
>
> Thanks again.
>
> Scott
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
>
>

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic