Hello,

I copied the template to the portlets directory and Voila! 

So the question becomes: Why do setting
service.TemplateLocator.portlet.global.search = true
Not work??

-----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]

Reply via email to