Fix regression introduced in c05150b234
Most pages only handled entry points through a bookmark change. Now they handle requests with matrix parameters too. FEA: ItEr74S04BugFixing
This commit is contained in:
parent
0dfea240ee
commit
086c1891dd
8 changed files with 14 additions and 7 deletions
|
|
@ -373,6 +373,8 @@ public class Planner extends HtmlMacroComponent {
|
|||
|
||||
this.visibleChart = configuration.isExpandPlanningViewCharts();
|
||||
((South) getFellow("graphics")).setOpen(this.visibleChart);
|
||||
|
||||
newContext.getDiagramGraph().enforceAllRestrictions();
|
||||
}
|
||||
|
||||
private void resettingPreviousComponentsToNull() {
|
||||
|
|
|
|||
|
|
@ -303,7 +303,12 @@ public class URLHandler<T> {
|
|||
return false;
|
||||
}
|
||||
|
||||
public <S extends T> void registerListener(final S controller, Page page) {
|
||||
public <S extends T> void register(final S controller, Page page) {
|
||||
registerBookmarkListener(controller, page);
|
||||
applyIfMatches(controller);
|
||||
}
|
||||
|
||||
public <S extends T> void registerBookmarkListener(final S controller, Page page) {
|
||||
page.addEventListener("onBookmarkChange", new EventListener() {
|
||||
|
||||
@Override
|
||||
|
|
|
|||
|
|
@ -379,7 +379,7 @@ public class MultipleTabsPlannerController implements Composer,
|
|||
goToCompanyScheduling();
|
||||
planningTab.toggleToFeedback();
|
||||
}
|
||||
handler.registerListener(this, comp.getPage());
|
||||
handler.registerBookmarkListener(this, comp.getPage());
|
||||
}
|
||||
|
||||
private TabsRegistry getTabsRegistry() {
|
||||
|
|
|
|||
|
|
@ -338,7 +338,7 @@ public class WorkerCRUDController extends GenericForwardComposer implements
|
|||
|
||||
final URLHandler<IWorkerCRUDControllerEntryPoints> handler = URLHandlerRegistry
|
||||
.getRedirectorFor(IWorkerCRUDControllerEntryPoints.class);
|
||||
handler.registerListener(this, page);
|
||||
handler.register(this, page);
|
||||
getVisibility().showOnly(listWindow);
|
||||
initFilterComponent();
|
||||
setupFilterLimitingResourceListbox();
|
||||
|
|
|
|||
|
|
@ -267,7 +267,7 @@ public class OrderTemplatesController extends GenericForwardComposer implements
|
|||
|
||||
final URLHandler<IOrderTemplatesControllerEntryPoints> handler = handlerRegistry
|
||||
.getRedirectorFor(IOrderTemplatesControllerEntryPoints.class);
|
||||
handler.registerListener(this, page);
|
||||
handler.register(this, page);
|
||||
|
||||
setBreadcrumbs(comp);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -86,7 +86,7 @@ public class UserCRUDController extends GenericForwardComposer implements
|
|||
|
||||
final URLHandler<IUserCRUDController> handler = URLHandlerRegistry
|
||||
.getRedirectorFor(IUserCRUDController.class);
|
||||
handler.registerListener(this, page);
|
||||
handler.register(this, page);
|
||||
|
||||
getVisibility().showOnly(listWindow);
|
||||
passwordBox = (Textbox) createWindow.getFellowIfAny("password");
|
||||
|
|
|
|||
|
|
@ -173,7 +173,7 @@ public class WorkReportCRUDController extends GenericForwardComposer implements
|
|||
comp.setVariable("controller", this, true);
|
||||
final URLHandler<IWorkReportCRUDControllerEntryPoints> handler = URLHandlerRegistry
|
||||
.getRedirectorFor(IWorkReportCRUDControllerEntryPoints.class);
|
||||
handler.registerListener(this, page);
|
||||
handler.register(this, page);
|
||||
initCurrentList();
|
||||
if(listType != null) {
|
||||
//listType is null in reports -> work report lines
|
||||
|
|
|
|||
|
|
@ -141,7 +141,7 @@ public class WorkReportTypeCRUDController extends GenericForwardComposer
|
|||
comp.setVariable("controller", this, true);
|
||||
final URLHandler<IWorkReportTypeCRUDControllerEntryPoints> handler = URLHandlerRegistry
|
||||
.getRedirectorFor(IWorkReportTypeCRUDControllerEntryPoints.class);
|
||||
handler.registerListener(this, page);
|
||||
handler.register(this, page);
|
||||
getVisibility().showOnly(listWindow);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue