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 ADS - Seth Weiner <se...@automateddocsys.com> on 2002/07/26 15:36:25 UTC

HP TaskList portlet

Hi everyone,

I'm asking this here because I don't know of anywhere else to do so . . .
The HP Trail Map has a fabulous example portlet--the TaskList portlet.  It
demonstrates Velocity, event handling and even services (above and beyond
being a useful portlet).  My particular interest in it lies with their task
list service.  Unfortunately, they only distribute the source to the portlet
on their trail map site, and none of the helper classes (i.e. UITask,
TaskData, etc.).  Does anyone know if this source is avaible anywhere or at
least who I could speak to in order to find out?  I've noticed a lot
interest in forming set of community portlets and this one would be a great
addition to the toolbox.

Thanks,
Seth Weiner
Automated Document Systems, Inc.
1324 Locust Street
Philadelphia, PA 19107
http://www.automateddocsys.com


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


RE: Template Locator Service search path

Posted by Mark Orciuch <ma...@ngsltd.com>.
Either I misinterpreted the comment with instructions on how to use template
search path or the comment needs to be more explicit (probably the first
one). This directory structure will NOT work:

/WEB-INF/templates/jsp
/WEB-INF/templates/jsp2

This WILL work:

/WEB-INF/templates/jsp
/WEB-INF/mytemplates/jsp

It seems that each directory must be in its own root. So I got this to work,
but all the customization features quit working (i.e. portlet/profile
customization). For now, rather than having multiple template roots I'll
just replace the necessary templates.

Best regards,

Mark C. Orciuch
Next Generation Solutions, Ltd.
e-Mail: mark_orciuch@ngsltd.com
web: http://www.ngsltd.com


-----Original Message-----
From: Mark Orciuch [mailto:mark_orciuch@ngsltd.com]
Sent: Friday, July 26, 2002 11:19 AM
To: Jetspeed Users List
Subject: Template Locator Service search path


One of the recent enhacements to template locator service was support for
template search path. There was also JSP specific fix relating to this
feature. I have created an application specific template directory
(WEB-INF/templates/jsp2) containing my custom layouts, navigations, and
screens and configured it as follows:

TR.props:
# This parameter supports a comma separated list of directories
# Each directory is searched in order to find a template.
# This is useful for example, in defining application specific templates in
a separate structure from the jetspeed core templates
# Note this needs to be set in 3 places - for the jsp loader and vm loader
in TR.p and for the template locator in JR.p
services.JspService.templates
=/WEB-INF/templates/jsp2,/WEB-INF/templates/jsp

JR.props:
# This parameter supports a comma separated list of directories
# Each directory is searched in order to find a template.
# This is useful for example, in defining application specific templates in
a separate structure from the jetspeed core templates
# Note this needs to be set in 3 places - for the jsp loader and vm loader
in TR.p and for the template locator in JR.p
services.TemplateLocator.templateRoot=/WEB-INF/templates

Jetspeed finds my layouts and navigations but cannot find my screen
templates. I have a template HelloWorld.jsp in
WEB-INF/templates/jsp2/screens/html and
WEB-INF/templates/jsp2/screens/html/en but reference such as
http://localhost/jetspeed/portal/template/HelloWorld.jsp produces the
following entries in the log:

[Fri Jul 26 11:01:26 CDT 2002] -- INFO -- Returning locator string:
User:turbine$Page:default.psml$MediaType:html$Language:en
[Fri Jul 26 11:01:26 CDT 2002] -- INFO -- Returning locator string:
User:turbine$Page:default.psml$MediaType:html
[Fri Jul 26 11:01:26 CDT 2002] -- DEBUG -- JetspeedTemplatePage: requested
template = HelloWorld.jsp
[Fri Jul 26 11:01:26 CDT 2002] -- DEBUG -- JetspeedTemplatePage: calculated
template = null

I am using CVS head and my default template engine is JSP. Is there anything
missing in my configuration or am I misunderstanding the concept. Thank you
in advance for any replies.

Best regards,

Mark C. Orciuch
Next Generation Solutions, Ltd.
e-Mail: mark_orciuch@ngsltd.com
web: http://www.ngsltd.com


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


Template Locator Service search path

Posted by Mark Orciuch <ma...@ngsltd.com>.
One of the recent enhacements to template locator service was support for
template search path. There was also JSP specific fix relating to this
feature. I have created an application specific template directory
(WEB-INF/templates/jsp2) containing my custom layouts, navigations, and
screens and configured it as follows:

TR.props:
# This parameter supports a comma separated list of directories
# Each directory is searched in order to find a template.
# This is useful for example, in defining application specific templates in
a separate structure from the jetspeed core templates
# Note this needs to be set in 3 places - for the jsp loader and vm loader
in TR.p and for the template locator in JR.p
services.JspService.templates
=/WEB-INF/templates/jsp2,/WEB-INF/templates/jsp

JR.props:
# This parameter supports a comma separated list of directories
# Each directory is searched in order to find a template.
# This is useful for example, in defining application specific templates in
a separate structure from the jetspeed core templates
# Note this needs to be set in 3 places - for the jsp loader and vm loader
in TR.p and for the template locator in JR.p
services.TemplateLocator.templateRoot=/WEB-INF/templates

Jetspeed finds my layouts and navigations but cannot find my screen
templates. I have a template HelloWorld.jsp in
WEB-INF/templates/jsp2/screens/html and
WEB-INF/templates/jsp2/screens/html/en but reference such as
http://localhost/jetspeed/portal/template/HelloWorld.jsp produces the
following entries in the log:

[Fri Jul 26 11:01:26 CDT 2002] -- INFO -- Returning locator string:
User:turbine$Page:default.psml$MediaType:html$Language:en
[Fri Jul 26 11:01:26 CDT 2002] -- INFO -- Returning locator string:
User:turbine$Page:default.psml$MediaType:html
[Fri Jul 26 11:01:26 CDT 2002] -- DEBUG -- JetspeedTemplatePage: requested
template = HelloWorld.jsp
[Fri Jul 26 11:01:26 CDT 2002] -- DEBUG -- JetspeedTemplatePage: calculated
template = null

I am using CVS head and my default template engine is JSP. Is there anything
missing in my configuration or am I misunderstanding the concept. Thank you
in advance for any replies.

Best regards,

Mark C. Orciuch
Next Generation Solutions, Ltd.
e-Mail: mark_orciuch@ngsltd.com
web: http://www.ngsltd.com


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


Re: HP TaskList portlet

Posted by Warner Onstine <sw...@warneronstine.com>.
Yes it would ;-).

If you're interested in checking it out:
http://communitytools.warneronstine.com - looking for all the help I can
get, just starting to port stuff over (as soon as I get my ibook back I will
start, hopefully this weekend).

-warner

----- Original Message -----
From: "ADS - Seth Weiner" <se...@automateddocsys.com>
To: <je...@jakarta.apache.org>
Sent: Friday, July 26, 2002 6:36 AM
Subject: HP TaskList portlet


> Hi everyone,
>
> I'm asking this here because I don't know of anywhere else to do so . . .
> The HP Trail Map has a fabulous example portlet--the TaskList portlet.  It
> demonstrates Velocity, event handling and even services (above and beyond
> being a useful portlet).  My particular interest in it lies with their
task
> list service.  Unfortunately, they only distribute the source to the
portlet
> on their trail map site, and none of the helper classes (i.e. UITask,
> TaskData, etc.).  Does anyone know if this source is avaible anywhere or
at
> least who I could speak to in order to find out?  I've noticed a lot
> interest in forming set of community portlets and this one would be a
great
> addition to the toolbox.
>
> Thanks,
> Seth Weiner
> Automated Document Systems, Inc.
> 1324 Locust Street
> Philadelphia, PA 19107
> http://www.automateddocsys.com
>
>
> --
> 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>