Hi all

 

I'm trying to use displaytag
http://demo.raibledesigns.com/appfuse/demos/users-edit.jsp
<http://demo.raibledesigns.com/appfuse/demos/users-edit.jsp>  and I'm trying
to reproduce the table on this page.

 

I need the checkboxes to select/deselect all the other ones and I need the
checkboxes to hold the ID from my bean class. Here is my code.

Can anybody tell me how to achieve this?

Thanks
Donie

 

 

<html:form action="/mmsc/ca/terminalProfilesFormMainAction">

<display:table name="sessionScope.grid" id="row" pagesize="10">

           <display:column width="240" maxLength="40" property="profileID"
title="Profile ID" 

                                 sortable="true"
url="/mmsc/ca/terminalProfileFormMainAction.do"/>

           <display:column width="200"  maxLength="30"
property="userAgentName" title="User Agent Name"/>

           <display:column width="5" title="<input type=\"checkbox\"
name=\"allbox\" onclick=\"checkAll(this.form)\"/>">

                      <input type="checkbox" name="id" value="${SHOUND
CONTAIN grid.profileID}" onclick="radio(this)"/>

           </display:column>

           <display:setProperty name="paging.banner.placement"
value="bottom" />

           <display:footer>

                      <tr><td><c:out value="<br/>" /></td><tr>

  </display:footer>

</display:table>

</html:form>

Reply via email to