Hi,
I wish to modify some Admin functionalities and for this, I opened with Eclipse pentaho-open-admin-console-3.8.0-stable-sources.jar in Pentaho Suite 3.8\administration-console\lib (Using Pentaho 3.8 CE).
After modifying and exporting to JAR file called pentaho-open-admin-console-3.8.0-stable.jar. I think I should see some changes, however it is not the case.
So, there are three possbilities:
- Changes are not well done
- Jetty server has some cache which "abort" my changes
- Eclipse doesn't compile correctly the JAR (weird)
For more information, I'm trying to hide "Home" button and make some changes in "Administration" page Sin título.jpg
To test the changes, I made this (on org.pentaho.pac.client.PentahoAdministrationConsole.java):
Is it enough to hide "Home" button?Code:AsyncCallback<String> homepageUrlcallback = new AsyncCallback<String>() { public void onSuccess(String result) { //adminConsoleMasterDetailsPanel.addPage(AdminConsolePageId.HOME_PAGE.ordinal(), Messages.getString("home"), new HomePanel(result)); //$NON-NLS-1$ adminConsoleMasterDetailsPanel.addPage(AdminConsolePageId.ADMIN_PAGE.ordinal(), Messages.getString("administration"), new AdministrationTabPanel()); //$NON-NLS-1$ adminConsoleMasterDetailsPanel.selectPage(AdminConsolePageId.ADMIN_PAGE.ordinal()); refresh(); } public void onFailure(Throwable caught) { //adminConsoleMasterDetailsPanel.addPage(AdminConsolePageId.HOME_PAGE.ordinal(), Messages.getString("home"), new HomePanel(DEFAULT_HOMEPAGE_URL)); //$NON-NLS-1$ adminConsoleMasterDetailsPanel.addPage(AdminConsolePageId.ADMIN_PAGE.ordinal(), Messages.getString("administration"), new AdministrationTabPanel()); //$NON-NLS-1$ adminConsoleMasterDetailsPanel.selectPage(AdminConsolePageId.ADMIN_PAGE.ordinal()); refresh(); } };
Thanks
Marc


Reply With Quote