cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carlos Chávez <ccha...@agssa.net>
Subject Re: CForms submit checkbox
Date Fri, 25 Feb 2005 19:50:45 GMT

Dustin Jenkins Escribio :-)
> How do I get the value of the submitted checkbox from a form in my
> flowscript?  Currently I have this after the showForm() call:
>
> var model = myForm.getModel();
> var cbox_value = model.myCheckBox;
>
> cbox_value always returns false, even when it's checked.  Am I doing
> this right?  All other widgets submit fine.

  try model.myCheckBox.booleanValue(), but i never used in that way,

  i'm using myForm.getChild("myCheckBox").getValue().booleanValue()

  Cheers.

  Carlos Chávez.

>
> Thanks,
> Dustin
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>


-- 
Carlos Chávez

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message