myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorbjørn Ravn Andersen <thunderax...@gmail.com>
Subject Re: RichList and SelectBooleanCheckbox
Date Mon, 11 Sep 2006 19:24:54 GMT
sjarlier@stradefi.com skrev  den 11-09-2006 17:02:
> The problem I have now is that I would like the user to select some persons
> in this list and getting the list of selected persons in my program. I was
> thinking of putting a SelectBooleanCheckbox in front of each row of this
> table but then I cannot get back the node associated to the checkbox. If I
> am doing something like this:
>
> H:selectBooleanCheckbox id=ok value="#{r.personAuthorized}"
>
> Then this checkbox will be checked if r.personAuthorized is true but I will
> not get the value of this checkbox in my nodes when leaving this page no?
>
>   
If you were using a h:dataTable I would suggest using the 
t:updateActionListener tag which allows you to set a property where the 
variable is available from the loop.

Maybe it will work inside your package too?

-- 
  THorbjørn

Mime
View raw message