[Rt-devel] manual redirect

Todd Chapman todd at chaka.net
Thu Jan 5 00:01:17 EST 2006


On Thu, Jan 05, 2006 at 03:52:39PM +1100, Jens Porup wrote:
> On Wed, Jan 04, 2006 at 11:35:24PM -0500, Todd Chapman wrote:
> > On Thu, Jan 05, 2006 at 03:10:32PM +1100, Jens Porup wrote:
> > > 
> > > Greetings.
> > > 
> > > What is the idiomatic RT/Mason way to do redirects? 
> > > 
> > > I have a small component I've added to the ShowSummary page, and I want
> > > to post a form back to that component, and then redirect to the
> > > ShowSummary page.
> > > 
> > > (This is to avoid having to put the form on a separate page, which would
> > > solve the problem, I realise, but that's not what the boss wants.)
> > > 
> > > Thanks,
> > > 
> > > Jens 
> > 
> > http://www.masonhq.com/docs/manual/Request.html
> > 
> > Search for "redirect"
> 
> Thanks, Todd.
> 
> But from grepping I notice that RT does not seem to use the $m
> object directly. Is there some sort of abstraction layer here?
> 
> If so, how does this affect my ability to get the $m object,
> and call a redirect using it?
> 

It's always available from a Mason component.


More information about the Rt-devel mailing list