struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lynn Guy <lgu...@yahoo.com>
Subject RE: html:checkbox Tag problem
Date Thu, 16 Oct 2003 03:29:04 GMT
I think multibox will return the "value" of the
checked items which might help you out.

--- Wendy Smoak <Wendy.Smoak@asu.edu> wrote:
> Faisal wrote:
> > I populate data from database in to the Action
> form, which i am using
> to
> > display multiple records in the JSP Page. Here i
> am using
> <Html:checkbox as
> > an indicator to every record in the the page. I
> have associated the
> > checkobox with String array Property. My Problem
> is when i submit the
> form 
> > and say form.getPropertyName(), I am getting the
> values of only the
> checked 
> > items. I would like to know how to iniatilize the
> unchecked values and
> how 
> > struts handles. I need it urgently .
> 
> The request will only contain successful form
> elements.  Un-checked
> checkboxes are NOT successful and will not be in the
> request.  (This is
> an HTML/browser thing, not Struts.)
> 
> If you need something to come through in the
> request, <html:hidden>
> might be appropriate.  Post some of the JSP and your
> Form bean, and
> perhaps someone will have an idea for you.
> 
> -- 
> Wendy Smoak
> Applications Systems Analyst, Sr.
> Arizona State University, PA, IRM 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> struts-user-help@jakarta.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message