public EditButtonPanel(String id, final RuleModel ruleModel) { super(id); this.setOutputMarkupId(true); ImageAjaxLink<Object> editLink = new ImageAjaxLink<Object>( "edit", new PackageResourceReference(getClass(), "img/edit.png")) { @Override protected void onClick(AjaxRequestTarget target) { setResponsePage(new ParamsExtractorRulePage(Optional.of(ruleModel))); } }; editLink.getImage() .add( new AttributeModifier( "alt", new ParamResourceModel( "ParamsExtractorConfigPage.edit", editLink))); editLink.setOutputMarkupId(true); add(editLink); } }
upLink.setOutputMarkupId(true); add( upLink); downLink.setOutputMarkupId(true); add( downLink);
upLink.setOutputMarkupId(true); add( upLink); downLink.setOutputMarkupId(true); add( downLink);
"alt", new ParamResourceModel("GeofenceServerPage.up", upLink))); upLink.setOutputMarkupId(true); add(upLink); "alt", new ParamResourceModel("GeofenceServerPage.down", downLink))); downLink.setOutputMarkupId(true); add(downLink); "alt", new ParamResourceModel("GeofenceServerPage.edit", editLink))); editLink.setOutputMarkupId(true); add(editLink);
upLink.setOutputMarkupId(true); add(upLink); downLink.getImage() .add(new AttributeModifier("alt", new ParamResourceModel("down", downLink))); downLink.setOutputMarkupId(true); add(downLink);
"alt", new ParamResourceModel("GeofenceServerAdminPage.up", upLink))); upLink.setOutputMarkupId(true); add(upLink); new ParamResourceModel( "GeofenceServerAdminPage.down", downLink))); downLink.setOutputMarkupId(true); add(downLink); new ParamResourceModel( "GeofenceServerAdminPage.edit", editLink))); editLink.setOutputMarkupId(true); add(editLink);
new ParamResourceModel( "SecurityFilterChainsPanel.th.up", upLink))); upLink.setOutputMarkupId(true); add(upLink); new ParamResourceModel( "SecurityFilterChainsPanel.th.down", downLink))); downLink.setOutputMarkupId(true); add(downLink);