Re: T 5.2 & App Engine 1.3 SDK

2009-12-29 Thread Alex Kotchnev
Dmitry, indeed, it works w/ the javaagent fix; however, I had to do something slightly different than what you had: When I was running it w/ the agent that you had on the blog, after replacing the agent in the jar file, I was getting a message that the agent was missing a "premain" class: Ex

Access to session when testing with PageTester?

2009-12-29 Thread Stephan Schwab
In another thread I read that the HTTP session is simulated by PageTester. In the other thread someone showed that you can get the ApplicationStateManager and use @SessionState objects. I'm writing a test that needs to set an attribute to the session so that security code can access that attribut

Re: [Tapestry Central] Securing Tapestry pages with Annotations, Part 1

2009-12-29 Thread Alex Kotchnev
Howard, having looked at the T5-spring-security code (and spring security itself) I see quite a number of similarities with what you describe as an approach. As Thiago already mentioned, there are at least a few more solutions that attempt to provide this (e.g. Thiago's own, chenillekit-access,

Re: T 5.2 & App Engine 1.3 SDK

2009-12-29 Thread Dmitry Gusev
Latest T5.2 works without any problems with 1.3 SDK for me. Here's the sources: http://github.com/dmitrygusev/ping-service And running app: http://ping-service.appspot.com I did had to use Javaagent fix you referenced, but didn't applied Java Security Manager fix because looks like this problem (

Re: Help with using DWR with Tapestry

2009-12-29 Thread Thiago H. de Paula Figueiredo
Em Tue, 29 Dec 2009 15:04:23 -0200, Vangel V. Ajanovski escreveu: I am a bit curious and never had such a scenario, so can you or anyone else elaborate a bit more or give an example of a use-case where this interaction between DWR and tapestry-hibernate is useful? When your DWR code needs t

Re: Help with using DWR with Tapestry

2009-12-29 Thread Vangel V. Ajanovski
I am a bit curious and never had such a scenario, so can you or anyone else elaborate a bit more or give an example of a use-case where this interaction between DWR and tapestry-hibernate is useful? Thanks On 29.12.2009 17:24, Ashwanth Kumar wrote: > Hey, Thanks a lot!! > > I got the Tapestry Hibe

Re: Help with using DWR with Tapestry

2009-12-29 Thread Thiago H. de Paula Figueiredo
Em Tue, 29 Dec 2009 14:24:16 -0200, Ashwanth Kumar escreveu: Hey, Thanks a lot!! You're welcome! I got the Tapestry Hibernate Working with DWR!! U made my life easy!! Tapestry and Tapestry-IoC made it. I just showed you the way. :) -- Thiago H. de Paula Figueiredo Independent Java, Apa

Re: Help with using DWR with Tapestry

2009-12-29 Thread Ashwanth Kumar
Hey, Thanks a lot!! I got the Tapestry Hibernate Working with DWR!! U made my life easy!! - Ashwanth Kumar On Tue, Dec 29, 2009 at 9:52 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > Em Tue, 29 Dec 2009 13:48:40 -0200, Ashwanth Kumar < > ashwanth.ku...@gmail.com> escreveu: >

Re: Help with using DWR with Tapestry

2009-12-29 Thread Thiago H. de Paula Figueiredo
Em Tue, 29 Dec 2009 13:48:40 -0200, Ashwanth Kumar escreveu: Hello, Hi! But, sorry how am i to get HibernateSessionManager?? from the attribute, can u tell me that plz.. I'm breaking my head here.. for almost a week. Get the registry from that servlet context attribute. It's an Registr

Re: Upcoming 5.1.0.6 release

2009-12-29 Thread Christian Riedel
Just add a special item to the release notes that no one can overlook. I mean, if anyone performs this upgrade to 5.1.0.6 he should be aware of the the release notes. On the other hand, a new user wouldn't check the release notes but maybe start with the maven archetype. Is the quickstart-app al

Re: tapestry4 force invalidate user session in pagevalidate()

2009-12-29 Thread Norman Franke
I usually have the HttpServletRequest injected, then do: request.getSession().invalidate(). Norman Franke Answering Service for Directors, Inc. www.myasd.com On Dec 28, 2009, at 9:47 PM, asianCoolz wrote: for some reason i need to do force invalidate of user session on pagevalidate(). i c

Re: Help with using DWR with Tapestry

2009-12-29 Thread Ashwanth Kumar
Hello, On Tue, Dec 22, 2009 at 5:05 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > Em Tue, 22 Dec 2009 09:27:26 -0200, Lance Java > escreveu: > > > One more thing to note is that DWR supports ajax filters which are >> basically interceptors on DWR services. You may want to dup

Re: textfield id with ajax

2009-12-29 Thread markovinac ante
That worked great!!! thank you so much For those of you who don't know (as i was one of them just a minute ago) EventContext is a collection of parameters that may eventually be passed to an event handler method. in this case two parameters were returned wrapped int the context - the value in the

Re: textfield id with ajax

2009-12-29 Thread Christian Riedel
Hi, I guess you are using Inge's ZoneUpdater? Try to add the context parameter to the textfield: The 'id' should be in the EventContext and you should be able to retrieve it in Object onMyEvent(EventContext context); Hope that works :) Christian Am 29.12.09 13:30, schrieb markovinac ante:

textfield id with ajax

2009-12-29 Thread markovinac ante
Hy guys, I have an Ajax, ZoneUpdater, t:loop kind of problem :) - hope you can help t:loop component is wrapped around a t:textfield component - like this... ZoneUpdater event fires beautifully but i'm unable to determine which textfield fired it , or better yet - i do not know how to r

Re: [Tapestry Central] Securing Tapestry pages with Annotations, Part 1

2009-12-29 Thread Vangel V. Ajanovski
On 28.12.2009 23:49, Howard wrote: > Instead, let's pursue a more declarative approach, where we use an > annotation to mark pages that require that the user be logged in. We'll > start with these ground rules: > We changed several approaches since the start of our app, and this approach is the

Re: Upcoming 5.1.0.6 release

2009-12-29 Thread Vangel V. Ajanovski
On 29.12.2009 07:40, Igor Drobiazko wrote: > Hello folks, > I would like to invite you all to vote for/against the upcoming release. In > this release we fixed the two most popular Tapestry issues and I wonder > about few votes. Maybe Christmas time is not the best time for a release. > However, th

T 5.2 & App Engine 1.3 SDK

2009-12-29 Thread Alex Kotchnev
Has anyone tried running T 5.2 w/ the latest GAE 1.3 SDK ? I was happily running on sdk 1.2.5 w/ some of Dmitry's wonderful hacks to make the local dev server work ( http://dmitrygusev.blogspot.com/2009/10/develope-java-applications-with-gae-sdk.html); however, I did need to update to 1.3 to try ou

Re: T5: create directory permission denied

2009-12-29 Thread Angelo Chen
that depends on how you start tomcat, if it runs from root, should be no problem, otherwise make sure that directory has the permission for the user who starts tomcat. wesleywj2 wrote: > > hi, > > i'm actually create directory to store image after user upload the image. > i'm using java.io fo