Re: Tapestry Session Service

2013-01-25 Thread Kalle Korhonen
On Fri, Jan 25, 2013 at 5:46 PM, Tony Nelson wrote: > I don't really want you to go all Gung Ho :). Remember I've been with you > since Tapestry 3. I know how you go Gung Ho. > :) > I've just already allotted plenty of time in our schedule for the 5.3 to > 5.4 upgrade under the guise of Introd

Re: Tapestry Session Service

2013-01-25 Thread Tony Nelson
I don't really want you to go all Gung Ho :). Remember I've been with you since Tapestry 3. I know how you go Gung Ho. I've just already allotted plenty of time in our schedule for the 5.3 to 5.4 upgrade under the guise of Introducing SASS/Coffee. We are heavily invested in tapestry-jquery esp

Re: Tapestry Session Service

2013-01-25 Thread Howard Lewis Ship
I think Tony wants us to go Gung Ho on the code base. Oh, so tempting, but I think we'll stay the course instead. I'm sure I could build a better IoC and framework than Tapestry 5 now, it's T5+5 years, but that wouldn't prove anything. On Fri, Jan 25, 2013 at 2:16 PM, Thiago H de Paula Figueiredo

Re: Tapestry Session Service

2013-01-25 Thread Thiago H de Paula Figueiredo
On Fri, 25 Jan 2013 19:45:31 -0200, Tony Nelson wrote: Aren't all the javascript changes in 5.4 going to break compatibility anyways? What server-side backward compatibility has to do with client-side one? Specially in this case, in which someone expected something to be a service beca

Re: Tapestry Session Service

2013-01-25 Thread Howard Lewis Ship
There have been limited server-side changes, nearly all backwards compatible (with a few backwards incompatible changes in neglected corners, unfortunately). If you stick to vanilla Tapestry out of the box, then your Tapestry 5.3 application should work in 5.4, even with the client-side changes. A

RE: Tapestry Session Service

2013-01-25 Thread Tony Nelson
Aren't all the javascript changes in 5.4 going to break compatibility anyways? -Original Message- From: Howard Lewis Ship [mailto:hls...@gmail.com] Sent: Friday, January 25, 2013 1:13 PM To: Tapestry users Subject: Re: Tapestry Session Service On Fri, Jan 25, 2013 at 3:10 AM, Thiago H de

Re: Tapestry 5 book is here

2013-01-25 Thread Jon Williams
Yes I've been getting the updates these past few weeks. What I'm interested in now is v1.0 of your PDF. Complete. Or do I have to buy it again? That would be an Unconventional approach to early access. On Fri, Jan 25, 2013 at 2:38 PM, Igor Drobiazko wrote: > There were plenty of updates in the l

Re: Tapestry 5 book is here

2013-01-25 Thread Igor Drobiazko
There were plenty of updates in the last weeks. Didn't you get them? On Fri, Jan 25, 2013 at 8:20 PM, Jon Williams wrote: > Will owners of the early access PDF get a free update to your completed PDF > Igor? > > > On Fri, Jan 25, 2013 at 9:54 AM, Lenny Primak >wrote: > > > This is a required re

Re: Tapestry 5 book is here

2013-01-25 Thread Jon Williams
Will owners of the early access PDF get a free update to your completed PDF Igor? On Fri, Jan 25, 2013 at 9:54 AM, Lenny Primak wrote: > This is a required reading for anybody working with tapestry. Great job!!! > > On Jan 25, 2013, at 4:20 AM, Igor Drobiazko > wrote: > > > Dear Tapestry commun

Re: [ANN] New project available : Kawwa

2013-01-25 Thread David Canteros
It looks great! Many examples, well documented... Tapestry examples! Congratulations! -- David Germán Canteros 2013/1/25 Bob Harner > Very very nice! > > On Fri, Jan 25, 2013 at 9:06 AM, Emmanuel DEMEY > wrote: > > Hi Everyone >

Re: Tapestry Session Service

2013-01-25 Thread Thiago H de Paula Figueiredo
On Fri, 25 Jan 2013 16:13:18 -0200, Howard Lewis Ship wrote: Not every service is injectable. Not everything that is injectable is a service. I was wrong in the sentence above. Every service is injectable, but not everything in a .services package is a service. A service is something th

Re: Tapestry Session Service

2013-01-25 Thread Howard Lewis Ship
On Fri, Jan 25, 2013 at 3:10 AM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Thu, 24 Jan 2013 14:03:52 -0200, Matías Blasi > wrote: > > Hi all! >> > > Hi! > > > I'm a little stuck with trying to inject the Tapestry Session Service >> (org.apache.tapestry.services.**Session) >

Re: How to log page on-load time & page size

2013-01-25 Thread Howard Lewis Ship
Tapestry 5.4 now logs page construction time to the console; can't remember if it does it at DEBUG or INFO off the top of my head. This information can be very insightful. You can also get the same information from the built-in PageCatalog page. On Fri, Jan 25, 2013 at 7:17 AM, Lance Java wrote:

Re: Tapestry 5 book is here

2013-01-25 Thread Lenny Primak
This is a required reading for anybody working with tapestry. Great job!!! On Jan 25, 2013, at 4:20 AM, Igor Drobiazko wrote: > Dear Tapestry community, > > I'm glad to announce that the long awaited Tapestry 5 book is now available > for purchase as paperback: > > http://blog.tapestry5.de/ind

Re: How to log page on-load time & page size

2013-01-25 Thread Lance Java
public class MyResponseWrapper extends javax.servlet.ServletResponseWrapper { private int contentLength = -1; public MyResponseWrapper(ServletResponse response) { super(response); } public void setContentLength(int cl) { super.setContentLength(cl); this.contentLength

Re: [ANN] New project available : Kawwa

2013-01-25 Thread Bob Harner
Very very nice! On Fri, Jan 25, 2013 at 9:06 AM, Emmanuel DEMEY wrote: > Hi Everyone > > > Atos Worldline is very proud to announce a new project : Kawwa, now > available in production at > https://kawwa.atosworldline.com/ > > > > > The Kawwa Portal gives you acce

Re: Tapestry 5 book is here

2013-01-25 Thread Chris Cureau
I've been extremely happy with my book so far...Thanks for all your hard work, Igor! :) On Fri, Jan 25, 2013 at 3:20 AM, Igor Drobiazko wrote: > Dear Tapestry community, > > I'm glad to announce that the long awaited Tapestry 5 book is now available > for purchase as paperback: > > http://blog.t

Re: Tapestry 5 book is here

2013-01-25 Thread Emmanuel DEMEY
Great News Igor !! Thanks so much for this book ! Manu 2013/1/25 Bård Magnus Kvalheim > Thank you for this, looks very good. > > Even as a tapestry 'veteran' by now, I'm sure I'll find nice gems and > tricks - and it will surely help new developers getting up to speed > quickly. > > Just great!

Re: How to log page on-load time & page size

2013-01-25 Thread karthi
Sorry, could not understand? how to set content length in my handler? -- View this message in context: http://tapestry.1045711.n5.nabble.com/How-to-log-page-on-load-time-page-size-tp5719514p5719531.html Sent from the Tapestry - User mailing list archive at Nabble.com. -

Re: How to log page on-load time & page size

2013-01-25 Thread Lance Java
Download the tapestry source and look how the GZIPFilter is contributed. You will need to create your own org.apache.tapestry5.services.HttpServletRequestFilter and contribute it "before:GZIPFilter". Perhaps you won't need to wrap the OutputStream. I *think* that tapestry is nice enough to set the

Re: How to log page on-load time & page size

2013-01-25 Thread karthi
Could you give some example to log response size using OutputStream? -- View this message in context: http://tapestry.1045711.n5.nabble.com/How-to-log-page-on-load-time-page-size-tp5719514p5719529.html Sent from the Tapestry - User mailing list archive at Nabble.com. --

Re: [T.5.3] problem with sessionstate

2013-01-25 Thread Thiago H de Paula Figueiredo
Hi! Without code we cannot answer your question. -- Thiago H. de Paula Figueiredo - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re: X-Sendfile / mod_xsendfile with Tapestry 5

2013-01-25 Thread Thiago H de Paula Figueiredo
On Thu, 24 Jan 2013 14:07:31 -0200, René Bernhardsgrütter wrote: I wouldn't say that. File transfers are affected by IO, not CPU. I've read this somewhere several months ago and yesterday again here: https://blogs.warwick.ac.uk/chrismay/entry/mod_x_sendfile/ Have you seen the second commen

Re: Tapestry 5 book is here

2013-01-25 Thread Bård Magnus Kvalheim
Thank you for this, looks very good. Even as a tapestry 'veteran' by now, I'm sure I'll find nice gems and tricks - and it will surely help new developers getting up to speed quickly. Just great! On Fri, Jan 25, 2013 at 11:42 AM, Christian Riedel wrote: > Thank you, Igor! > > 100 pages more tha

Re: X-Sendfile / mod_xsendfile with Tapestry 5

2013-01-25 Thread Thiago H de Paula Figueiredo
On Thu, 24 Jan 2013 14:07:31 -0200, René Bernhardsgrütter wrote: Hi, Hi! I wouldn't say that. File transfers are affected by IO, not CPU. I've read this somewhere several months ago and yesterday again here: https://blogs.warwick.ac.uk/chrismay/entry/mod_x_sendfile/ I'd like to see

Re: Tapestry Session Service

2013-01-25 Thread Thiago H de Paula Figueiredo
On Thu, 24 Jan 2013 14:03:52 -0200, Matías Blasi wrote: Hi all! Hi! I'm a little stuck with trying to inject the Tapestry Session Service (org.apache.tapestry.services.Session) Session is not a service nor something that can injected right now. @Inject Request and use its getSession(b

Re: How to log page on-load time & page size

2013-01-25 Thread karthi
Many thanks for your valuable infos :-) -- View this message in context: http://tapestry.1045711.n5.nabble.com/How-to-log-page-on-load-time-page-size-tp5719514p5719523.html Sent from the Tapestry - User mailing list archive at Nabble.com. ---

Re: How to log page on-load time & page size

2013-01-25 Thread Lance Java
If you really want to know how long a page takes to load in a browser, you could use a tool like selenium [1]. If you want to log from the server, you might find that your servlet container (tomcat/jetty) has a built in option for logging this info. If not, this is probably best done by contribu

Re: Tapestry 5 book is here

2013-01-25 Thread Christian Riedel
Thank you, Igor! 100 pages more than the early access version, good job! :-) Am 25.01.2013 um 10:20 schrieb Igor Drobiazko: > Dear Tapestry community, > > I'm glad to announce that the long awaited Tapestry 5 book is now available > for purchase as paperback: > > http://blog.tapestry5.de/ind

Re: How to log page on-load time & page size

2013-01-25 Thread Markus Feindler
sorry, did not see, that the question has already been answered :) > > Original-Nachricht > Datum: Fri, 25 Jan 2013 11:40:00 +0100 > Von: "Markus Feindler" > An: "Tapestry users" > Betreff: Re: How to log page on-load time & page size > > Hey, > > I d

Re: How to log page on-load time & page size

2013-01-25 Thread Markus Feindler
Hey, I don't think this is technically possible on server side, since assets are retrieved via separate http requests and there is no way for tapestry to determine which request belongs to what "page load". > > Original-Nachricht > Datum: Fri, 25 Jan 2013 01:36:42

Re: How to log page on-load time & page size

2013-01-25 Thread karthi
Thank you for your reply. So we can log only the coding log time, & is the way I right to log the on-load time in coding is right? & can you tell me how to log page size also? -- View this message in context: http://tapestry.1045711.n5.nabble.com/How-to-log-page-on-load-time-page-size-tp57195

Re: Tapestry 5 book is here

2013-01-25 Thread Steve Eynon
Nice! You get even your own personalised PDF copy! Sweet! -- Steve Eynon --- "If at first you don't succeed, so much for skydiving!" On 25 January 2013 17:20, Igor Drobiazko wrote: > Dear Tapestry community, > > I'm glad to announce that the long awaited Tapestry

Re: How to log page on-load time & page size

2013-01-25 Thread Lance Java
Firebug's load-time includes things like javascript initialization and network latency. Neither of these metrics can be measured from the server. Keep in mind that firefox can get multiple assets in parallel and also caches many assets. -- View this message in context: http://tapestry.1045711.n

[T.5.3] problem with sessionstate

2013-01-25 Thread upgrading
hello I have a problem in tapestry with a session State : when I valide page the session became empty. I don't find where, i loose session. But when i try open an other page all of parameter are null. the other pages are OK if i don't use this one in first. I think this page is busy, due

Re: [5.4-alpha-2] Environment cloaked during ajax component event

2013-01-25 Thread Lance Java
I was considering a thread-local, I'd totally forgotten about request attributes... how retro!!! Thanks for your help guys, are you convinced that the cloaking introduced in 5.3 is a good idea? -- View this message in context: http://tapestry.1045711.n5.nabble.com/5-4-alpha-2-Environment-cloake