Re: tapestry-func on large dataset

2011-10-18 Thread Howard Lewis Ship
I'm curious what Guava (the google Java functional programming library) does in this situation? I'm not sure they even try for laziness. On Tue, Oct 18, 2011 at 5:57 PM, Richard Yunhua Sang wrote: > Thanks for the new method, it's more easier to create a flow now. > > I have tried to use WeakRef

Jquery conflict issue with tapestry upgrade 5.0.18 to 5.2.6

2011-10-18 Thread ManuPK
I am upgrading the tapestry version from 5.0.18 to 5.2.6, I was getting lots of JS conflict(with JQuery) issues, so I used "tapestry5-jquery-2.6.0.jar" from ( https://github.com/got5 got5 ) to resolve those issues, most of them has been resolved with this move. But still I am getting some JS errors

Re: Tapestry5 and Spring AOP profiling

2011-10-18 Thread cqasker
Thanks Thiago -- I will probably return to this issue later. None of my beans, spring or not, are being profiled. Unfortunately -- just too many other things to attend to. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry5-and-Spring-AOP-profiling-tp4899677p4916294.h

Re: Ordering Constraints for @Startup

2011-10-18 Thread Steve Eynon
I mentioned this for until ordering constraints are added to @Startup, it can not be a complete replacement for contributing to RegistryStartup (which I assume was the point). And as there is already an @Order annotation for use with decorators, I thought it'd be handy if it also worked with @Star

[T5.3.19] TestableRequestImpl does not clear request attributes

2011-10-18 Thread Steve Eynon
Hi, I make heavy use of the PageTester and Testify and have a problem with the TestableRequest not clearing Request attributes at the end of every request. In fact, they don't seem to get cleared out ever! (???) The culprit appears to be: public TestableRequest clear() { parameters.clear();

Re: tapestry-func on large dataset

2011-10-18 Thread Richard Yunhua Sang
Thanks for the new method, it's more easier to create a flow now. I have tried to use WeakReference/SoftReference to replace the rest property in LazyFlow, both worked even in low memory scenario (-Xmx128m). The problem is that the resolved Flow cannot be reused, it'll cause NPE since the referenc

Re: Dynamic pages to static

2011-10-18 Thread Thiago H. de Paula Figueiredo
On Tue, 18 Oct 2011 13:59:12 -0200, dick_hu wrote: For example, this nabble forum's current url is "http://tapestry.1045711.n5.nabble.com/Tapestry-User-f2375125.html";. In fact it is a dynamic page,but it's suffix is .html as a static page. The .html doesn't necessary ensures it was a stati

Re: Dynamic pages to static

2011-10-18 Thread dick_hu
For example, this nabble forum's current url is "http://tapestry.1045711.n5.nabble.com/Tapestry-User-f2375125.html";. In fact it is a dynamic page,but it's suffix is .html as a static page. It must a background program generate the html to reduce some db operate. Has any tapestry integration can

Re: An Appeal To Use the Latest Betas

2011-10-18 Thread Howard Lewis Ship
Generating 5.3-beta-23 right now. On Tue, Oct 18, 2011 at 8:16 AM, Howard Lewis Ship wrote: > I'm renaming the Tapestry SessionFactory to be TapestrySessionFactory. > That should help. > > On Tue, Oct 18, 2011 at 5:59 AM, Serge Eby wrote: >> Hi, >> >> The issue I am facing with the upgrade is de

Re: An Appeal To Use the Latest Betas

2011-10-18 Thread Howard Lewis Ship
I'm renaming the Tapestry SessionFactory to be TapestrySessionFactory. That should help. On Tue, Oct 18, 2011 at 5:59 AM, Serge Eby wrote: > Hi, > > The issue I am facing with the upgrade is described here: > http://tapestry-users.832.n2.nabble.com/T5-3-x-Service-IDs-Conflict-td6896451.html > > A

Re: Dynamic pages to static

2011-10-18 Thread Steve Eynon
I have to ask the obvious question of "Why?" If you're seeing performance issues, I think we'd all like to hear more details... Steve. On 18 October 2011 22:21, dick_hu wrote: > > pieter wrote: >> >> Just add a static page to your webapp folder should work >> >>  http://tapestry.apache.org/req

Re: Browser Back Button

2011-10-18 Thread Muhammad Gelbana
It's in interesting subject. Here is another link http://davidjb.com/blog/2011/03/disabling-caching-for-sensitive-web-pages-aka-how-to-prevent-logged-out-users-going-back Google really has many links for the same subject... On Tue, Oct 18, 2011 at 5:00 PM, Muhammad Gelbana wrote: > If I understo

Re: Browser Back Button

2011-10-18 Thread Muhammad Gelbana
If I understood you right. You don't wan't the browser to cache previous pages. So when a user is for example viewing his profile page, then clicks on the logout link. A click on the back button doesn't show the users's profile. May be just a message from the browser that this page (the user's prof

Re: Browser Back Button

2011-10-18 Thread Olga
I am noted that with back browser button we can see all page history, but you can be logout or was logined with other username. How i can catch this event? Thanks -- View this message in context: http://tapestry.1045711.n5.nabble.com/Browser-Back-Button-tp4909542p4913885.html Sent from the Tap

Re: Dynamic pages to static

2011-10-18 Thread dick_hu
pieter wrote: > > Just add a static page to your webapp folder should work > > http://tapestry.apache.org/request-processing.html > http://tapestry.apache.org/request-processing.html > > "StaticFiles checks for URLs that are for static files (files that exist > inside the web context) and abo

Re: @Property and existing getter or setter

2011-10-18 Thread Muhammad Gelbana
I agree with Steve. Sometimes you need to see some exceptions thrown to stay on the right path. On Tue, Oct 18, 2011 at 2:47 PM, Denis Stepanov wrote: > > > ...by adding @Property you're asking for a getter / setter pair that > > are benign in operation and have no side effects whereas your own >

Re: An Appeal To Use the Latest Betas

2011-10-18 Thread Massimo Lusetti
On Mon, Oct 17, 2011 at 10:45 PM, Geoff Callender wrote: > chenille-kit is a blocker for me, too. I'm really willing to give an update to chenillekit this coming weekend... hopefully I will be able to respect my plans Cheers -- Massimo http://meridio.blogspot.com -

Re: An Appeal To Use the Latest Betas

2011-10-18 Thread Serge Eby
Hi, The issue I am facing with the upgrade is described here: http://tapestry-users.832.n2.nabble.com/T5-3-x-Service-IDs-Conflict-td6896451.html Any hints to get past this would be appreciated. Thanks, /Serge -- View this message in context: http://tapestry-users.832.n2.nabble.com/An-Appeal-T

Re: An Appeal To Use the Latest Betas

2011-10-18 Thread Thiago H. de Paula Figueiredo
On Tue, 18 Oct 2011 10:33:18 -0200, wrote: After several failed attempts in the past, I finally managed to upgrade from 5.1 to 5.3. I have one application to do the same upgrade, but I still haven't time for it yet. The second was the new Tapestry ajax features and some updates to the

Re: @Property and existing getter or setter

2011-10-18 Thread Denis Stepanov
> ...by adding @Property you're asking for a getter / setter pair that > are benign in operation and have no side effects whereas your own > getters and setters could do anything. > > If you have a nefarious setter but don't notice it because you were > blinded by the @Property annotation I can f

Re: An Appeal To Use the Latest Betas

2011-10-18 Thread P . Stavrinides
After several failed attempts in the past, I finally managed to upgrade from 5.1 to 5.3. I found two areas had changed significantly... in some respects breaking backwards compatibility. The first being IoC service reloading, which after a good explanation from Howard about how service reloading

Re: Dynamic pages to static

2011-10-18 Thread pieter
Just add a static page to your webapp folder should work http://tapestry.apache.org/request-processing.html http://tapestry.apache.org/request-processing.html "StaticFiles checks for URLs that are for static files (files that exist inside the web context) and aborts the request, so that the serv

Re: [ANN] JumpStart drops @Persist from Grid, Loop, and AjaxFormLoop examples!

2011-10-18 Thread Geoff Callender
Thanks for the kind words folks. Much appreciated. I discovered that the "Delete Column" examples could no longer do optimistic locking, so I've fixed that and released 5.4.21. On 17/10/2011, at 8:19 PM, Geoff Callender wrote: > Hi all, > > JumpStart's been updated to get rid of @Persist from

Re: @Property and existing getter or setter

2011-10-18 Thread Steve Eynon
I'm not so convinced... ...by adding @Property you're asking for a getter / setter pair that are benign in operation and have no side effects whereas your own getters and setters could do anything. If you have a nefarious setter but don't notice it because you were blinded by the @Property annota

Re: Practical jQuery Integration

2011-10-18 Thread Barry Books
You don't need the jQuery(document).ready part in your script. The javaScriptSupport.addScript does this for you. FYI: I also use http://tapestry5-jquery.com/. If you already know jQuery it's pretty easy to use and the samples should get you going.

@Property and existing getter or setter

2011-10-18 Thread Denis Stepanov
Hi everyone, when using @Property anotation on a page with existing getter or setter Tapestry will throw an exception, would it be better to just ignore adding a new method rather than throwing an exception? I don't think it could lead to unexpected behavior, there is not so many cases when the