tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Howard M. Lewis Ship (JIRA)" <j...@apache.org>
Subject [jira] Closed: (TAP5-388) TapestryFilter filter name must be 'app' in web.xml or will causes Service binding to fail
Date Fri, 28 Nov 2008 17:03:44 GMT

     [ https://issues.apache.org/jira/browse/TAP5-388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Howard M. Lewis Ship closed TAP5-388.
-------------------------------------

    Resolution: Invalid
      Assignee: Howard M. Lewis Ship

If the filter name changes, you must adjust the name of the AppModule class to match.

This is documented:

http://tapestry.apache.org/tapestry5/guide/conf.html

> TapestryFilter filter name must be 'app' in web.xml or will causes Service binding to
fail
> ------------------------------------------------------------------------------------------
>
>                 Key: TAP5-388
>                 URL: https://issues.apache.org/jira/browse/TAP5-388
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.0.16, 5.0.17
>         Environment: windows xp sp2, jdk 6, maven 2.0.9, executed using jetty-maven-plugin
6.1.10
>            Reporter: Dominic
>            Assignee: Howard M. Lewis Ship
>            Priority: Minor
>         Attachments: t5-with-app-filter-name.zip, t5-with-non-app-filter-name.zip
>
>
> The name of the TapestryFilter within the web.xml must be 'app' for binder.bind(MyService.class,
MyServiceImpl.class) to be successful. 
> If any other name is used and a page has an injected (@Inject) field it will cause the
follownig error.
> [ERROR] TapestryModule.RequestExceptionHandler Processing of request failed with uncaught
exception: java.lang.ClassNotFoundException: caught an exception while obtaining a class file
for [PAGE]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


Mime
View raw message