Re: Cometd-Tapestry IllegalStateException

2014-06-13 Thread Lance Java
Are you using cookie based session or url based? Try inspecting the network traffic and ensure the cookie is being passed each time. Is this a clustered setup? On 14 Jun 2014 01:35, "Boris Horvat" wrote: > Hi Lance, I am not sure what you mean by > > > One restriction with tapestry-cometd and

Re: Cometd-Tapestry IllegalStateException

2014-06-13 Thread Boris Horvat
Hi Lance, I am not sure what you mean by One restriction with tapestry-cometd and HttpSession is that the session > cannot be created by the async action. I'm guessing that the push action > requires the session, but it doesn't exist yet. > The session should already exist by this point given th

Re: Cometd-Tapestry IllegalStateException

2014-06-13 Thread Lance Java
One restriction with tapestry-cometd and HttpSession is that the session cannot be created by the async action. I'm guessing that the push action requires the session, but it doesn't exist yet. Admittedly the error message could be nicer than "!session" On 13 Jun 2014 15:36, "Boris Horvat" wrote:

RE: How to use log4j 2.x in compination with tapestry?

2014-06-13 Thread Thilo Tanner
Hi Jerremias, Sure, Tapestry uses SLF4J as a logging facade. Check this page how to log over SLF4J 2.0: http://logging.apache.org/log4j/2.x/log4j-slf4j-impl/ You may need to exclude older versions of SL4J from your Classpath. Best, Thilo From: jeremia

How to use log4j 2.x in compination with tapestry?

2014-06-13 Thread jeremias.epp...@web.de
Hello, how can I use tapestry and log4j version 2.0 together, because I got allways this message: An exception has occurred processing this request. org/apache/logging/log4j/core/LoggerContext Regards Jeremias - To unsubsc

AjaxFormLoop && Loop in form zone losing form validation data 5.4

2014-06-13 Thread George Christman
I originally reported an issue related to invalid data being lost during form submission and a validation error within the ajaxformloop component which can be found here http://apache-tapestry-mailing-list-archives.1045711.n5.nabble.com/AjaxFormLoop-losing-field-data-with-validation-error-while-ne

Re: live class reloading for custom package

2014-06-13 Thread Barry Books
You can't do exactly what you asked but you can just make your hibernate object just a wrapper for your database schema then build a Tapestry service for the business logic. If you make a schema change or an interface change you'll have to restart but otherwise not. I often merge the DTO and busine

Re: Section 508 Compliance

2014-06-13 Thread Thiago H de Paula Figueiredo
On Fri, 13 Jun 2014 10:41:45 -0300, Barry Books wrote: Personally I think mixins combined with workers are one of Tapestry hidden gems. Agreed 200%. :) In my case I need a title on every pagelink . With a mixin applied to pagelink by a worker I can easily lookup a title in the message cat

Re: How to configure BeanValidator?

2014-06-13 Thread jeremias.epp...@web.de
Hello, it works, thank you Regards Jeremias On 06/13/2014 04:10 PM, jeremias.epp...@web.de wrote: > Hi, > > I got allways the same error: > > Render queue error in BeginRender[Login:username]: Exception > constructing service 'BeanValidatorSource': Error invoking constructor > public > org.apach

Cometd-Tapestry IllegalStateException

2014-06-13 Thread Boris Horvat
Hi everyone, I have implemented a tapestry-cometd integration org.lazan tapestry-cometd 0.9.17 Our usage of the component is and in UAT environment that runs under Tomcat I got the following exception. java.lang.IllegalStateException !se

RE: How to configure BeanValidator?

2014-06-13 Thread Thilo Tanner
Hi Jeremias, Do you have a BeanValidator implementation in your classpath? The Tapestry BeanValidation module is implementation agnostic. You need add an implementation first. For example Hibernate Validator: org.hibernate hibernate-validator ${hibernate-val

How to configure BeanValidator?

2014-06-13 Thread jeremias.epp...@web.de
Hi, I got allways the same error: Render queue error in BeginRender[Login:username]: Exception constructing service 'BeanValidatorSource': Error invoking constructor public org.apache.tapestry5.internal.beanvalidator.BeanValidatorSourceImpl(java.util.List): Unable to find a default provider I fo

Re: live class reloading for custom package

2014-06-13 Thread Dmitry Gusev
JRebel is not the only option, there are some open source alternatives: http://stackoverflow.com/questions/7998669/redeploy-alternatives-to-jrebel On Fri, Jun 13, 2014 at 5:18 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Thu, 12 Jun 2014 16:32:11 -0300, Ilya Obshadko > wr

Re: Section 508 Compliance

2014-06-13 Thread Barry Books
Personally I think mixins combined with workers are one of Tapestry hidden gems. In my case I need a title on every pagelink . With a mixin applied to pagelink by a worker I can easily lookup a title in the message catalog and add it. Maybe 30 minutes of coding and it's automatically applied to eve

Re: Section 508 Compliance

2014-06-13 Thread Thiago H de Paula Figueiredo
On Thu, 12 Jun 2014 18:45:21 -0300, Lance Java wrote: Mixins are always a bit harder since you're usually manipulating the dom after the default impl. For something a trivial as pagelink, I'd argue that starting from scratch would be easier. In this case, I agree. But, as a more general sol

Re: live class reloading for custom package

2014-06-13 Thread Thiago H de Paula Figueiredo
On Thu, 12 Jun 2014 16:32:11 -0300, Ilya Obshadko wrote: Hey guys, Hi! Could anyone explain - is that possible to enable live class reloading for user-defined packages? No. Tapestry and Tapestry-IoC can only do that due to having their own classloaders, so classes are changed when lo

Re: Section 508 Compliance

2014-06-13 Thread Barry Books
Thanks, Those links are very helpful. I had not seen the Kawwa components before. On Thu, Jun 12, 2014 at 11:51 PM, Basile Chandesris wrote: > It seems that Kawwa Components tries to support W3C/WAI (Web Accessibility > Initiative): > > https://kawwa.atosworldline.com/accessibility > https://k

ApacheCon CFP closes June 25

2014-06-13 Thread Ulrich Stärk
Dear Tapestry enthusiast, As you may be aware, ApacheCon will be held this year in Budapest, on November 17-23. (See http://apachecon.eu for more info.) The Call For Papers for that conference is still open, but will be closing soon. We need you talk proposals, to represent Tapestry at ApacheCon.

Re: live class reloading for custom package

2014-06-13 Thread Lance Java
FYI jrebel is not really introducing a framework. It's a jvm agent (command line argument) that you only use during development. Jrebel won't be running in production. On 13 Jun 2014 06:39, "Ilya Obshadko" wrote: > Thanks Lance! > > I was supposing something like this. > > JRebel looks very prom

Re: Error Exception Handling

2014-06-13 Thread Tsvetelin Saykov
Hi Shaikh Also you might want to check at www.jexbox.com This is an exception logging and management service with very straightforward integration with Tapestry using RequestExceptionHandler decoration (https://jexbox.com/connectors) Best wishes Tsvetelin On Wed, Jun 11, 2014 at 3:15 PM, Shai

Re: live class reloading for custom package

2014-06-13 Thread Juan E. Maya
You could also try spring -loaded. https://github.com/spring-projects/spring-loaded Notice you don't need to be using spring to get advantage of it On Fri, Jun 13, 2014 at 7:39 AM, Ilya Obshadko wrote: > Thanks Lance! > > I was supposing something like this. > > JRebel looks very promising, but