Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:

  http://jira.opensymphony.com/secure/ViewIssue.jspa?key=WW-201


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: WW-201
    Summary: Velocity Resources not found using namespaces
       Type: Bug

     Status: Assigned
   Priority: Major

    Project: WebWork
 Components: 
             Views
   Versions:
             2.0

   Assignee: Patrick Lightbody
   Reporter: Michael Day

    Created: Thu, 29 May 2003 12:17 PM
    Updated: Thu, 29 May 2003 12:17 PM

Description:
See the following xwork.xml and error that occurs.


XWORK.XML
===================
<?xml version="1.0" encoding="UTF-8"?>

<xwork>
        <package name="default">
                <result-types>
                        <result-type name="velocity"
class="com.opensymphony.webwork.dispatcher.VelocityResult"/>
                </result-types>
        </package>

        <package name="html" extends="default" namespace="/html">
                <action name="registration-form" class="x.x.registration.DisplayForm">
                        <result name="success" type="velocity">
                                <param name="location">Registration.vm</param>
                        </result>
                </action>
        </package>
</xwork>

ERROR
===================
Error executing action: Unable to find resource 'Registration.vm'

org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 
'Registration.vm'
        at
org.apache.velocity.runtime.resource.ResourceManagerImpl.loadResource(ResourceManagerImpl.java:501)
        at
org.apache.velocity.runtime.resource.ResourceManagerImpl.getResource(ResourceManagerImpl.java:384)
        at
org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:814)
        at
org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:796)
        at
org.apache.velocity.runtime.RuntimeSingleton.getTemplate(RuntimeSingleton.java:337)
        at org.apache.velocity.app.Velocity.getTemplate(Velocity.java:512)
        at
com.opensymphony.webwork.dispatcher.VelocityResult.execute(VelocityResult.java:70)
        at
com.opensymphony.xwork.ActionInvocation.executeResult(ActionInvocation.java:220)
        at
com.opensymphony.xwork.ActionInvocation.invoke(ActionInvocation.java:160)
        at com.opensymphony.xwork.ActionProxy.execute(ActionProxy.java:118)
        at
com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:153)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
        at com.evermind._hb.doFilter(.:59)
        at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(Unknown Source)
        at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(Unknown Source)
        at com.evermind._csb._phd(.:384)
        at com.evermind._csb._bkc(.:174)
        at com.evermind._ax._lpc(.:620)
        at com.evermind._ax._tzb(.:189)
        at com.evermind._bf.run(.:62)




---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.opensymphony.com/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to