public class StaticNavigationHandler extends Object
Also handle some hot reload cases, by parsing the main faces-config.xml file.
Constructor and Description |
---|
StaticNavigationHandler(javax.servlet.ServletContext context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
Modifier and Type | Method and Description |
---|---|
protected static org.dom4j.Element |
getDocumentRoot(InputStream stream)
Gets the root element of the document.
|
String |
getOutcomeFromViewId(String viewId) |
String |
getViewIdFromOutcome(String outcome) |
protected void |
handleHotReloadResources(javax.servlet.ServletContext context)
XXX hack: add manual parsing of the main faces-config.xml file navigation cases, to handle hot reload and work
around the JSF application cache.
|
protected void |
parse(InputStream stream) |
public StaticNavigationHandler(javax.servlet.ServletContext context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
public String getOutcomeFromViewId(String viewId)
public String getViewIdFromOutcome(String outcome)
protected void handleHotReloadResources(javax.servlet.ServletContext context)
TODO: try to reset and rebuild the app navigation cases by reflection, if it works...
protected void parse(InputStream stream)
protected static org.dom4j.Element getDocumentRoot(InputStream stream)
Copyright © 2017 Nuxeo. All rights reserved.