[ 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to