Re: 404 from onActivate

2010-04-02 Thread Joost Schouten (ml)
Christophe, Thanks a lot, that did the trick nicely on both environments. Cheers, Joost Christophe Cordenier wrote: Hi To avoid the problem with Tomcat i use to implement a ComponentEventResultProcessor to call the sendError() See this thread for other solutions http://markmail.org/thread/vf

Disable exception logging

2010-04-02 Thread satb
Is there anyway to disable logging by Tapestry when an exception is thrown? RenderQueueImpl is automatically logging the whole stack trace. Moreover, its using the logger of the Page, so we cannot turn off the tapestry category if we want. Is there anyway to disable that? Our log files are getting

Re: form submitted get by id

2010-04-02 Thread Howard Lewis Ship
Since you are not using a Tapestry component, you have to "drop down" to the Servlet API. You can inject the Request and use it to access a query parameter. Make sure you element has a name attribute. On Tue, Mar 30, 2010 at 9:38 PM, asianCoolz wrote: > my > > has custom element like below tha

unknown prefix for asset path, only when testing with tapx-datefield

2010-04-02 Thread Bryan Lewis
I have a simple page test based on Testify/TestNG. It's only a smoke test, merely renders the page to make sure I haven't broken anything. public void test1() { Document doc = tester.renderPage("contacteditor/200"); String contents = doc.toString(); assertTrue(!con

Re: ServiceOverride recursion issue - T5.2

2010-04-02 Thread Andrus Adamchik
Ok, not very specific, but I found what you are referring to. Unfortunately @Local annotation on the override itself doesn't help. It seems like I have to define local versions of all dependencies, which is something I'd really like to avoid for stateless services. A similar structure of se

Re: Parameters in Contained Components

2010-04-02 Thread Thiago H. de Paula Figueiredo
On Fri, 02 Apr 2010 02:47:17 -0300, Brian Heston wrote: I want to set the "range" parameter of the GridPager, but since that is not also exposed by the Grid, I can't see how it could ever be anything other than the default of "5". Please post an enhancement JIRA about it. -- Thiago H. d

Re: ServiceOverride recursion issue - T5.2

2010-04-02 Thread Howard Lewis Ship
http://tapestry.apache.org/tapestry5.1/tapestry-ioc/cookbook/override.html On Fri, Apr 2, 2010 at 3:58 AM, Andrus Adamchik wrote: > Hi guys, > > having a bit of trouble overriding my services with T5.2 (build from a few > days ago ... can't use 5.1 due to some bugs that got fixed in 5.2). I have

Re: submit form on Safari and Opera doesn't work

2010-04-02 Thread Thiago H. de Paula Figueiredo
On Fri, 02 Apr 2010 02:02:00 -0300, LiborGMC wrote: What I'm trying to do is create actionLink (which call handleAction in Java). But before I handle this action I need some data on server. That is way I call submit form before event is propagated to server. You're complicating your impleme

ServiceOverride recursion issue - T5.2

2010-04-02 Thread Andrus Adamchik
Hi guys, having a bit of trouble overriding my services with T5.2 (build from a few days ago ... can't use 5.1 due to some bugs that got fixed in 5.2). I have AppModule and a submodule: @SubModule( { ServicesModule.class }) public class AppModule { public static void bind(ServiceBi