mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
First-cut dynamic WebClient.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6663 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -224,7 +224,7 @@ public class DashboardWizard extends BaseWizardBean
|
||||
*/
|
||||
public List<SelectItem> getAllDashlets()
|
||||
{
|
||||
if (this.dashlets == null)
|
||||
if ((this.dashlets == null) || (Application.isDynamicConfig(FacesContext.getCurrentInstance())))
|
||||
{
|
||||
FacesContext fc = FacesContext.getCurrentInstance();
|
||||
DashboardsConfigElement config = DashboardManager.getDashboardConfig();
|
||||
@@ -282,7 +282,7 @@ public class DashboardWizard extends BaseWizardBean
|
||||
*/
|
||||
public List<UIDescription> getLayoutDescriptions()
|
||||
{
|
||||
if (this.layoutDescriptions == null)
|
||||
if ((this.layoutDescriptions == null) || (Application.isDynamicConfig(FacesContext.getCurrentInstance())))
|
||||
{
|
||||
buildLayoutValueLists();
|
||||
}
|
||||
@@ -294,7 +294,7 @@ public class DashboardWizard extends BaseWizardBean
|
||||
*/
|
||||
public List<UIListItem> getLayoutIcons()
|
||||
{
|
||||
if (this.layoutIcons == null)
|
||||
if ((this.layoutIcons == null) || (Application.isDynamicConfig(FacesContext.getCurrentInstance())))
|
||||
{
|
||||
buildLayoutValueLists();
|
||||
}
|
||||
|
Reference in New Issue
Block a user