tapestry-dev mailing list archives

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

    [ https://issues.apache.org/jira/browse/TAP5-388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12651608#action_12651608

Dominic commented on TAP5-388:

This is the specific part of the the documentations that explains.


Tapestry looks for a module builder class in the services package (under the root package).
It capitalizes the <filter-name> and appends "Module". In the previous example, the
module builder class would be org.example.myapp.services.AppModule.


> TapestryFilter filter name must be 'app' in web.xml or will causes Service binding to
> ------------------------------------------------------------------------------------------
>                 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
>            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

View raw message