Am 08.02.2012 00:06, schrieb Morten Matras: > 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 >
In general, you are not tied to boolean values. The following would also work: <stripes:checkbox name="stringProperty" value="A"/> In this case, the actionbean needs a property called "stringProperty". If this value is already set to "A" when rendering the page, the checkbox will be already checked. I currently have no idea in which case the "checked" attribute is useful - I just don't use it. Kind regards, Marcus ------------------------------------------------------------------------------ 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