Skip to content

Commit

Permalink
LPS-114374 | LPS-111958 constructor first
Browse files Browse the repository at this point in the history
  • Loading branch information
brianchandotcom committed Jun 17, 2020
1 parent a6a727b commit 2016f7c
Showing 1 changed file with 5 additions and 5 deletions.
Expand Up @@ -53,6 +53,11 @@ public AppPortlet(
String portletName, boolean showFormView, boolean showTableView) {

_appBuilderApp = appBuilderApp;
_appDeploymentType = appDeploymentType;
_appName = appName;
_portletName = portletName;
_showFormView = showFormView;
_showTableView = showTableView;

Bundle bundle = FrameworkUtil.getBundle(AppPortlet.class);

Expand All @@ -61,11 +66,6 @@ public AppPortlet(
bundle.getBundleContext(), AppBuilderAppPortletTab.class,
"app.builder.app.tab.name");

_appDeploymentType = appDeploymentType;
_appName = appName;
_portletName = portletName;
_showFormView = showFormView;
_showTableView = showTableView;
_viewTemplate = showTableView ? "/view_entries.jsp" : "/edit_entry.jsp";
}

Expand Down

0 comments on commit 2016f7c

Please sign in to comment.