From 883b254bf1c45c35b2c6f4745800aae49e543806 Mon Sep 17 00:00:00 2001 From: Konstantin Krivopustov Date: Thu, 21 Feb 2013 06:42:26 +0000 Subject: [PATCH] Folders pane small improvements #PL-1874 --- .../core/src/com/haulmont/cuba/core/app/FoldersServiceBean.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/core/src/com/haulmont/cuba/core/app/FoldersServiceBean.java b/modules/core/src/com/haulmont/cuba/core/app/FoldersServiceBean.java index aa7b3747b2..03572f9ce2 100644 --- a/modules/core/src/com/haulmont/cuba/core/app/FoldersServiceBean.java +++ b/modules/core/src/com/haulmont/cuba/core/app/FoldersServiceBean.java @@ -155,6 +155,8 @@ public class FoldersServiceBean implements FoldersService { protected void loadFolderQuantity(Binding binding, AppFolder folder) { try { if (!StringUtils.isBlank(folder.getQuantityScript())) { + binding.setVariable("persistence", persistence); + binding.setVariable("metadata", metadata); String variable = "style"; binding.setVariable("folder", folder); binding.setVariable(variable, null);