Extend display tags column Decorator and use the same decorator class in the display tag column. In your class you can display the check boxes.
Your Jsp looks like <display:table name="list" decorator="com.test.SearchResultsDecorator"> <display:column property="checkBox" headerStyleClass="columnhead lcell" title=""/>
</display:table>
Your Decorator Class Code looks like public
String getCheckBox(){
Content obj = (Content) this.getCurrentRowObject();
long checkboxValue=obj.getContentId();
String checkboxDisplay = obj.getContentName();
/* Any Such condition can be added here .....
if(checkInSelectedList(checkboxValue))
return disabledCheckBox(checkboxValue,checkboxDisplay).toString();
else
*/
return checkbox(checkboxValue,checkboxDisplay).toString();
}
private StringBuffer checkbox(long checkboxValue,String checkboxDisplay) {
return new StringBuffer().append("<input type='checkbox' name='"checkbox_name" value='").append(checkboxValue).append("'>");
}
Regards
Gopi