Tapestry5 jquery ajaxupload in Form

2014-12-15 Thread Bosch, Christian
Hello, I written a tapestry component embedding Tapestry JQuery AjaxUpload (Tapestry 5.3.7 and Tapestry Jquery 3.3.4). My component is part of t:form. Once a file is uploaded, submit buttons of form are no longer working. Any idea ? Thanks, C. BOSCH.

Re: Tapestry5 jquery ajaxupload in Form

2014-12-15 Thread George Christman
You need to provide additional information such as code example etc. Your question is a little to vague. On Mon, Dec 15, 2014 at 4:59 AM, Bosch, Christian cbo...@cincom.com wrote: Hello, I written a tapestry component embedding Tapestry JQuery AjaxUpload (Tapestry 5.3.7 and Tapestry Jquery

Re: CompressionAnalyzerImpl exception

2014-12-15 Thread George Christman
Howard, you were correct. the MIME type was null. CompressionAnalyzerImpl was failing on line 32 do to contentType being null. As you stated, this NPE is a failure and should probably be checked and thrown with a proper message. I ended up having to override the service in order to resolve the

Returning json when request is non xhr

2014-12-15 Thread Nathan Quirynen
Hi, I have 2 applications (different servers): 1) html + js 2) Tapestry5 Now I tried to do an ajax request (jquery) from application 1 to application 2 where I want to return some json back to application 1. But because cross domain get requests do not use XHR I get following error in

Problems with the Palette component

2014-12-15 Thread Berghoff, Benjamin
Hi, I'm using tapestry-jpa 5.3.8. I use Eclipse JavaEE Kepler, the jre is oracle 1.7.0_51. The used pom.xml is attached. The project is built upon the project created by mvn archetype:generate -DarchetypeCatalog=http://tapestry.apache.org;. When I tried to implement the example on,

Re: Returning json when request is non xhr

2014-12-15 Thread Chris Poulsen
You could try to add your own ComponentEventResultProcessorJSONObject - However I do not know whether this interferes with the built in tapestry stuff for ajax - If that is the case you could probably return a different type of json. Check (StreamResponse/StreamResponseResultProcessor) in

AW: Problems with the Palette component

2014-12-15 Thread Berghoff, Benjamin
I use java 32 bit. The Dms class is a Simple Enumeration class. Regards Benjamin B. Von: B, Benjamin Gesendet: Montag, 15. Dezember 2014 16:32 An: users@tapestry.apache.org Betreff: Problems with the Palette component Hi, I'm using tapestry-jpa 5.3.8. I use Eclipse JavaEE Kepler, the jre is

Re: Problems with the Palette component

2014-12-15 Thread Chris Poulsen
I have never used the palette, but have you had a look at the tapestry-5\tapestry-core\src\test\java\org\apache\tapestry5\integration\app1\pages\PaletteDemo.java file? On Mon, Dec 15, 2014 at 4:38 PM, Berghoff, Benjamin benjamin.bergh...@isst.fraunhofer.de wrote: I use java 32 bit. The Dms

Re: Problems with the Palette component

2014-12-15 Thread Bob Harner
To be clear, I first tried Tapestry 5.3.7, then 5.3.8, and both worked fine. On Mon, Dec 15, 2014 at 12:07 PM, Bob Harner bobhar...@gmail.com wrote: Benjamin, I can't reproduce your problem. I just created a new project using the Maven Archetype for Tapestry 5.3.8, then added the

Re: Problems with the Palette component

2014-12-15 Thread Bob Harner
Benjamin, I can't reproduce your problem. I just created a new project using the Maven Archetype for Tapestry 5.3.8, then added the OrderHandling page exactly as described at http://tapestry.apache.org/5.3/apidocs/org/apache/tapestry5/corelib/components/Palette.html and it worked fine. (I could

Re: Tapestry and Clojure

2014-12-15 Thread Ilya Obshadko
On Sun, Dec 14, 2014 at 9:17 PM, Thiago H de Paula Figueiredo thiag...@gmail.com wrote: On Sat, 13 Dec 2014 17:48:09 -0200, Ilya Obshadko ilya.obsha...@gmail.com wrote: I have a question regarding potential Clojure integration in my application service layer. As of now, standard Tapestry

Re: Tapestry and Clojure

2014-12-15 Thread Thiago H de Paula Figueiredo
On Mon, 15 Dec 2014 17:34:10 -0200, Ilya Obshadko ilya.obsha...@gmail.com wrote: ServiceBuilder's buildService() receives a ServiceResources instance as a parameter. ServiceResources is an ObjectLocator (i.e. Tapestry-IoC registry). The wording of my question was not fully correct.

Re: Tapestry and Clojure

2014-12-15 Thread Ilya Obshadko
On Mon, Dec 15, 2014 at 10:12 PM, Thiago H de Paula Figueiredo thiag...@gmail.com wrote: On Mon, 15 Dec 2014 17:34:10 -0200, Ilya Obshadko ilya.obsha...@gmail.com wrote: ServiceBuilder's buildService() receives a ServiceResources instance as a parameter. ServiceResources is an

Re: CompressionAnalyzerImpl exception

2014-12-15 Thread Thiago H de Paula Figueiredo
On Mon, 15 Dec 2014 12:05:52 -0200, George Christman gchrist...@cardaddy.com wrote: Howard, you were correct. the MIME type was null. CompressionAnalyzerImpl was failing on line 32 do to contentType being null. As you stated, this NPE is a failure and should probably be checked and thrown

Re: Returning json when request is non xhr

2014-12-15 Thread Thiago H de Paula Figueiredo
On Mon, 15 Dec 2014 13:16:48 -0200, Nathan Quirynen nat...@pensionarchitects.be wrote: Hi, Hi! I have 2 applications (different servers): 1) html + js 2) Tapestry5 Now I tried to do an ajax request (jquery) from application 1 to application 2 where I want to return some json back to

Re: CompressionAnalyzerImpl exception

2014-12-15 Thread Kalle Korhonen
On Mon, Dec 15, 2014 at 12:35 PM, Thiago H de Paula Figueiredo thiag...@gmail.com wrote: On Mon, 15 Dec 2014 12:05:52 -0200, George Christman gchrist...@cardaddy.com wrote: Howard, you were correct. the MIME type was null. CompressionAnalyzerImpl was failing on line 32 do to contentType