RE: Parameterised redirect?

Calvin Ling <[email protected]>
Newsgroups gmane.comp.web.maverick.general
Message-ID <[email protected]>
<view name="xxx" type="document" path="view-project.m?p=7"/> if 7 is fixed.

"Schnitzer, Jeff" <[email protected]> wrote:For view type "redirect", calling setParam("project", "7") on the
controller context will do it. If you're using a Throwaway-derived
controller:

this.getCtx().setParam("project", "7");

J2FF

> -----Original Message-----
> From: Kevin O'Neill [mailto:[email protected]]
> Sent: Monday, May 05, 2003 5:41 PM
> To: [email protected]
> Subject: [Mav-user] Parameterised redirect?
> 
> I have page that's accessed with a parameter,
"view-project.m?project=7"
> on the page I have another link to add a user to the project
> "adduser.m?project=7" that has a form that points to do-adduser with
the
> appropriate bits.
> 
> If successful I would like to redirect to "view-project.m?project=7"
but
> I'm not sure how to.
> 
> Any pointers?
> 
> -k.
> 
> --
> If you don't test then your code is only a collection of bugs which
> apparently behave like a working program.
> 
> Website: http://www.rocketred.com.au/blogs/kevin/
> 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> [INVALID FOOTER]



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
[INVALID FOOTER]

---------------------------------
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.