[SYNCOPE-1042] fixes localization method
Project: http://git-wip-us.apache.org/repos/asf/syncope/repo Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/d268c1ec Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/d268c1ec Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/d268c1ec Branch: refs/heads/master Commit: d268c1ec5c281d105e2d257e60d0677362733e0b Parents: d7c848c Author: fmartelli <fabio.marte...@gmail.com> Authored: Tue Mar 7 16:30:57 2017 +0100 Committer: fmartelli <fabio.marte...@gmail.com> Committed: Tue Mar 7 16:31:29 2017 +0100 ---------------------------------------------------------------------- .../client/console/tasks/ExecutionsDirectoryPanel.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/syncope/blob/d268c1ec/client/console/src/main/java/org/apache/syncope/client/console/tasks/ExecutionsDirectoryPanel.java ---------------------------------------------------------------------- diff --git a/client/console/src/main/java/org/apache/syncope/client/console/tasks/ExecutionsDirectoryPanel.java b/client/console/src/main/java/org/apache/syncope/client/console/tasks/ExecutionsDirectoryPanel.java index 4daa2a7..485ee28 100644 --- a/client/console/src/main/java/org/apache/syncope/client/console/tasks/ExecutionsDirectoryPanel.java +++ b/client/console/src/main/java/org/apache/syncope/client/console/tasks/ExecutionsDirectoryPanel.java @@ -88,7 +88,7 @@ public abstract class ExecutionsDirectoryPanel this.key = key; initResultTable(); } - + @Override protected void resultTableCustomChanges(final AjaxDataTablePanel.Builder<ExecTO, String> resultTableBuilder) { resultTableBuilder.setMultiLevelPanel(baseModal, multiLevelPanelRef); @@ -100,13 +100,13 @@ public abstract class ExecutionsDirectoryPanel protected List<IColumn<ExecTO, String>> getColumns() { final List<IColumn<ExecTO, String>> columns = new ArrayList<>(); - columns.add(new KeyPropertyColumn<ExecTO>(new ResourceModel("key"), "key", "key")); + columns.add(new KeyPropertyColumn<ExecTO>(new StringResourceModel("key", this), "key", "key")); - columns.add(new DatePropertyColumn<ExecTO>(new ResourceModel("start"), "start", "start")); + columns.add(new DatePropertyColumn<ExecTO>(new StringResourceModel("start", this), "start", "start")); - columns.add(new DatePropertyColumn<ExecTO>(new ResourceModel("end"), "end", "end")); + columns.add(new DatePropertyColumn<ExecTO>(new StringResourceModel("end", this), "end", "end")); - columns.add(new PropertyColumn<ExecTO, String>(new ResourceModel("status"), "status", "status")); + columns.add(new PropertyColumn<ExecTO, String>(new StringResourceModel("status", this), "status", "status")); columns.add(new ActionColumn<ExecTO, String>(new ResourceModel("actions")) {