@Override
protected Component getComponentForProperty(String id, IModel itemModel,
Property<Parameter> property) {
Fragment f = new Fragment(id, "text", SQLViewAbstractPage.this);
TextField text = new TextField("text", property.getModel(itemModel));
text.setLabel(new ParamResourceModel("th." + property.getName(), SQLViewAbstractPage.this));
if(property == SQLViewParamProvider.NAME) {
text.setRequired(true);
} else if(property == SQLViewParamProvider.REGEXP) {
text.add(new RegexpValidator());
}