DWR

Allow specify page parameter for reverse ajax.

Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: 2.0.rc3
  • Fix Version/s: 4.0
  • Component/s: Engine
  • Description:
    Hide
    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");
    ...
    Show
    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"); ...

Activity

Hide
David Marginian added a comment - 08/Jan/10 5:41 AM

Can't you use Browser.withPage or Browser.withCurrentPage to accomplish this?

Show
David Marginian added a comment - 08/Jan/10 5:41 AM Can't you use Browser.withPage or Browser.withCurrentPage to accomplish this?

People

Dates

  • Created:
    10/Apr/07 2:33 PM
    Updated:
    08/Jan/10 5:41 AM