Re: T5 turn off form validation

2008-06-20 Thread nicholas Krul
Many components inherit their persistence strategy from the page
annotating the page thus is the official word:

@Meta("tapestry.persistence-strategy=client")

or: use cookies
http://wiki.apache.org/tapestry/Tapestry5HowToUsePersistentFieldStrategy
not as clever as Joshes solution, but it doesn't use the session at all

--nK

On Fri, Jun 20, 2008 at 4:11 PM, Lutz Hühnken <
[EMAIL PROTECTED]> wrote:

> Well, if you want stateless, you probably don't even want the session
> to be created at all.
>
> There has been a conversation about this on this mailing list before.
> The solution takes advantage of the possibility to define the
> persistence strategy per component. It also provides a custom
> persistence strategy that only stores the tracker if errors have
> actually been found. See http://markmail.org/message/jfmxfsjgiy3msnhf
>
> I could imagine another good way to do: create your own
> "StatelessForm" component. I don't know how much work that would be,
> though. If you create such a component, please post the code on this
> list or on the wiki!
>
> Hth,
>
> Lutz
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: T5 turn off form validation

2008-06-20 Thread Lutz Hühnken
Well, if you want stateless, you probably don't even want the session
to be created at all.

There has been a conversation about this on this mailing list before.
The solution takes advantage of the possibility to define the
persistence strategy per component. It also provides a custom
persistence strategy that only stores the tracker if errors have
actually been found. See http://markmail.org/message/jfmxfsjgiy3msnhf

I could imagine another good way to do: create your own
"StatelessForm" component. I don't know how much work that would be,
though. If you create such a component, please post the code on this
list or on the wiki!

Hth,

Lutz

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: T5 turn off form validation

2008-06-19 Thread Sven Homburg
i dont now if this info helps you.
the ValidationTracker in the form only stored into the session
for one request

2008/6/19 Ezra Epstein <[EMAIL PROTECTED]>:

> Simple: the form has no validation and Tapestry + Form ==> server
> session ==> drop in scalability.  If I've doing 1M + logins / hour I
> can't afford sessions.
>
> -Original Message-
> From: Sven Homburg [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 19, 2008 10:58 AM
> To: Tapestry users
> Subject: Re: T5 turn off form validation
>
> what can that make sense for?
>
> 2008/6/19 Ezra Epstein <[EMAIL PROTECTED]>:
>
> > How do I turn off form tracker / validation.  Not just client side but
> > the whole thing?  Can I just use a plain HTML (not Tap) form?
> >
> >
> >
> >
>
>
> --
> with regards
> Sven Homburg
> http://tapestry5-components.googlecode.com
> http://chenillekit.googlecode.com
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
with regards
Sven Homburg
http://tapestry5-components.googlecode.com
http://chenillekit.googlecode.com


RE: T5 turn off form validation

2008-06-19 Thread Ezra Epstein
Simple: the form has no validation and Tapestry + Form ==> server
session ==> drop in scalability.  If I've doing 1M + logins / hour I
can't afford sessions.

-Original Message-
From: Sven Homburg [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 19, 2008 10:58 AM
To: Tapestry users
Subject: Re: T5 turn off form validation

what can that make sense for?

2008/6/19 Ezra Epstein <[EMAIL PROTECTED]>:

> How do I turn off form tracker / validation.  Not just client side but
> the whole thing?  Can I just use a plain HTML (not Tap) form?
>
>
>
>


-- 
with regards
Sven Homburg
http://tapestry5-components.googlecode.com
http://chenillekit.googlecode.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: T5 turn off form validation

2008-06-19 Thread Sven Homburg
what can that make sense for?

2008/6/19 Ezra Epstein <[EMAIL PROTECTED]>:

> How do I turn off form tracker / validation.  Not just client side but
> the whole thing?  Can I just use a plain HTML (not Tap) form?
>
>
>
>


-- 
with regards
Sven Homburg
http://tapestry5-components.googlecode.com
http://chenillekit.googlecode.com