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
n the request exceeds a max size would be greatly appreciated. Best, Harry

Re: Far Future Expiration Headers of Assets

2014-12-22 Thread Harry Zhou
load. This is configurable and you may want a much higher value in production. If you are rapidly iterating on the source of a module, you may need to force the browser to reload after clearing local cache. Chrome has an option to disable the client-side cache when its developer tools are open."

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
essively cache downloaded assets." So I am not sure why responses for my assets all come with "Cache-Control:no-cache" and "Pragma:no-cache". Any help would be appreciated. Thanks! Best Regards Harry --

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
tty 6, and confirmed with the client that it was an arbitrary choice. They provided a new Jetty 9 environment, under which we deployed the application, and the exceptions went away! So all is good! Thanks Kalle. Best, Harry On Mon, Nov 3, 2014 at 12:42 PM, Kalle Korhonen wrote: > On Su

Session Cookie Remains after Tapestry Security Logout

2014-11-02 Thread Harry Zhou
of logging the user out that causes the cookie to remain? Thank you for your advice in advance. Best Regards Harry

Re: OLark script block

2013-03-16 Thread harry
George, Sorry about the late reply. I hard-coded the OLark script in the afterRender() function of the Layout component, using javaScriptSupport.addScript(=) Best, Harry -- View this message in context: http://tapestry.1045711.n5.nabble.com/OLark-script-block-tp5517659p5720501.html

Re: Change default session timeout interval

2012-03-25 Thread harry
Thank you, lprimak and RuralHunter. I am so dumb. I was so fixated with setMaxInactiveInterval() that I completely forgot about web.xml. Anyhow, I solved the problem by adding 10 to web.xml. Because I am using Jetty, this configuration overwrites the default of 30 set by webdefault

Change default session timeout interval

2012-03-25 Thread harry
Dear Tapestry community, I am wondering what's the best practice to change default session timeout interval. Specifically, I'd like to shorten it. The older discussions in the mailing list seem to be either out-dated or not on point. I have been using the ApplicationStateManager (with the defau

Re: OLark script block

2012-02-26 Thread harry
Iprimak, It worked like a charm! Thank you. So it turns out using the JavaScriptSupport @Environmental and a call to its addScript in the layout page's afterRender does the trick. Wonder why that's the case. -- View this message in context: http://tapestry.1045711.n5.nabble.com/OLark-script-b

OLark script block

2012-02-26 Thread harry
Hi everyone! My first Tapestry site is about to go live. Very exciting time. In fact, I was so excited that I decided to add olark live chat. And it didn't work -- the "chat now" hover window never appeared. olark installment requires a script block: to be placed "right before the last tag

hibernate type cast issue

2012-01-09 Thread harry
am now thoroughly frustrated. Any help will be highly appreciated. Harry -- View this message in context: http://tapestry.1045711.n5.nabble.com/hibernate-type-cast-issue-tp5130777p5130777.html Sent from the Tapestry - User mailing list archive at Nabble.com. ---

Re: Help with Page Life cycle

2006-08-09 Thread Harry Harris
the page for display. There's a slight chance that something quirky is going on causing your form to actually double-post to the server. That would be a client-side bug, and might take some browser testing tools to discover. -Original Message- From: Harry Harris [mailto:[EMAIL PROTECTE

Help with Page Life cycle

2006-08-09 Thread Harry Harris
Hello there! I've just started with tapestry, and I was wondering if anyone cares to give me a little help understanding page life cycle :) Its a simple crud scenario. So I have a page that implements PageBeginRenderListener, I read that this method is called just before page begins to render, so