public void setModelValue(Object model, Object value) throws Exception {
// We don't want to change it, we just want too see it
}
};
// Just want to show it...
LinkButtonEditor editor2 = new LinkButtonEditor();
editor2.setHref("EditPipe");
editor2.setParameterName(PIPE_ID);
editor2.setTarget("_self");
FieldInfo linkFieldInfo = new FieldInfo(id2, label2, modifier2, editor2);
pipeListFieldInfo.addColumn(linkFieldInfo);
}
{
// -----------------
// Start button field
// -----------------
String id5 = "start";
String label5 = "start";
ModelModifier modifier5 = new DefaultModelModifier() {
public Object getModelValue(Object model) throws Exception {
return ((Pipe) model).getId();
}
public void setModelValue(Object model, Object value) throws Exception {
}
};
LinkButtonEditor editor5 = new LinkButtonEditor();
editor5.setHref("PipeList");
editor5.setParameterName(PIPE_ID);
editor5.setTarget("_self");
FieldInfo linkFieldInfo = new FieldInfo(id5, label5, modifier5, editor5);
pipeListFieldInfo.addColumn(linkFieldInfo);
}
} catch(Exception e) {