I have a bean -
public class ResourceType_DTO
{
long resTypeID;
String resName;
public String getResName()
{
return resName;
}
public void setResName(String resName)
{
this.resName = resName;
}
public long getResTypeID()
{
return resTypeID;
}
public void setResTypeID(long resTypeID)
{
this.resTypeID = resTypeID;
}
}
I set a List of these objects on the request object like so -
request.setAttribute("resTypesList", getResourceTypeList());
I then want to display a checkbox for each ResourceType_DTO object in the list. So the value attribute for each checkbox would be "resTypeID" & the text displayed "resName".
I've tried every combination of <html:multibox> & <logic:iterate> tags I can think of but still can't get this simple task to happen!
Any help please, this is doing my Head in!