chkal/pf-issue-test — Issue #67: Provide a way to manually trigger PrettyFaces navigation
Author: chkal
Created: 2012-03-06 07:27:52+00:00
State: open

Originally filed by **chkalt** on 2010-10-13T06:22:52

Google Code issue: http://code.google.com/p/prettyfaces/issues/detail?id=67

As discussed here:

http://groups.google.com/group/prettyfaces-dev/browse_thread/thread/e78245d27030713a

Example:

PrettyContext.getCurrentInstance().beginRedirect("mappingId").setPathParams (params).setQueryParams(params).setQueryParam(...,...).send();

Perhaps with the possibility to generate the URL instead of directly triggering the navigation:

String url = PrettyContext.getCurrentInstance().mapping("mappingId").pathParameter(value ).build();