List of usage examples for com.google.gwt.gwtpages.client PageRequestSession put
public <R> PageAttributes put(Class<R> context, R data)
From source file:com.google.gwt.gwtpages.demo.client.pages.NavigationPage.java
private void onTransientDataNavigation() { PageRequestSession session = new PageRequestSession(); session.put("foo", "this will not appear in the history token"); pages.goTo(PageConstants.PAGE_REQUEST_INFO, session) .addParameter("param1", "you can still add history parameters").execute(); }
From source file:com.google.gwt.gwtpages.demo.client.pages.NavigationPage.java
private void onCommandPassing() { PageRequestSession session = new PageRequestSession(); session.put(PageConstants.PARAM_BACK_TITLE, "Navigation").put(PageConstants.PARAM_BACK_COMMAND, pages.getLastCommand());// www .j a va2 s .com pages.goTo(PageConstants.PAGE_REQUEST_INFO, session).addParameter("param1", 12345).execute(); }