Return-Path: Delivered-To: apmail-incubator-click-dev-archive@minotaur.apache.org Received: (qmail 85140 invoked from network); 27 Apr 2009 15:22:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Apr 2009 15:22:54 -0000 Received: (qmail 81020 invoked by uid 500); 27 Apr 2009 15:22:54 -0000 Delivered-To: apmail-incubator-click-dev-archive@incubator.apache.org Received: (qmail 80995 invoked by uid 500); 27 Apr 2009 15:22:54 -0000 Mailing-List: contact click-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: click-dev@incubator.apache.org Delivered-To: mailing list click-dev@incubator.apache.org Received: (qmail 80987 invoked by uid 99); 27 Apr 2009 15:22:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Apr 2009 15:22:54 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Apr 2009 15:22:52 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6E732234C003 for ; Mon, 27 Apr 2009 08:22:30 -0700 (PDT) Message-ID: <1177384617.1240845750439.JavaMail.jira@brutus> Date: Mon, 27 Apr 2009 08:22:30 -0700 (PDT) From: "Adrian A. (JIRA)" To: click-dev@incubator.apache.org Subject: [jira] Updated: (CLK-536) setRedirect() to support parameters too. In-Reply-To: <739756247.1240781490595.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CLK-536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adrian A. updated CLK-536: -------------------------- Attachment: setRedirect_with_params.diff Here's a small patch that I use when I need redirect with parameters. > setRedirect() to support parameters too. > ---------------------------------------- > > Key: CLK-536 > URL: https://issues.apache.org/jira/browse/CLK-536 > Project: Click > Issue Type: New Feature > Reporter: Joseph Schmidt > Attachments: setRedirect_with_params.diff > > > Please extend the setRedirect() methods to support parameters too. > Right now it is possible to use parameters only by manually creating the redirect location(and using the String version of the method). This is however very error prone. > Please extend the two existing methods: > setRedirect(String location) and > setRedirect(Class pageClass) > with a "params" parameter, e.g. > setRedirect(String location, Map params) and > setRedirect(Class pageClass, Map params > to work for the very required case when the destination requires parameters. > thanks, > Joseph. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.