I'm not sure that is the case.  The type converter would only kick into gear
if it ran across a type Boolean during the bindingandvalidation phase.
Otherwise, it wouldn't do anything.  Of course, you could just use boolean
instead of Boolean and be done with it. :)  I've never ran across a
situation where Boolean was needed anyway. In fact, I like the isXXX method
better than getXXX method for booleans. :)

Gregg

On Mon, Nov 17, 2008 at 4:49 PM, Mike McNally <[EMAIL PROTECTED]> wrote:

>
>
> On Mon, Nov 17, 2008 at 4:43 PM, Gregg Bolinger <
> [EMAIL PROTECTED]> wrote:
>
>> So what's wrong with my suggestion to write a type converter?  It's not
>> exactly what they are normally used for because you wouldn't really be
>> converting the type.  But couldn't you check the value to see if it is null
>> or not and simply return a Boolean.FALSE if it is null?  I haven't tried
>> this but in theory it sounds like it should work.
>>
>
> This is just my opinion, but I think it'd be architecturally backwards for
> the Action to be in control of that interpretation. I'd like for the page to
> be in control, or something else (don't know what) outside the Action, in
> some configuration domain maybe.
>
> To put it another way, I don't want the action to assume that I've got a
> checkbox on my form.
>
>
>
>
> --
> Turtle, turtle, on the ground,
> Pink and shiny, turn around.
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Stripes-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/stripes-users
>
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to