It would be nice if it were possible to specify 'page' parameter for reverse ajax (which at the moment is window.location.pathname)
So that we could set:
/a/b/c.html -> fooPage
/d/e/f.jsp -> fooPage
and then use in server java code like this:
...
Collection sessions = wctx.getScriptSessionsByPage("fooPage");
...
It would be nice if it were possible to specify 'page' parameter for reverse ajax (which at the moment is window.location.pathname)
So that we could set:
/a/b/c.html -> fooPage
/d/e/f.jsp -> fooPage
and then use in server java code like this:
...
Collection sessions = wctx.getScriptSessionsByPage("fooPage");
...
Can't you use Browser.withPage or Browser.withCurrentPage to accomplish this?