Details
Description
Hi,
I encountered a problem on redirect to an URI which contains white-space.
This is the navigation rule in faces-confing.xml:
<navigation-case>
<from-outcome>naviga</from-outcome>
<to-view-id>/name with space.iface</to-view-id>
<redirect/>
</navigation-case>
And this is the stack-trace:
java.lang.IllegalArgumentException
java.net.URI.create(URI.java:842)
com.icesoft.faces.context.BridgeExternalContext.redirect(BridgeExternalContext.java:324)
com.sun.faces.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:122)
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:89)
javax.faces.component.UICommand.broadcast(UICommand.java:312)
javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:267)
javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:381)
com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:75)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:17)
com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.renderCycle(ReceiveSendUpdates.java:54)
com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.service(ReceiveSendUpdates.java:42)
com.icesoft.faces.webapp.http.core.ViewBoundServer.service(ViewBoundServer.java:65)
com.icesoft.faces.webapp.http.core.RequestVerifier.service(RequestVerifier.java:44)
com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer$Matcher.serviceOnMatch(PathDispatcherServer.java:50)
com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:19)
com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet.service(ThreadBlockingAdaptingServlet.java:19)
com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.service(EnvironmentAdaptingServlet.java:63)
com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:139)
com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:53)
com.icesoft.faces.webapp.http.servlet.PathDispatcher$Matcher.serviceOnMatch(PathDispatcher.java:52)
com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:29)
com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:82)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
com.icesoft.faces.webapp.xmlhttp.BlockingServlet.service(BlockingServlet.java:46
NOTE: This works fine with ICEfaces 1.5.3 and also in a standard JSF application.
I encountered a problem on redirect to an URI which contains white-space.
This is the navigation rule in faces-confing.xml:
<navigation-case>
<from-outcome>naviga</from-outcome>
<to-view-id>/name with space.iface</to-view-id>
<redirect/>
</navigation-case>
And this is the stack-trace:
java.lang.IllegalArgumentException
java.net.URI.create(URI.java:842)
com.icesoft.faces.context.BridgeExternalContext.redirect(BridgeExternalContext.java:324)
com.sun.faces.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:122)
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:89)
javax.faces.component.UICommand.broadcast(UICommand.java:312)
javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:267)
javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:381)
com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:75)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:17)
com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.renderCycle(ReceiveSendUpdates.java:54)
com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.service(ReceiveSendUpdates.java:42)
com.icesoft.faces.webapp.http.core.ViewBoundServer.service(ViewBoundServer.java:65)
com.icesoft.faces.webapp.http.core.RequestVerifier.service(RequestVerifier.java:44)
com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer$Matcher.serviceOnMatch(PathDispatcherServer.java:50)
com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:19)
com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet.service(ThreadBlockingAdaptingServlet.java:19)
com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.service(EnvironmentAdaptingServlet.java:63)
com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:139)
com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:53)
com.icesoft.faces.webapp.http.servlet.PathDispatcher$Matcher.serviceOnMatch(PathDispatcher.java:52)
com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:29)
com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:82)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
com.icesoft.faces.webapp.xmlhttp.BlockingServlet.service(BlockingServlet.java:46
NOTE: This works fine with ICEfaces 1.5.3 and also in a standard JSF application.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion