On Fri, 31 Jan 2014 17:40:47 -0200, Richard Frovarp
wrote:
I have not tried to use that service before now (didn't know it
existed?). It is exactly what I needed to use though. Thanks for the
help.
:)
It might be useful to reference that service on the class reloading page:
http://tape
On 01/31/2014 12:38 PM, Thiago H de Paula Figueiredo wrote:
On Fri, 31 Jan 2014 15:23:03 -0200, Richard Frovarp
wrote:
I'm placing annotations on my pages to build the menu. What happens is
that I use the ComponentClassResolver to get the page names, and then
use that to get the class name. I
Hoping I can still get some help with Tapestry 4 on this mailing list - I
know its old but unfortunately I'm stuck with it and cannot upgrade at this
time.
I've got a form containing a table with two columns. The table is
constructed using contrib:TableView and the source paramter is a
Map. This m
On Fri, 31 Jan 2014 16:29:28 -0200, Dimitris Zenios
wrote:
Create the assetSource inside bind method
then inject it inside the contributeSerrviceOverride and instead of
addInstance use plain add
Or just decorate the service instead of overriding it. The result is the
same, but you avoid t
On Fri, 31 Jan 2014 15:23:03 -0200, Richard Frovarp
wrote:
I'm placing annotations on my pages to build the menu. What happens is
that I use the ComponentClassResolver to get the page names, and then
use that to get the class name. I then use the standard class loader to
load the class:
Create the assetSource inside bind method
then inject it inside the contributeSerrviceOverride and instead of
addInstance use plain add
On Fri, Jan 31, 2014 at 7:43 PM, garz wrote:
> With addInstance the exception is:
>
> java.lang.IllegalStateException: Construction of service 'ServiceOverrid
With addInstance the exception is:
java.lang.IllegalStateException: Construction of service 'ServiceOverride' has
failed due to recursion: the service depends on itself in some way. Please
check org.apache.tapestry5.ioc.internal.services.ServiceOverrideImpl(Map) (at
ServiceOverrideImpl.java:31)
I'm trying to do some work around the class reloading that Tapestry does
for pages, but am having a bit of difficulty.
I'm placing annotations on my pages to build the menu. What happens is
that I use the ComponentClassResolver to get the page names, and then
use that to get the class name. I
try configuration.addInstance(AssetSource.class, MyAssetSourceImpl.class);
Here's the documentation for MappedConfiguration:
http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/ioc/MappedConfiguration.html
On Fri, Jan 31, 2014 at 5:05 PM, garz wrote:
> Hi all,
>
> i want to overrid
Hi all,
i want to override the AssetSource service. I am doing it like described in
http://tapestry.apache.org/ioc-cookbook-overriding-ioc-services.html like this:
@Contribute(ServiceOverride.class)
public static void setupApplicationServiceOverrides(
Mapp
On Thu, Jan 30, 2014 at 2:35 AM, Lance Java wrote:
> > but I'd also call that a very confusing naming of pages.
>
>
Granted :-), we have already changed the names. I also created a jira
issue: https://issues.apache.org/jira/browse/TAP5-2281 for it. I'll be
happy to provide a patch if a consensus i
11 matches
Mail list logo