the code is out of date, just remove the annotations.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Perhaps try
public static void contributeApplicationDefaults(
MappedConfiguration configuration) {
configuration.add("tapestry.supported-locales", "en");
}
ApplicationDefaults not RequestHandler. contributeRequestHandler takes an
OrderedConfiguration not a MappedConfiguratio
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
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
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
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
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
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
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?