Re: get @RequestParameters on submit

2013-10-13 Thread George Christman
Thanks Taha this resolved my issue, however I now seem to have no way to handle illegalArgumentExceptions. Is there away to catch illegalArgumentExceptions in onActivate and redirect the user away from the page when they occure? This would happen as a result of URL tampering. Thanks. On Fri, Oc

Testing Environment

2013-10-13 Thread Martin Kersten
Hi, I am just working on a proper test environment. I am currently starting a WebDriver (selenium) and also starting an embedded jetty. Since those two adding the main speed penalty to testing, I just try to reuse them as much as possible. Now I wonder if someone has a good practice for 'heal

Dynamic Loading of Templates

2013-10-13 Thread Martin Kersten
I am currently trying to setup a good way to test my components in isolation. I do not like the idea to create a Page for every component setup. So what I want is writing a simple Page with a single dynamic component. Digging into the code I notice that we got a DynamicTemplateParser service for p

Re: autore_connect after connection_timeout using c3p0

2013-10-13 Thread Lance Java
And how is this related to tapestry?

Re: Pro / Contra: Splitting The Project

2013-10-13 Thread Muhammad Gelbana
What do you mean by that "Eclipse is just not good in handling package trees "​ ? *-* *Muhammad Gelbana* http://www.linkedin.com/in/mgelbana On Sun, Oct 13, 2013 at 3:22 PM, Martin Kersten wrote: > Thanks for the replies, > >I currently split it in half. Since I use Hi

Safety check if a service has been initialized

2013-10-13 Thread Muhammad Gelbana
Will many agree with me if I asked for a way to safely check if a service has been initialized or built ? Something like RegistryTools.isBuilt(myServiceReference); *-* *Muhammad Gelbana* http://www.linkedin.com/in/mgelbana

autore_connect after connection_timeout using c3p0

2013-10-13 Thread Will N.
Hi, i have some trouble keeping my application connected to the database, since de default mysql wait_timeout value is 28800. I have read that I can solve the roblem by using c3p0 connection pooling. I couldn't find the right configuration since the connection is till aborted after the timeou

Tapestry Flow

2013-10-13 Thread Martin Kersten
I was looking for some documentation for the flow api but I was not able to find something beside the Java-doc. Does anyone know some additional readings? Cheers, Martin (Kersten), Germany

Re: Pro / Contra: Splitting The Project

2013-10-13 Thread Martin Kersten
Thanks for the replies, I currently split it in half. Since I use Hibernate/JPA I just split it in half having a business layer (including the so called persistence layer) and a web layer. Later on it will be joined by a project housing the rest API. And that is all necessary because Eclipse i

Re: Pro / Contra: Splitting The Project

2013-10-13 Thread Borut Bolčina
Hello Martin, always split your code! Of course it depends on how large the project is, but a good practice is to have separate projects for different layers. Some examples: simple scenario: myproject-web (contains the web app with majority of services and all the pages and components) myproject-