Hi Chris

I use it like this:

<stripes:checkbox name="item.bool" value="true"/> Bool

on the bean it refers to a

public boolean getBool(); method.

Morten

2012/2/8 Chris Johnson <johns...@gmail.com>

> Can someone explain exactly when checkboxes are rendered checked..
> I've done some playing around but it's still unclear to me how exactly
> they should work:
>
> <stripes:checkbox name="item.id" value="A" checked="A"/> not checked ?
> <stripes:checkbox name="item.id" value="A" checked="B"/> not checked ?
>
> The documentation says:  If the value of the checkbox is found to equal or
> be
> contained by the 'checked' object then the checkbox will default to
> rendering as checked.
>
> I find that if the value of the checkbox is found to be
> equal to the value in name then the checkbox is checked..
>
> Can someone explain how i should be using this ?
>
> Thanks,
> ..Chris
>
>
>
>
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> _______________________________________________
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users
>



-- 

Morten Matras
CEO - Leaddoubler.com
Phone: +45 36 96 07 06
Skype: mortena
http://twitter.com/#!/LeadDoubler
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to