Thanks Mark, after a restart still no go....
Here are the velocity log entries:
[10 Jul 2003 11:52:18 DEBUG] - checking for Portlet permission: view for
portlet: CreateNewAccount Owner = anon
[10 Jul 2003 11:52:18 DEBUG] - GenericMVCPortlet: Executing action
[CreateNewUserAndConfirm] for portlet [CreateNewAccount]
[10 Jul 2003 11:52:18 INFO] - GenericMVCPortlet - calling processView
on processor
[10 Jul 2003 11:52:18 INFO] - VelocityViewProcessor - processing
NewAccount
[10 Jul 2003 11:52:18 INFO] - VelocityViewProcessor - locating template
-
[EMAIL PROTECTED]
t.vm
[10 Jul 2003 11:52:18 ERROR] - Error rendering Velocity template: null:
null
I tried adding the portlet via Portlet Admin:
<portlet-entry name="CreateNewAccount" hidden="false" type="ref"
parent="Velocity" application="false">
<meta-info>
<title>Create New Account</title>
<description>Create a new Account in system</description>
</meta-info>
<classname>org.apache.jetspeed.portal.portlets.VelocityPortlet</classnam
e>
<parameter name="template" value="NewAccount" hidden="true"
cachedOnName="true" cachedOnValue="true"/>
<parameter name="action" value="CreateNewUserAndConfirm"
hidden="false" cachedOnName="true" cachedOnValue="true">
<meta-info/>
</parameter>
<url cachedOnURL="true"/>
</portlet-entry>
<portlets id="107">
<security-ref parent="anon-view_admin-all"/>
<metainfo>
<title>Create an account</title>
</metainfo>
<portlets id="108">
<controller name="OneColumn"/>
<entry id="109"
parent="CreateNewAccount"/>
</portlets>
</portlets>
-----Original Message-----
From: Mark Orciuch [mailto:[EMAIL PROTECTED]
Sent: July 10, 2003 11:36 AM
To: Jetspeed Users List
Subject: RE: Displaying Velocity Template
Try this setting in jr.props:
service.TemplateLocator.portlet.global.search = true
This extends the template location to /screens folder.
Best regards,
Mark C. Orciuch
Next Generation Solutions, Ltd.
e-Mail: [EMAIL PROTECTED]
web: http://www.ngsltd.com
> -----Original Message-----
> From: Amin Lalji [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 10, 2003 10:29 AM
> To: [EMAIL PROTECTED]
> Subject: Displaying Velocity Template
>
>
> Hello,
>
>
>
> I am trying to display the NewAccount template in jetspeed under it's
> own tab.
>
> I have added the following to my portlet registry:
>
>
>
> <portlet-entry name="CreateNewAccount" hidden="false" type="ref"
> parent="Velocity" application="false">
>
> <meta-info>
>
> <title>Create New Account</title>
>
> <description>Create a new Account
in
> system</description>
>
> </meta-info>
>
> <parameter name="template" value="NewAccount"
> hidden="true"/>
>
> </portlet-entry>
>
>
>
> and in the default.psml for anon:
>
>
>
> <portlets id="107">
>
> <security-ref parent="anon-view_admin-all"/>
>
> <metainfo>
>
> <title>Create a new
Account</title>
>
> </metainfo>
>
> <portlets id="108">
>
> <controller name="OneColumn"/>
>
> <entry id="109"
> parent="CreateNewAccount"/>
>
> </portlets>
>
> </portlets>
>
>
>
> I am getting the following error:
>
> The tab gets created, but when clicked I get:
>
> org.apache.turbine.util.TurbineException: Error rendering Velocity
> template: null
>
>
>
> instead of the form I am trying to display.
>
>
>
> Essentially, I am trying to display the create new account screen
under
> it's own tab (vs having to click the create new account link)
>
>
>
> Any help is appreciated!
>
>
>
> Amin
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]