Hi all

I'm displaying a table which contains RoleBeans:

<display:table name="rolesEntries" sort="list" defaultsort="1"
requestURI="" class="default">
        <display:column>
                <html:checkbox  property="selected" value="selected"/>
        </display:column>
      <display:column property="accessRight" title="Access
Right&nbsp;&nbsp;" sortable="true" headerClass="sortable"/>
      <display:column property="description"
title="Description&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;"/> 
</display:table>

The collection rolesEntries contains these roleBeans. The RoleBean has
the property selected, next to the others:

/**
         * @return Returns the selected.
         */
        public boolean isSelected() {
                return selected;
        }
        /**
         * @param selected The selected to set.
         */
        public void setSelected(boolean selected) {
                this.selected = selected;
        }

This property i would like to display in a checkbox in the table. But i
don't know how to do it. The code above doesn't work. I get the
following exception:
[ServletException in:/pages/usermanagement/addGroup.jsp] No getter
method for property selected of bean org.apache.struts.taglib.html.BEAN'


How can i say that it has to take the property of the RoleBean which is
inside the roleEntries collection?

Thanks
Angela




-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
displaytag-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to