Re: Tapestry 5 tutorial: classes don't exist on package

2007-03-29 Thread dindin
the code is out of date, just remove the annotations. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tapestry 5 tutorial: classes don't exist on package

2007-03-22 Thread Peter Beshai
Perhaps try public static void contributeApplicationDefaults( MappedConfiguration configuration) { configuration.add("tapestry.supported-locales", "en"); } ApplicationDefaults not RequestHandler. contributeRequestHandler takes an OrderedConfiguration not a MappedConfiguratio

Re: Tapestry 5 tutorial: classes don't exist on package

2007-03-21 Thread Bogdan Calmac
Thanks Howard, One of the contributions is OK now, the other is still not compatible with the changes in the framework. The error is: java.lang.RuntimeException: No service implements the interface org.apache.tapestry.ioc.MappedConfiguration and the contributing method is: public static void

Re: Tapestry 5 tutorial: classes don't exist on package

2007-03-21 Thread Howard Lewis Ship
The method name should now be contributeRequestHandler(). On 3/21/07, Bogdan Calmac <[EMAIL PROTECTED]> wrote: One of the methods marked with @Contribute (see below) was a timing filter which would display in the console the duration of each request. After removing the @Contribute annotation (wh

Re: Tapestry 5 tutorial: classes don't exist on package

2007-03-21 Thread Bogdan Calmac
One of the methods marked with @Contribute (see below) was a timing filter which would display in the console the duration of each request. After removing the @Contribute annotation (which is not available in 5.0.3) the filter is no longer called. So, is there another annotations to contribute ser

Re: Tapestry 5 tutorial: classes don't exist on package

2007-03-20 Thread Peter Beshai
If the annotations were @Contribute("...ApplicationDefaults") and @Contribute("...ApplicationFilters") then the methods will work as expected (without the annotations). Instead of looking for configuration from the annotations, tapestry now determines that same configuration from the actual wordin

Re: Tapestry 5 tutorial: classes don't exist on package

2007-03-20 Thread Bogdan Calmac
So after removing the annotations what should we do with the two methods that were annotated: contributeApplicationDefaults() and contributeApplicationFilters? I would guess nobody will call them without the annotations. Thanks, Bogdan Calmac On 3/20/07, Robert Zeigler <[EMAIL PROTECTED]> wrote

Re: Tapestry 5 tutorial: classes don't exist on package

2007-03-20 Thread Robert Zeigler
Because the tutorial is currently out of date with respect to the code-base. tapestry-ioc switched to flat namespacing which resulted in not needing Contribute or Id. Robert On Mar 20, 2007, at 3/202:54 PM , acarrara wrote: Hello. On AppModule class of hilo application (Tapestry 5 tutoria

Tapestry 5 tutorial: classes don't exist on package

2007-03-20 Thread acarrara
Hello. On AppModule class of hilo application (Tapestry 5 tutorial) there are some imports: import org.apache.tapestry.ioc.annotations.Contribute; import org.apache.tapestry.ioc.annotations.Id; but these classes (Contribute and Id) aren't on the tapestry-ioc-5.0.3.jarpackage... Where are them?