Return-Path: Delivered-To: apmail-perl-embperl-archive@www.apache.org Received: (qmail 12185 invoked from network); 7 Jun 2007 01:51:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Jun 2007 01:51:02 -0000 Received: (qmail 85876 invoked by uid 500); 7 Jun 2007 01:51:05 -0000 Delivered-To: apmail-perl-embperl-archive@perl.apache.org Received: (qmail 85861 invoked by uid 500); 7 Jun 2007 01:51:05 -0000 Mailing-List: contact embperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list embperl@perl.apache.org Received: (qmail 85849 invoked by uid 99); 7 Jun 2007 01:51:05 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jun 2007 18:51:05 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [202.168.39.44] (HELO jess.oriel.com.au) (202.168.39.44) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jun 2007 18:51:00 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Subject: RE: equivalent of [$ hidden $] for links? Date: Thu, 7 Jun 2007 11:50:49 +1000 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: equivalent of [$ hidden $] for links? Thread-Index: AceobjwLn4xhYO1HT3K976eV8L4qqAANfcCA References: <8d0b863b0706061210l41b09a1mf7566e47d0de1ad1@mail.gmail.com> From: "Andrew O'Brien" To: X-Virus-Checked: Checked by ClamAV on apache.org Hi Michael, > [$ hidden $] is very handy for making sure form variables get passed > from one page to another, but is there anything similar for links? >=20 > That is to say, if the url is >=20 > page.epl?param1=3Dx¶m2=3Dy >=20 > and I have a link on a page in which I also want to include param1 and > param2 ... >=20 > say >=20 > in which I also want to pass param1 and param2, is there simple way to > do it, such that any parameters not included in this link are > inherited? I can't think of a way off the top of my head but I'm not a heavy user of 2.x (most of my production stuff still runs 1.3x!). There is a shortcut that might help you keep track of things: Or, depending on what you wanted to override and pass through: [# process fdat, perform form actions and delete items that you know are not pure content (eg submit button values etc) from fdat here. Or stick them in another hash. Whatever works for your page logic. #] 'z'' } +]"> Like I said, there may well be a way overriding some of the Embperl syntax stuff but the above is perhaps clearer. Well, to me anyway :) Cheers, Andrew --------------------------------------------------------------------- To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org For additional commands, e-mail: embperl-help@perl.apache.org