Re: Frontend Frameworks / Libraries

2015-09-18 Thread Harry Zhou
gt; >>> > > >>>> 2015-08-07 22:18 GMT+02:00 Kalle Korhonen < > >>> > kalle.o.korho...@gmail.com > >>> > > >: > >>> > > >>>> > >>> > > >>>>> It's pretty easy. Don't build component event requests but > just > >>> > send > >>> > > >>>>> REST(-like) requests that are either processed by plain > >>> Tapestry > >>> > > pages > >>> > > >>>> and > >>> > > >>>>> its EventContext. If you are building a more comprehensive > spa > >>> then > >>> > > >>>>> consider pairing the client with JAX-WS resource backend > (i.e. > >>> > > >>>>> http://www.tynamo.org/tapestry-resteasy+guide/ for T5). > >>> > > Incidentally, > >>> > > >>>> I've > >>> > > >>>>> been working with spas lately as well, and moved from > AngularJS > >>> to > >>> > > >> Ember. > >>> > > >>>>> > >>> > > >>>>> Kalle > >>> > > >>>>> > >>> > > >>>>>> On Fri, Aug 7, 2015 at 12:46 PM, Bob Harner < > >>> bobhar...@gmail.com> > >>> > > >> wrote: > >>> > > >>>>>> > >>> > > >>>>>> Yes a page/event. As long as the URL looks like a tapestry > >>> event > >>> > > >>>> request, > >>> > > >>>>>> you can handle the request in an event handler method within > >>> the > >>> > > >> page's > >>> > > >>>>>> Java class, and return JSON. > >>> > > >>>>>> > >>> > > >>>>>> On Fri, Aug 7, 2015 at 2:40 PM, George Christman < > >>> > > >>>>> gchrist...@cardaddy.com> > >>> > > >>>>>> wrote: > >>> > > >>>>>> > >>> > > >>>>>>> Hi guys, I've been playing around with AngularJS and > backbone > >>> > > >>>> recently > >>> > > >>>>>> and > >>> > > >>>>>>> I'm wondering if it's pretty easy to use with Tapestry? I'm > >>> more > >>> > > >>>>>> concerned > >>> > > >>>>>>> with ajax events etc. I know in grails you can just point > >>> your > >>> > url > >>> > > >>>> to a > >>> > > >>>>>>> controller/action, would we do something similar in > Tapestry, > >>> but > >>> > > >>>>>> obviously > >>> > > >>>>>>> not a controller, but a page / event? > >>> > > >> > >>> > > >> > >>> - > >>> > > >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > >>> > > >> For additional commands, e-mail: users-h...@tapestry.apache.org > >>> > > > > >>> > > > > >>> > > > -- > >>> > > > George Christman > >>> > > > CEO > >>> > > > www.CarDaddy.com > >>> > > > P.O. Box 735 > >>> > > > Johnstown, New York > >>> > > > >>> > > > - > >>> > > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > >>> > > For additional commands, e-mail: users-h...@tapestry.apache.org > >>> > > > >>> > > > >>> > > >>> > >>> > >>> > >>> -- > >>> George Christman > >>> CEO > >>> www.CarDaddy.com > >>> P.O. Box 735 > >>> Johnstown, New York > >>> > >>> > > > > -- > > Thiago H. de Paula Figueiredo > > Tapestry, Java and Hibernate consultant and developer > > http://machina.com.br > > > > > > - > > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > > For additional commands, e-mail: users-h...@tapestry.apache.org > > > > > -- Best Regards Harry Zhou

Re: Frontend Frameworks / Libraries

2015-09-15 Thread Harry Zhou
Ah, thanks so much for the tip! I did embed the files, which really bloated up the app. Will try out the duo app approach; makes lots of sense. On Tue, Sep 15, 2015 at 1:52 PM, Kalle Korhonen wrote: > On Tue, Sep 15, 2015 at 9:34 AM, Harry Zhou wrote: > > > Would appreciate your a

Re: Frontend Frameworks / Libraries

2015-09-15 Thread Harry Zhou
> >>>> and >>> > > >>>>> its EventContext. If you are building a more comprehensive spa >>> then >>> > > >>>>> consider pairing the client with JAX-WS resource backend (i.e. >>> > > >>>>> http://www.tynamo.org/tapestry-resteasy+guide/ for T5). >>> > > Incidentally, >>> > > >>>> I've >>> > > >>>>> been working with spas lately as well, and moved from AngularJS >>> to >>> > > >> Ember. >>> > > >>>>> >>> > > >>>>> Kalle >>> > > >>>>> >>> > > >>>>>> On Fri, Aug 7, 2015 at 12:46 PM, Bob Harner < >>> bobhar...@gmail.com> >>> > > >> wrote: >>> > > >>>>>> >>> > > >>>>>> Yes a page/event. As long as the URL looks like a tapestry >>> event >>> > > >>>> request, >>> > > >>>>>> you can handle the request in an event handler method within >>> the >>> > > >> page's >>> > > >>>>>> Java class, and return JSON. >>> > > >>>>>> >>> > > >>>>>> On Fri, Aug 7, 2015 at 2:40 PM, George Christman < >>> > > >>>>> gchrist...@cardaddy.com> >>> > > >>>>>> wrote: >>> > > >>>>>> >>> > > >>>>>>> Hi guys, I've been playing around with AngularJS and backbone >>> > > >>>> recently >>> > > >>>>>> and >>> > > >>>>>>> I'm wondering if it's pretty easy to use with Tapestry? I'm >>> more >>> > > >>>>>> concerned >>> > > >>>>>>> with ajax events etc. I know in grails you can just point >>> your >>> > url >>> > > >>>> to a >>> > > >>>>>>> controller/action, would we do something similar in Tapestry, >>> but >>> > > >>>>>> obviously >>> > > >>>>>>> not a controller, but a page / event? >>> > > >> >>> > > >> >>> - >>> > > >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >>> > > >> For additional commands, e-mail: users-h...@tapestry.apache.org >>> > > > >>> > > > >>> > > > -- >>> > > > George Christman >>> > > > CEO >>> > > > www.CarDaddy.com >>> > > > P.O. Box 735 >>> > > > Johnstown, New York >>> > > >>> > > - >>> > > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >>> > > For additional commands, e-mail: users-h...@tapestry.apache.org >>> > > >>> > > >>> > >>> >>> >>> >>> -- >>> George Christman >>> CEO >>> www.CarDaddy.com >>> P.O. Box 735 >>> Johnstown, New York >>> >>> > > -- > Thiago H. de Paula Figueiredo > Tapestry, Java and Hibernate consultant and developer > http://machina.com.br > > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Best Regards Harry Zhou

Tapestry Upload MaxFileSize

2015-04-11 Thread Harry Zhou
Hi Friends! I am using symbols upload.filesize-max and upload.requestsize-max to limit the size of upload files. As many of you have noticed, however, an UploadException won't actually be thrown until a large file has finished uploading. I understand that the solution may be to place a Multipart

Re: Far Future Expiration Headers of Assets

2014-12-22 Thread Harry Zhou
addy.com/modules.gz/t5/core/select.js (60 seconds) > https://www.cardaddy.com/modules.gz/t5/core/zone.js (60 seconds) > > Any thoughts? > > On Sun, Dec 21, 2014 at 5:14 PM, Harry Zhou wrote: >> Hi Bob and Thiago, thank you for pointing me to the right direction! >> Problem

Re: Far Future Expiration Headers of Assets

2014-12-21 Thread Harry Zhou
't being removed by a proxy or CDN. >> Hint: doest the issue happen on your desktop with local host, or only when >> running on a server? >> On Dec 21, 2014 11:55 AM, "Harry Zhou" wrote: >> >>> Hi! >>> >>> About my T5.4 site, Goog

Far Future Expiration Headers of Assets

2014-12-21 Thread Harry Zhou
Hi! About my T5.4 site, Google is complaining that "resources are missing a cache expiration. Resources that do not specify an expiration may not be cached by browsers . . . " I read that "assets get a far-future expires header" and will be "client browsers will aggressively cache downloaded asse

Re: Prevent double or more submissions.

2014-12-01 Thread Harry Zhou
les the second form submission itself. > > > -- > Thiago H. de Paula Figueiredo > Tapestry, Java and Hibernate consultant and developer > http://machina.com.br > > - > To unsubscribe, e-mail: users-unsubs

Re: Access Hibernate with out injection

2014-11-18 Thread Harry Zhou
- > >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > >> For additional commands, e-mail: users-h...@tapestry.apache.org > >> > >> > > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Best Regards Harry Zhou

Re: Session Cookie Remains after Tapestry Security Logout

2014-11-03 Thread Harry Zhou
n, Nov 2, 2014 at 4:41 PM, Harry Zhou wrote: > > > The user is indeed logged out, and the session is indeed invalidated. > > Everything seems to work fine. > > 3. The Issue > > Upon closer inspection, I noticed that the session cookie created by user > > during l

Session Cookie Remains after Tapestry Security Logout

2014-11-02 Thread Harry Zhou
Hi Everyone! I am developing an application using Tapestry 5.4-beta-22 & Tapestry-Security 0.6.2. The Tapestry framework and the Tapestry-Security module have made my life a lot easier, and for that I am really grateful. I am writing to seek your generous input on an issue regarding the session