Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 66961 invoked from network); 14 Oct 2004 12:46:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 14 Oct 2004 12:46:40 -0000 Received: (qmail 5244 invoked by uid 500); 14 Oct 2004 12:46:27 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 5199 invoked by uid 500); 14 Oct 2004 12:46:27 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 5183 invoked by uid 99); 14 Oct 2004 12:46:27 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of ap-cocoon-users@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from [80.91.229.2] (HELO main.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 14 Oct 2004 05:46:26 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CI4zw-0000Jv-00 for ; Thu, 14 Oct 2004 14:46:24 +0200 Received: from 62.225.162.84 ([62.225.162.84]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 14 Oct 2004 14:46:24 +0200 Received: from jh by 62.225.162.84 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 14 Oct 2004 14:46:24 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: users@cocoon.apache.org From: Jorg Heymans Subject: Re: authentication framework and continuations Date: Thu, 14 Oct 2004 14:45:46 +0200 Lines: 99 Message-ID: References: <20041014124326.10208.qmail@web53310.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 62.225.162.84 User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en In-Reply-To: <20041014124326.10208.qmail@web53310.mail.yahoo.com> Sender: news X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N you would just do ...... Paul Joseph wrote: > Jorg, > > thank you very much. > > I will try this approach - just wasn't sure how to use > the tag in my template. > > Do I simpley do this anywhere reasonable in the > template: > > type="hidden"/> > > -hopefully, this will be my last question, sorry for > the bother and thanks for the help so far. > > rgds > Paul > --- Jorg Heymans wrote: > > >> >>Paul Joseph wrote: >> >>>1. So for this to work there is no need to use >>>encodeURL? I was under the impression that >> >>encodeURL >> >>>was needed as the auth framework created a session >>>behind the scenes. >> >>If the browser doesn't support cookies then the >>webapplication should >>rewrite or encode all URL's in the page to attach >>the sessionID to it. >>If your browser allows cookies then there is no need >>for this. The >>auth-framework or cocoon itself creates the session >>transparently. >> >> >>>2. How are you matching the *.continue i.e. >>> >>>If I use >>>>>pattern="continuation-id"> instead of >>> >>> >>>I get the following msg. >>> >>>org.apache.cocoon.ResourceNotFoundException: No >>>pipeline matched request: >>> >> > webtask/array/3b3639336a20303b2b63112f7046410573643157.continue > >>This is because this matcher uses the hidden input >>field i told you >>about earlier. Put in your >>form-template. You are >>seeing this error probably because your form action >>has still the >>continuation construct in it. Just set your form >>action to "". >> >>>pattern="continuation-id"> works >>just like a normal pipeline match, but acts on a >>requestparameter >>instead of an URL path. >> >> >>Regards >>Jorg >> >> >> > > --------------------------------------------------------------------- > >>To unsubscribe, e-mail: >>users-unsubscribe@cocoon.apache.org >>For additional commands, e-mail: >>users-help@cocoon.apache.org >> >> --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org