public OptionsWindow(String id, MenuOptionsDefinition options, final WebMarkupContainer markUp)
{
super(id);
final String name = options.getOptions();
this.optionsDefinition = new OptionsDefinitionBean(options);
final Form menuform = new Form("menuForm");
menuform.add(new TextField("optionsField", new PropertyModel(this,
"optionsDefinition.options")));
menuform.add(new Label("optionLabel",new ResourceModel("menu.option")));
menuform.add(new TextField("depthField", new PropertyModel(this,