Re: Error after logout

2011-02-17 Thread Marek Matus
Thank you very much for your help! Marek 2011/2/17 Kalle Korhonen > You are logging out the Subject, right? See this (from > > http://svn.codehaus.org/tynamo/trunk/tynamo-example-federatedaccounts/src/main/java/org/tynamo/examples/federatedaccounts/pages/Index.java > ): >Object onAction

Re: Render informal parameters into element(s) of a component's template

2011-02-17 Thread Kalle Korhonen
Thanks, just run into the same. What a surprising use case for the trigger component. Perhaps a hack, but feels right :) This would deserve a spot somewhere in the documentation. Kalle On Fri, Jan 14, 2011 at 3:10 AM, nille hammer wrote: > > Hi List, > > I have just stepped into the same proble

[CK-1.3.2] Window component problem

2011-02-17 Thread Sándor Irlanda
Hi! I'm building an app with T5.2.4 and wanna use ChenilleKit for some magic. Unfortunately I cannot show the window component as it was in the demo of CK: click here to show window I discovered that I could use $T('window1').ck_window.showCenter(true) instead. This looks more geeky - so it woul

Re: 10 Minute Web Application Demo

2011-02-17 Thread Howard Lewis Ship
I spend a lot of time when teaching Tapestry getting people to do One Small Step at a time. Everyone feels the need to jump from a blank page to the final solution in one go, and that's really hard. I do a lot of "placeholder goes here", then do a series of refinements. That's how I work on real p

Re: Class Transformation

2011-02-17 Thread Thiago H. de Paula Figueiredo
On Thu, 17 Feb 2011 14:11:39 -0200, Taha Hafeez wrote: Can I do it in Javassist. You'd need to ensure your Javassist-changed class version is the only one used in your application. This is probably quite hard to do. If I needed to something like you want, I'd study how Projet Lombok wor

Re: Error after logout

2011-02-17 Thread Kalle Korhonen
You are logging out the Subject, right? See this (from http://svn.codehaus.org/tynamo/trunk/tynamo-example-federatedaccounts/src/main/java/org/tynamo/examples/federatedaccounts/pages/Index.java): Object onActionFromLogout() { // Need to call this explicitly to invoke onlogou

Re: Error after logout

2011-02-17 Thread LLTYK
The problem here is the session somehow being accessed after invalidate() is called. Maybe you tried to set an @Persist'd variable or something, and the actual change didn't propagate until after you called invalidate(). I do my invalidate in an ajax request. The other solution is to call invalid

Re: Class Transformation

2011-02-17 Thread Taha Hafeez
We did use envers in one of our projects but it makes creating auditing reports a project in itself. Besides the auditing is not of our liking. We, being a financial organization, have to audit every thing and having so many audit tables around is just too much. Also there is less control over the

Re: 10 Minute Web Application Demo

2011-02-17 Thread Mark
THanks for the suggestion. I was thinking about doing the same demo program again, but this time spending more time explaining what is going on. It would be much longer though, so I wasn't sure if people would actually watch it. :) Mark On Thu, Feb 17, 2011 at 8:39 AM, Inge Solvoll wrote: > Nic

Error after logout

2011-02-17 Thread Marek Matus
Hi all, I have application with tomcat 7.0.4, tapestry 5.2.4, tynamo security 0.3.0. Sometimes after logout I receise this error - see bellow. Could you give me advice what could be wrong? Thanks, Marek HTTP Status 500 - -- *type* Exception report *message* *desc

Re: Class Transformation

2011-02-17 Thread Kalle Korhonen
On Thu, Feb 17, 2011 at 7:15 AM, Taha Hafeez wrote: > Back to the question. What I really want to do is provide an @Auditable > annotation on my domain classes and then add some fields/methods at the time > of loading the classes. Are you sure that adding the auditing data directly to your domain

Re: Class Transformation

2011-02-17 Thread Lenny Primak
+1 Lombok. It is awesome and I've used it for some time. On Feb 17, 2011, at 10:38 AM, "Thiago H. de Paula Figueiredo" wrote: > On Thu, 17 Feb 2011 13:15:01 -0200, Taha Hafeez > wrote: > >> Back to the question. What I really want to do is provide an @Auditable >> annotation on my domain

Re: Class Transformation

2011-02-17 Thread Thiago H. de Paula Figueiredo
On Thu, 17 Feb 2011 13:15:01 -0200, Taha Hafeez wrote: Back to the question. What I really want to do is provide an @Auditable annotation on my domain classes and then add some fields/methods at the time of loading the classes. Tapestry-IoC doesn't change classes at all. It just creates p

Re: Class Transformation

2011-02-17 Thread Taha Hafeez
I know a bit of asm and I am really looking forward to browse its code but I am too busy with migrating our internal wicket applications to Tapestry5. We are also planning to replace front-end of Finacle from jsp to tapestry5. Back to the question. What I really want to do is provide an @Auditable

Re: T5 : Zone / Tapestry.windowUnloaded / Download link

2011-02-17 Thread Magnus Kvalheim
Yes, we've experienced same problem and resorted to use target="_blank" as we didn't have the time to come up with something more creative. A better solution would be welcomed though :) On Thu, Feb 17, 2011 at 3:05 PM, Richard Kolísek wrote: > > same problem here > -- > View this message in cont

Re: Tapestry 5 - cache issue when accessed via proxy

2011-02-17 Thread Richard Hill
Yes, difficult to diagnose with only this information. I can only suggest the obvious: check both proxy server logs and your servlet container logs to make sure the request is being received and forwarded correctly. Check what parameters/search queries is being actually passed into your tapestry a

Re: Class Transformation

2011-02-17 Thread Thiago H. de Paula Figueiredo
On Thu, 17 Feb 2011 11:33:35 -0200, Taha Hafeez wrote: Hi Hi! There is internal support for creating new classes in tapestry ioc using ClassFactory/ClassFab. They're going to be deprecated soon and remved in the future. The replacement will be Howard's Plastic package: https://githu

Re: 10 Minute Web Application Demo

2011-02-17 Thread Inge Solvoll
Nice work, Mark! I have some feedback for you here: Tapestry is great because it enables me to work tiny iterations. These tiny iteratinos are enabled by live reloading and excellent error reporting. I use this to work in a TDD way (without actually doing TDD), adding one bit at a time and verify

Re: Tapestry 5 - cache issue when accessed via proxy

2011-02-17 Thread Josh Canfield
You haven't given us a lot to work with so I'll speculate that you're app doesn't keep the search parameters in the URL after the redirect-after-post so the browser is always fetching the same url. Have you tried looking at the proxy logs to see what its doing? On Feb 16, 2011 11:17 PM, "sunmoor0

Re: T5 : Zone / Tapestry.windowUnloaded / Download link

2011-02-17 Thread Richard Kolísek
same problem here -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-Zone-Tapestry-windowUnloaded-Download-link-tp2436863p3389487.html Sent from the Tapestry - User mailing list archive at Nabble.com. - T

Class Transformation

2011-02-17 Thread Taha Hafeez
Hi There is internal support for creating new classes in tapestry ioc using ClassFactory/ClassFab. What if I have to modify an existing class say add methods/fields or do I have to go for javassist directly regards Taha

Re: T5: onActivate called before onSuccessFrom

2011-02-17 Thread Alessandro Badin
Hello guys, What about I have something like this: Object onActivate() { condition = service.findSomething(); return (condition == null) ? OtherPage.class : null; } Thanks. Alessandro Badin -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-onAct

Re: 10 Minute Web Application Demo

2011-02-17 Thread Peter Stavrinides
:) Excellent Mark! I know the feeling... does she also give the blank expression? - Original Message - From: "Mark" To: "Tapestry users" Sent: Wednesday, 16 February, 2011 23:25:47 GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: Re: 10 Minute Web Application Demo I keep show