You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by "Ate Douma (JIRA)" <je...@portals.apache.org> on 2006/06/15 10:05:30 UTC

[jira] Commented: (JS2-545) Simple Velocity Portlet Documentation

    [ http://issues.apache.org/jira/browse/JS2-545?page=comments#action_12416301 ] 

Ate Douma commented on JS2-545:
-------------------------------

Philip,

I checked the guide but I'm afraid its a bit too simple :)
- need to put the compiled class under WEB-INF/classes
- need to specify a Velocity handling servlet (like BridgesVelocityViewServlet) mapped to *.vm
- no need to put bridges-common under WEB-INF/lib: its supplied by Tomcat in shared/libs (at least if you don't want to mask that one)
- add additional required deps for velocity-tools (like commons-digester and maybe more)

If you can correct the guide for these and it runs I'm happy to commit it.     

> Simple Velocity Portlet Documentation
> -------------------------------------
>
>          Key: JS2-545
>          URL: http://issues.apache.org/jira/browse/JS2-545
>      Project: Jetspeed 2
>         Type: Improvement

>   Components: Site Documentation
>     Versions: 2.1, 2.1-dev
>  Environment: All browsers
>     Reporter: Philip Mark Donaghy
>  Attachments: guide-simple-velocity-portlet.xml, patch.txt
>
> A guide to creating a simple Velocity portlet. Guides one through the creation of the java class, the portlet.xml, the web.xml, the velocity template, building the war with dependencies, deployment, and the portlet chooser. Target audience is new Jetspeed portlet developers.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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