Re: Ok, really dumb questions about ioc scopes...

2010-07-16 Thread Christian Gruber
(that last message came out a little cattier than I meant, Thiago. Sorry) On Fri, Jul 16, 2010 at 7:36 PM, Christian Edward Gruber < christianedwardgru...@gmail.com> wrote: > Heh. I don't need to be schooled in "web development" :) But most ioc > frameworks have a web-centric naming for such a

Re: Ok, really dumb questions about ioc scopes...

2010-07-16 Thread Christian Edward Gruber
Heh. I don't need to be schooled in "web development" :) But most ioc frameworks have a web-centric naming for such a scope, and I wanted to be sure that the right way to do it was with per-thread. cheers, Christian. On Jul 16, 2010, at 3:24 PM, Thiago H. de Paula Figueiredo wrote: On Fri

Re: Ok, really dumb questions about ioc scopes...

2010-07-16 Thread Thiago H. de Paula Figueiredo
On Fri, 16 Jul 2010 16:07:58 -0300, Christian Edward Gruber wrote: I need to bind a service into request scope, so it's whatever I need to do in my module. In web applications, unless you create new threads, request scope is the same as thread scope. If this is not your scenario, creatin

Re: Ok, really dumb questions about ioc scopes...

2010-07-16 Thread Christian Edward Gruber
I need to bind a service into request scope, so it's whatever I need to do in my module. On Jul 16, 2010, at 3:03 PM, Thiago H. de Paula Figueiredo wrote: On Fri, 16 Jul 2010 15:30:15 -0300, Christian Edward Gruber > wrote: I see singleton and per-thread... and there's an implicit session

Re: Ok, really dumb questions about ioc scopes...

2010-07-16 Thread Thiago H. de Paula Figueiredo
On Fri, 16 Jul 2010 15:30:15 -0300, Christian Edward Gruber wrote: I see singleton and per-thread... and there's an implicit session scope wiht SessionState annotations... Are there "session" and "reqeust" scopes? As a T-IoC scope, no. There are annotations and services that use the se

Re: Ok, really dumb questions about ioc scopes...

2010-07-16 Thread Christian Edward Gruber
Check. Ok - I wasn't sure about per-thread, since it's possible to implement thread scope against a request object, instead of per-thread. thanks, Christian. On Jul 16, 2010, at 2:39 PM, Howard Lewis Ship wrote: per-thread is the same as request within a Tapestry application. There's been t

Re: Ok, really dumb questions about ioc scopes...

2010-07-16 Thread Howard Lewis Ship
per-thread is the same as request within a Tapestry application. There's been talk about a sesson scope, but it doesn't exist. SessionState are not services so there's no scope for them. On Fri, Jul 16, 2010 at 11:30 AM, Christian Edward Gruber wrote: > I see singleton and per-thread... and there

Ok, really dumb questions about ioc scopes...

2010-07-16 Thread Christian Edward Gruber
I see singleton and per-thread... and there's an implicit session scope wiht SessionState annotations... Are there "session" and "reqeust" scopes? I've managed to avoid a request-scoped object until now, but I think I need one in the ioc... but I don't see these two scopes explicitly docu

Re: More stupid Javassist woes...

2010-07-16 Thread Christian Edward Gruber
Another googler supplied it, and I think he's posting it to javassist. I can dig it out... attached. It's like a four line patch. 3.12.0.GA didn't affect tapestry, it affected some other unit testing tool used by another team. Here's the patch that fixed it. cheers, Christian. On Ju

Re: production html whitespace compression alters rendered markup

2010-07-16 Thread Josh Canfield
> If only Tapestry were written in Clojure :-) Yep, no users, no feature requests, no bugs :P On Fri, Jul 16, 2010 at 8:36 AM, Howard Lewis Ship wrote: > Actually, I doubt that; it's well integrated into the template parser, > not broken out into a separate service.  If only Tapestry were writte

Re: More stupid Javassist woes...

2010-07-16 Thread Christian Edward Gruber
Yeah, but they're sealed and they require Larry and Sergei (or Eric) to give you the auth token. :( Christian. On Jul 16, 2010, at 12:42 PM, Howard Lewis Ship wrote: Really? I thought you worked at Google? Don't they have big barrels of money lining the corridors or something? On Fri, Jul

Re: More stupid Javassist woes...

2010-07-16 Thread Howard Lewis Ship
Really? I thought you worked at Google? Don't they have big barrels of money lining the corridors or something? On Fri, Jul 16, 2010 at 9:31 AM, Christian Edward Gruber wrote: > Ahahahah.  I wish I had that kind of pull/budget. > > Christian. > > On Jul 16, 2010, at 12:27 PM, Howard Lewis Ship

Re: More stupid Javassist woes...

2010-07-16 Thread Thiago H. de Paula Figueiredo
On Fri, 16 Jul 2010 13:20:22 -0300, Christian Edward Gruber wrote: ... so I upgraded us to a patched 3.12.0.GA of javassist and that cured all sorts of woes with our local Google AppEngine development appserver and tapestry... Have you wrote the patch yourself or got it somewhere else? C

Re: More stupid Javassist woes...

2010-07-16 Thread Christian Edward Gruber
Ahahahah. I wish I had that kind of pull/budget. Christian. On Jul 16, 2010, at 12:27 PM, Howard Lewis Ship wrote: I wonder if there's a big organization with deep pockets that would like to fund that effort? :-) On Fri, Jul 16, 2010 at 9:20 AM, Christian Edward Gruber wrote: ... so I upgra

Re: More stupid Javassist woes...

2010-07-16 Thread Howard Lewis Ship
I wonder if there's a big organization with deep pockets that would like to fund that effort? :-) On Fri, Jul 16, 2010 at 9:20 AM, Christian Edward Gruber wrote: > ... so I upgraded us to a patched 3.12.0.GA of javassist and that cured all > sorts of woes with our local Google AppEngine developme

More stupid Javassist woes...

2010-07-16 Thread Christian Edward Gruber
... so I upgraded us to a patched 3.12.0.GA of javassist and that cured all sorts of woes with our local Google AppEngine development appserver and tapestry... ... until I tried to run code-coverage stats. Apparently our code- coverage system at Google conflicts somehow with what javassist

Re: production html whitespace compression alters rendered markup

2010-07-16 Thread Howard Lewis Ship
Actually, I doubt that; it's well integrated into the template parser, not broken out into a separate service. If only Tapestry were written in Clojure :-) On Fri, Jul 16, 2010 at 5:26 AM, Inge Solvoll wrote: > As always, I'm pretty sure it's possible and not too hard to decorate the > built-in

Re: Upgrading from Tapestry5.0.18 to 5.1.0.5

2010-07-16 Thread Christophe Cordenier
Hi Have you seen this one http://markmail.org/thread/ethp2mqrvdv733p2 ? 2010/7/16 Duruk_Kab > > I tried using above settings... but then I get ClassCast exception. Its > related to Stax TemplateParser issue... > > check more about it on: > http://www.mail-archive.com/users@tapestry.apache.org/m

Re: production html whitespace compression alters rendered markup

2010-07-16 Thread Inge Solvoll
As always, I'm pretty sure it's possible and not too hard to decorate the built-in service that does this work :) On Fri, Jul 16, 2010 at 5:53 AM, Paul Stanton wrote: > thanks for the suggestion howard, this would be fine if it were obvious to > all developers which cases were problematic. other

Re: Upgrading from Tapestry5.0.18 to 5.1.0.5

2010-07-16 Thread Duruk_Kab
I tried using above settings... but then I get ClassCast exception. Its related to Stax TemplateParser issue... check more about it on: http://www.mail-archive.com/users@tapestry.apache.org/msg36309.html Any thoughts? -- View this message in context: http://tapestry-users.832.n2.nabble.com/Up

Re: Upgrading from Tapestry5.0.18 to 5.1.0.5

2010-07-16 Thread Christophe Cordenier
Hi Set tapestry.use-external-spring-context symbol to true and use default Spring ContextLoaderListener to load spring registry. HTH 2010/7/16 Duruk_Kab > > I am also facing the same issue... any suggestions? > -- > View this message in context: > http://tapestry-users.832.n2.nabble.com/Upgrad

Re: Upgrading from Tapestry5.0.18 to 5.1.0.5

2010-07-16 Thread Duruk_Kab
I am also facing the same issue... any suggestions? -- View this message in context: http://tapestry-users.832.n2.nabble.com/Upgrading-from-Tapestry5-0-18-to-5-1-0-5-tp5291773p5301209.html Sent from the Tapestry Users mailing list archive at Nabble.com. -

Chenillekit component not working with T5.0.19

2010-07-16 Thread Sha Aith
Chenillekit components are not working with Tapestry 5.0.19. Is anybody else facing the same issue? -- View this message in context: http://old.nabble.com/Chenillekit-component-not-working-with-T5.0.19-tp29181642p29181642.html Sent from the Tapestry - User mailing list archive at Nabble.com. -

RE: t:grid, inPlace and rowIndex

2010-07-16 Thread Jim O'Callaghan
Hi Thiago, I've tried that - but the index is the position within the current 'page' of entries in the grid, i.e. zero is the first entry on page one, and also on page 2 etc., but also, the inPlace method won't work as the index can't be updated because some render phase is skipped. I guess wh