cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Konovalov <oleg...@yahoo.com>
Subject Re: Popups in Cocoon
Date Wed, 02 Nov 2005 15:53:25 GMT
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 <uv@odoko.co.uk> 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


Mime
View raw message