*/
public abstract Vector<String> getHeaders();
public List<HtmlInput<?>> getInputs(String... fieldNames)
{
Entity entity = this.getEntity();
List<HtmlInput<?>> inputs = this.getInputs();
List<HtmlInput<?>> result = new ArrayList<HtmlInput<?>>();
for (String fieldName : fieldNames)
{
if (!entity.getFields().contains(fieldName))
{
throw new RuntimeException(fieldName + " not known in " + this.getClass().getSimpleName());
}
for (HtmlInput<?> input : inputs)
{
// will this work always??
if (input.getName().equalsIgnoreCase(entity.getClass().getSimpleName() + "_" + fieldName))
{
result.add(input);
}
}
}