struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niall Pemberton" <niall.pember...@blueyonder.co.uk>
Subject Re: hidden checkboxes
Date Fri, 11 Jun 2004 01:57:49 GMT
Same answer as your other question except use <html:hidden> instead of
<html:checkbox>

Using logic iterate....

<logic:iterate id="myLabelBeans"
                 name="myForm"
                 property="myLabelBeans"
                 offset="10"
                 length="10">

    <html:hidden name="myLabelBeans" property="myValue" indexed="true"/>

</logic:iterate>


Using JSTL...

<c:forEach var="myLabelBeans"
                 items="$(myForm.myLabelBeans}"
                 begin="10"
                 end="19">

    <html:hidden name="myLabelBeans" property="myValue" indexed="true"/>

</c:forEach>

Niall
----- Original Message ----- 
From: <chris.cranford@tkdsoftware.com>
To: <user@struts.apache.org>
Sent: Friday, June 11, 2004 2:28 AM
Subject: hidden checkboxes


> Is there a way to render a portion of a collection (multibox) as hidden
input
> tags instead of rendered checkbox input tags?
>
> thanks
> chris
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


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


Mime
View raw message