Hi Christian!

> You are right: a checkbox value, as seen with Vadim, is a string with
a
> value of 'on', when selected. But a session or a request boolean
> attribute is an object, not a string. So we should process the source
> parameter differently depending by its source (request parameter or
> cookie are strings), and application/request/session attributes are
> objects.

>So, what if the part responsible for retrieving the object converts it
>to an object? We would only have to deal with objects for the
>validation then.

Yes. You are right. This is the best method!

Bye
Paolo Scaffardi
AIRVENT SAM S.p.A.


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

Reply via email to