Return-Path: Delivered-To: apmail-roller-user-archive@www.apache.org Received: (qmail 98416 invoked from network); 31 Aug 2007 19:54:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 Aug 2007 19:54:54 -0000 Received: (qmail 51837 invoked by uid 500); 31 Aug 2007 19:54:49 -0000 Delivered-To: apmail-roller-user-archive@roller.apache.org Received: (qmail 51805 invoked by uid 500); 31 Aug 2007 19:54:49 -0000 Mailing-List: contact user-help@roller.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@roller.apache.org Delivered-To: mailing list user@roller.apache.org Received: (qmail 51795 invoked by uid 99); 31 Aug 2007 19:54:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Aug 2007 12:54:48 -0700 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=HS_INDEX_PARAM,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of snoopdave@gmail.com designates 66.249.82.227 as permitted sender) Received: from [66.249.82.227] (HELO wx-out-0506.google.com) (66.249.82.227) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Aug 2007 19:54:42 +0000 Received: by wx-out-0506.google.com with SMTP id t16so796978wxc for ; Fri, 31 Aug 2007 12:54:21 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=T+BcdUbguPSqL/+0skDOKpbje86fK0MjxSp9UF7zUgoiQDUwCAuNGNZL10giqeDb90C4TvEk9ugWyLXcSkUqbEkDoPCk0nP5Wv/aCbJ2xbYATYBM1DY/bljdLYX1+n0CVTyHUmscYlqn+15c0V59ls/g3nP2Mfye54rV2zjmDgQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ahvWyh9VonO7NK8+kxpD/iY5xNGYaR6w9DsF8yiGnrjR/iizN2EATAd1hXRtRvEoWkg2ZVdeWksm0ZDgLzTBxohMhPiIXC+4ui93Hwy9nBRqsx8M7dDjd2YVdjB8mu9L9KDNsZgBKPnqzZkdozqaBMxA1MTJV0VFgFxm0OV0hC0= Received: by 10.90.105.20 with SMTP id d20mr2546138agc.1188590061116; Fri, 31 Aug 2007 12:54:21 -0700 (PDT) Received: by 10.90.53.9 with HTTP; Fri, 31 Aug 2007 12:54:21 -0700 (PDT) Message-ID: <8fb9ac720708311254m6d678052k5ad7ef9f68d99a6d@mail.gmail.com> Date: Fri, 31 Aug 2007 15:54:21 -0400 From: Dave To: user@roller.apache.org Subject: Re: Open comments of a post in a popup window In-Reply-To: <4cd85f000708311229w2cf459b9o40bc6e250d61a35e@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4cd85f000708301210m245b63edmd1f1900d1591b6f1@mail.gmail.com> <8fb9ac720708310750s230dd025t39105af42282845d@mail.gmail.com> <4cd85f000708311147s2845bb0bme313db9c54c22aea@mail.gmail.com> <8fb9ac720708311206o5a09c1e2vc68a11e5a95cad5f@mail.gmail.com> <4cd85f000708311229w2cf459b9o40bc6e250d61a35e@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org The second form is correct, but you don't need the quotes. If I create a custom page with this content: $model.getRequestParameter("test") And then call that with this URL: http://localhost:8080/roller/daveblog/page/params?test=foo I see this in the browser: foo - Dave On 8/31/07, Wladimir Boton wrote: > Sorry, but How I send a request parameter to a template page? > I've tried: > > http://localhost:8084/roller/wboton/page/comentarios/anchor="teste" > http://localhost:8084/roller/wboton/page/comentarios?anchor="teste" > http://localhost:8084/roller/wboton/page/comentarios/?anchor="teste" > http://localhost:8084/roller/wboton/page/comentarios/anchor/teste > > None of them worked. > > On 8/31/07, Dave wrote: > > > > Use a request parameter to pass the entry's anchor and then in the comment > > page: > > > > #set($anchor = $model.getRequestParameter("anchor")) > > #set($entry = $model.weblog.getEntry($anchor)) > > > > - Dave > > > > > > On 8/31/07, Wladimir Boton wrote: > > > I've created a new template called "comentarios" > > > > > > http://localhost:8084/roller/wboton/page/comentarios > > > > > > that has only: > > > > > >

My blog is named $model.weblog.name

> > > #showWeblogEntryComments($entry) > > > > > > > > > How I send the $entry I want to the popup window? > > > > > > > > > > > > On 8/31/07, Dave wrote: > > > > > > > > On 8/30/07, Wladimir Boton wrote: > > > > > Is it possible to open all comments of a post in a new window > > (popup)? > > > > > > > > > > We don't want that when the user click on the "Comments ( 2 )" link > > open > > > > the > > > > > post with all its comments. We want that it opens a popup listing > > all > > > > > comments to the post. > > > > > > > > That is not possible without writing some template code. You'll need > > > > to create a custom page just for displaying comments and modify your > > > > blog templates to launch that page as a popup. > > > > > > > > Check the template author guide for more information about template > > > > programming: > > > > > > > > > > http://cwiki.apache.org/confluence/display/ROLLER/Roller+User+Documentation > > > > > > > > - Dave > > > > > > > > > > > > > > > > -- > > > Wladimir Boton > > > http://www.wboton.com > > > > > > > > > -- > Wladimir Boton > http://www.wboton.com >