Basing my example off of the cell renderer:
http://code.google.com/p/jmesa/wiki/CustomCellRendererTutorial
Here is an example that extends the HtmlRowRenderer. As you can see you can get the value that you need by using the ItemUtils. You could also cast the item to what your real object is.
public class CustomHtmlRowRenderer extends HtmlRowRendererImpl {
@Override
public Object render(Object item, int rowcount) {
HtmlBuilder html = new HtmlBuilder();
html.tr(1);
html.id(getCoreContext().getLimit().getId() + "_row" + rowcount);
Object value = ItemUtils.getItemValue(item, "career");
String valueStr = String.valueOf(value).toLowerCase();
if (valueStr.contains("soldier")) {
html.style("background-color:#c0dba7");
} else {
html.style(getStyle());
}
html.styleClass(getStyleClass(rowcount));
html.append(getRowEvents(item, rowcount));
html.close();
return html.toString();