Re: session-less forms

2008-04-13 Thread nicholas Krul
the @Meta(tapestry.persistence-strategy=X) works beautifully... no more sessions till logged in. On Mon, Apr 7, 2008 at 7:14 PM, Robert Zeigler [EMAIL PROTECTED] wrote: On Apr 7, 2008, at 4/712:53 PM , Fernando Padilla wrote: so.. the client strategy stores it in a cookie? Client

Re: session-less forms

2008-04-07 Thread Peter Stavrinides
If I understand correctly you need to pass data completely independent of session state... then your options are hidden form fields, and or URL parameters. Of course then you would have to reinitialize your properties manually after posting, which is not such big a deal! Fernando Padilla

Re: session-less forms

2008-04-07 Thread Howard Lewis Ship
The approach I would take would be to configure the Form to store its persistent fields on the client, rather than in the Session. On your PAGE, you can add a @Meta annotation for this: @Meta(tapestry.persistence-strategy=client) public class MyPage { ... This sets the default persistence

Re: session-less forms

2008-04-07 Thread Fernando Padilla
so.. the client strategy stores it in a cookie? Yeah, I don't really have access to those either :) ps - This is for integration with GoogleGadgets/OpenSocial/MySpace/Hi5. So it's basically a portlet hosted on a different site. And the requests to my server are being proxied by MySpace/Hi5

Re: session-less forms

2008-04-07 Thread Robert Zeigler
On Apr 7, 2008, at 4/712:53 PM , Fernando Padilla wrote: so.. the client strategy stores it in a cookie? Client strategy stores it in the url. Not sure how that would play out for myspace, etc. Robert Yeah, I don't really have access to those either :) ps - This is for integration with

session-less forms

2008-04-06 Thread Fernando Padilla
I have a requirement to not depend on HttpSession, but the Form component has a @Persist field that Tapestry wants to store in a session. What are some options to avoid this? - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: session-less forms

2008-04-06 Thread Josh Canfield
I have a requirement to not depend on HttpSession, but the Form component has a @Persist field that Tapestry wants to store in a session. What are some options to avoid this? I may have posted this before, but here it is again. I think it's a pretty good solution. I created a session