Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 74085 invoked from network); 2 Nov 2005 15:53:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Nov 2005 15:53:58 -0000 Received: (qmail 98488 invoked by uid 500); 2 Nov 2005 15:53:51 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 98434 invoked by uid 500); 2 Nov 2005 15:53:51 -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 List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 98423 invoked by uid 99); 2 Nov 2005 15:53:51 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Nov 2005 07:53:51 -0800 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [209.191.68.156] (HELO web34707.mail.mud.yahoo.com) (209.191.68.156) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 02 Nov 2005 07:53:46 -0800 Received: (qmail 30485 invoked by uid 60001); 2 Nov 2005 15:53:25 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=yWCa6ZzYOUcnhe3cUwG/XSqajvuBWAI9WJzz9hUoUCycbM0olv6fXx3b4tOHsw3HVmAVF/IBwzJF75GcHpEpExappRaNTrsnwNF4B1LeBU95XFwgJ9Th4hPBQ+Kbrz6a0gFr9gd/6NHEs35oHkXBzWZ3FwwncDsQnP/EPfvLZ7E= ; Message-ID: <20051102155325.30483.qmail@web34707.mail.mud.yahoo.com> Received: from [208.204.252.140] by web34707.mail.mud.yahoo.com via HTTP; Wed, 02 Nov 2005 07:53:25 PST Date: Wed, 2 Nov 2005 07:53:25 -0800 (PST) From: Oleg Konovalov Subject: Re: Popups in Cocoon To: users@cocoon.apache.org In-Reply-To: <4367C89A.9070609@odoko.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Upayavira, Let me get that straight: you are saying that all popups are a HTML/Javascript thing (so I should start and close them using Javascript), but for having multiple SQL queries, you suggest using aggregation (sitemap aggregation?) to use multiple SQL queries in one popup ? Thank you, Oleg. --- Upayavira wrote: > Oleg Konovalov wrote: > > Hi, > > > > I am implementing enhancements to the existing Cocoon 2.0.4 > > project (sitemap actions, lots of xsl/xml, some Java). > > When customer clicks on some link, it's supposed to display > > a popup with data from several queries [no inserts/updates]. > > > > A few Cocoon newbie questions in that regard: > > 1) Is there any support for popups in Cocoon ? > > Cocoon is no different from anything else. Popups are an > HTML/Javascript > thing. > > > 2) How do you make sure that it can only displays 1 instance > > of that popup ? > > You open a new window with a name, and point new content at > that name. > > > 3) Is there a way to automatically close that popup > > when user moved out from that page ? > > Hmm. Not that sure. If there is, I'd doubt it'd work on all > browsers. > You'd need to use an onblur property and set it to > javascript:window.close() > > > 4) How do you get data from (multiple) SQL queries in popup > ? > > (normally in that app the queries are in XML, usually 1 per > > screen) > > Use aggregation to join two or more XML SQL queries into one > file? > > Regards, Upayavira > > --------------------------------------------------------------------- > 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