You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Jamie Orchard-Hays <ja...@dang.com> on 2004/01/28 22:49:14 UTC

Re: RedirectException: SOLVED

We got the latest Tapestry code from head and the problem is gone...

Jamie


----- Original Message ----- 
From: "Jamie Orchard-Hays" <ja...@dang.com>
To: "Tapestry users" <ta...@jakarta.apache.org>
Sent: Wednesday, January 28, 2004 2:36 PM
Subject: Re: RedirectException


> So my question is, is there supposed to be any more processing of the page
> when a RedirectException is thrown, or am I seeing anomalous behavior?
>
> Jamie
> ----- Original Message ----- 
> From: "Jamie Orchard-Hays" <ja...@dang.com>
> To: "Tapestry users" <ta...@jakarta.apache.org>
> Sent: Wednesday, January 28, 2004 11:21 AM
> Subject: RedirectException
>
>
> > When I throw a RedirectException:
> >
> > throw new RedirectException(url);
> >
> > I expect page processing to stop and then to be redirected to the url
> passed
> > to the RedirectException. I'm getting exceptions on pages that have
Table
> > components (my preliminary analysis) and don't understand why anything
on
> > the page is being processed after I try to redirect. Here's some output:
> >
> > Jan 28, 2004 11:10:27 AM edu.darden.common.tapestry.Border logout
> > INFO: logging out user.
> > Jan 28, 2004 11:10:27 AM edu.darden.common.tapestry.Border logout
> > INFO: trying to invalidate session.
> > Jan 28, 2004 11:10:27 AM edu.darden.common.tapestry.Border logout
> > INFO: session invalidated.
> > Jan 28, 2004 11:10:27 AM edu.darden.common.tapestry.Border logout
> > INFO: throwing RedirectException to URL: /student/app?service=home
> > Jan 28, 2004 11:10:28 AM org.apache.tapestry.engine.AbstractEngine
> > reportExcept
> > on
> > WARNING: Unable to process client request.
> > org.apache.tapestry.ApplicationRuntimeException: Either the tableModel
> > paramete
> >  or both source and columns parameters must be specified by component
> > org.apach
> >
>
.tapestry.contrib.table.components.TableView$Enhance_215@1db3f6c[MeetingsSea
> > rch
> > resultsTable.tableElement.tableView]
> >         at
> > org.apache.tapestry.contrib.table.components.TableView.getTableModel
> > TableView.java:314)
> >         at
> > org.apache.tapestry.contrib.table.components.TableView.saveSessionSt
> > te(TableView.java:493)
> >         at
> > org.apache.tapestry.contrib.table.components.TableView.pageEndRender
> > TableView.java:483)
> >         at
> > org.apache.tapestry.AbstractPage.firePageEndRender(AbstractPage.java
> > 531)
> >         at
> > org.apache.tapestry.AbstractPage.renderPage(AbstractPage.java:345)
> >         at
> > org.apache.tapestry.engine.RequestCycle.rewindPage(RequestCycle.java
> > 549)
> >         at
> > org.apache.tapestry.engine.ActionService.service(ActionService.java:
> > 99)
> >         at
> > org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.jav
> > :913)
> >         at
> > org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.
> > ava:238)
> >         at
> > org.apache.tapestry.ApplicationServlet.doGet(ApplicationServlet.java
> > 199)
> >         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> >         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> >         at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
> >         at
> > jrun.servlet.security.StandardSecurityFilter.doFilter(StandardSecuri
> > yFilter.java:103)
> >         at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
> >         at
> > jrun.servlet.security.JSecurityCheckFilter.doFilter(JSecurityCheckFi
> > ter.java:70)
> >         at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
> >         at jrun.servlet.FilterChain.service(FilterChain.java:101)
> >         at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
> >         at
> > jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
> >         at
> > jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java
> > 226)
> >         at
> > jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java
> > 527)
> >         at
> jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)
> >         at
> > jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.
> > ava:451)
> >         at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
> >
> >
> > **********************************************************
> >
> >
> > Unable to process client request.
> >
> >
> >       Session id: ea302666071075235072140
> >   Client address: localhost
> >
> > Exceptions:
> >
> > org.apache.tapestry.ApplicationRuntimeException: Either the tableModel
> > paramete
> >  or both source and columns parameters must be specified by component
> > org.apach
> >
>
.tapestry.contrib.table.components.TableView$Enhance_215@1db3f6c[MeetingsSea
> > rch
> > resultsTable.tableElement.tableView]
> >
>
org.apache.tapestry.contrib.table.components.TableView.getTableModel(TableVi
> > ew.
> > ava:314)
> >
>
org.apache.tapestry.contrib.table.components.TableView.saveSessionState(Tabl
> > eVi
> > w.java:493)
> >
>
org.apache.tapestry.contrib.table.components.TableView.pageEndRender(TableVi
> > ew.
> > ava:483)
> >
org.apache.tapestry.AbstractPage.firePageEndRender(AbstractPage.java:531)
> > org.apache.tapestry.AbstractPage.renderPage(AbstractPage.java:345)
> >
org.apache.tapestry.engine.RequestCycle.rewindPage(RequestCycle.java:549)
> > org.apache.tapestry.engine.ActionService.service(ActionService.java:199)
> >
org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:913)
> >
>
org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:238
> > )
> >
org.apache.tapestry.ApplicationServlet.doGet(ApplicationServlet.java:199)
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
> >
>
jrun.servlet.security.StandardSecurityFilter.doFilter(StandardSecurityFilter
> > .ja
> > a:103)
> > jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
> >
>
jrun.servlet.security.JSecurityCheckFilter.doFilter(JSecurityCheckFilter.jav
> > a:7
> > )
> > jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
> > jrun.servlet.FilterChain.service(FilterChain.java:101)
> > jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
> > jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
> >
jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:226)
> >
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)
> > jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)
> >
>
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451
> > )
> > jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
> >
> > **********************************************************
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org