myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mathias Brökelmann <mbroekelm...@googlemail.com>
Subject Re: selectManyCheckbox broken in 1.1.0 and 1.1.1
Date Sun, 30 Oct 2005 11:49:00 GMT
please post your bean code and the scope of your bean (application,
session or request)

2005/10/30, Matthew Baird <matthew.baird@ecommstats.com>:
>
>
>
> I think I might be the only person using selectManyCheckbox, I've found
> almost no examples or docs on it on the net.
>
>
>
> If I put this in my page
>
>                         <h:selectManyCheckbox id="items"
> value="#{bean.items}">
>
>                                     <f:selectItems
> value="#{bean.selectedItems}"/>
>
>                         </h:selectManyCheckbox>
>
>
>
> The page will render correctly the first time, but if I submit back to that
> page, it loses state if some of the checkboxes are checked. If I uncheck
> them it seems to fix itself. The behavior is pretty strange. It's a
> relatively easy thing to replicate.
>
>
>
> The same code works perfectly with 1.0.9, and fails with both 1.1.0 and
> 1.1.1
>
>
>
> Are there any known gotchas?
>
>
>
> m


--
Mathias

Mime
View raw message