Multi Upload for Tap5.4?

2013-09-26 Thread George Christman
Hello everyone, does anybody know if there is a multi uploader for tap5.4? I know one existed with the tap-jquery project, but not sure about 5.4.

Re: About Tapestry 5.4

2013-09-26 Thread Muhammad Gelbana
1. In Howard's blog post, he dai "Very little on the server side changed with the upgrade to 5.4; but revisiting and rewriting all that JavaScript was more than enough work!" But I can't filter out tapestry's server-side (IoC

Re: Unable to locate a single service assignable to type org.apache.tapestry5.services.ComponentEventResultProcessor

2013-09-26 Thread rukmini n
Hi Thiago, >From the net, i found that there was similar issue with tapestry-upload module. I tried the same patch mentioned there. But still i get the same exception. http://apache-tapestry-mailing-list-archives.1045711.n5.nabble.com/tapestry-issues-5-1-0-0-SNAPSHOT-td2465885.html Could you plea

Re: About Tapestry 5.4

2013-09-26 Thread Thiago H de Paula Figueiredo
On Thu, 26 Sep 2013 17:45:15 -0300, Muhammad Gelbana wrote: My questions are: 1. What are the changes related to the server-side ? Not many. It's mostly about JavaScript. Check http://tapestry.apache.org/release-notes-54.html. 3. Have you guys planned how will the documentation be mana

Re: How do you use JS in Tap5.4

2013-09-26 Thread Thiago H de Paula Figueiredo
On Thu, 26 Sep 2013 15:54:15 -0300, George Christman wrote: Hello, I seemed to be really confused on how to use a custom js file in Tap5.4. I use to use @Import which no longer appears to fire. @Import continues working as before. You just need to put the files inside /META-INF in the cla

About Tapestry 5.4

2013-09-26 Thread Muhammad Gelbana
My questions are: 1. What are the changes related to the server-side ? 2. In around 2 months, I must be set on some frameworks I will use on a project, so it would be great is the release will be ready in less that 2 months. 3. Have you guys planned how will the documentation be managed ? 5.3 user

Re: How do you use JS in Tap5.4

2013-09-26 Thread George Christman
I was able to get this working using @Environmental private JavaScriptSupport jsSupport; public void setupRender() { jsSupport.require("etss_custom"); } I'm wondering if there is a better way to set up my scripts than this? I don't anything about stacks, but should I learn and i

How do you use JS in Tap5.4

2013-09-26 Thread George Christman
Hello, I seemed to be really confused on how to use a custom js file in Tap5.4. I use to use @Import which no longer appears to fire. I then decided to try and use require js and still can't get tapestry to load my script. I have the following config, src/main/resources/META-INF/modules/test.js

Re: Tapestry + Hibernate + Testing

2013-09-26 Thread Boris Horvat
I guess for now I will proceed with using code that is not tapestry related inside my test classes though that is likely to change in the future. Thanks for you suggestions I will keep them in my head when the time for them arises :) Cheers On Thu, Sep 26, 2013 at 9:40 AM, Lance Java wrote: >

Re: [5.4.22] Application 'randomly' starts choking out 404s for t5/core/dom and underscore

2013-09-26 Thread Howard Lewis Ship
Does this only occur during testing? I've found that we sometimes see this during testing when Selenium starts loading a new page while there are outstanding AMD module requests; the requests fail as if 404 just before the new page content loads. On Thu, Sep 26, 2013 at 5:51 AM, Peter Hvass wro

Re: [5.4.22] Application 'randomly' starts choking out 404s for t5/core/dom and underscore

2013-09-26 Thread Howard Lewis Ship
You can also test your theory by disabling GZIP compression. On Thu, Sep 26, 2013 at 9:59 AM, Howard Lewis Ship wrote: > Does this only occur during testing? I've found that we sometimes see > this during testing when Selenium starts loading a new page while there are > outstanding AMD module

Re: StreamResponse an EventLink

2013-09-26 Thread Thiago H de Paula Figueiredo
On Thu, 26 Sep 2013 11:35:57 -0300, Jaroslav Ciml wrote: Hi, Hi! I am using Tapestry version 5.3.6. I tested it on 5.4-alpha-22. This exception is thrown if I return a StreamResponse instance from an event link handler (i.e. the request URL contains something like :eventname). Everyt

Re: [5.4.20] injected-uploader module require.js 404

2013-09-26 Thread Felix Gonschorek
uh, it's not just a typo - i updated the issue On Thu, Sep 26, 2013 at 2:34 PM, Felix Gonschorek wrote: > Fix should be easy, it's just a typo > > https://issues.apache.org/jira/browse/TAP5-2188 > > :-) > > > On Fri, Sep 13, 2013 at 9:13 AM, Peter Hvass wrote: > >> Apologies for the repeated t

Re: StreamResponse an EventLink

2013-09-26 Thread Jaroslav Ciml
Hi, I am using Tapestry version 5.3.6. This exception is thrown if I return a StreamResponse instance from an event link handler (i.e. the request URL contains something like :eventname). Everything is OK if I return the same StreamResponse instance from onActivate method. It also occurs only

[5.4.22] Application 'randomly' starts choking out 404s for t5/core/dom and underscore

2013-09-26 Thread Peter Hvass
Hello, Having a hard time reliably reproducing this one, wondering if anyone else has run into similar; We start getting the following in our browser consoles; GET http://sadaharu:8087/village/asset.gz/module/t5/core/dom.js 404 (/asset.gz/module/t5/core/dom.js) require-2.1.8.js:1880 GET

Re: StreamResponse an EventLink

2013-09-26 Thread Thiago H de Paula Figueiredo
On Thu, 26 Sep 2013 07:43:44 -0300, Jaroslav Ciml wrote: Hi, Hi! ${message:exportToCsv} @OnEvent("exportToCsv") StreamResponse exportToCsv() { return new TextStreamResponse("text/plain", "Just a test!"); } It works for me. If I click the event link, I get the exception "Sani

Re: [5.4.20] injected-uploader module require.js 404

2013-09-26 Thread Felix Gonschorek
Fix should be easy, it's just a typo https://issues.apache.org/jira/browse/TAP5-2188 :-) On Fri, Sep 13, 2013 at 9:13 AM, Peter Hvass wrote: > Apologies for the repeated topic in that case - thanks for your replies! :) > > - Original Message - > > From: "Massimo Lusetti" > To: "Tapes

Re: StreamResponse an EventLink

2013-09-26 Thread Thiago H de Paula Figueiredo
On Thu, 26 Sep 2013 07:43:44 -0300, Jaroslav Ciml wrote: Hi, Hi! Is returning an StreamResponse instance from EventLink handler a good practice? Yep! Why not? :) When that StreamResponse is only used inside a page or component, it makes sense for its event handler to be there. On the

StreamResponse an EventLink

2013-09-26 Thread Jaroslav Ciml
Hi, Is returning an StreamResponse instance from EventLink handler a good practice? I have the following link in the template file. ${message:exportToCsv} And the following method handles the event in java file. @OnEvent("exportToCsv") StreamResponse exportToCsv() { return new TextSt

Re: Tapestry + Hibernate + Testing

2013-09-26 Thread Lance Java
HibernateEntityPackageManager only has one method which gets the list of hibernate entity package names. You might find it more lightweight to create mock this rather than including HibernateModule. On 26 Sep 2013 01:30, "Thiago H de Paula Figueiredo" wrote: > On Wed, 25 Sep 2013 20:01:14 -0300,