public ExcludesWindow(String id,MenuExcludeDefinition excludes, final WebMarkupContainer markUp)
{
super(id);
final String excludeName = excludes.getName();
this.excludes = new ExcludesDefinitionBean(excludes);
final Form menuform = new Form("menuForm");
menuform.add(new Label("namelabel",new ResourceModel("common.name")));
menuform.add(new TextField("nameField", new PropertyModel(this,
"excludes.name")));
menuform.add(new AjaxButton("save",new ResourceModel("common.save"),menuform)