<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16587" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV dir=ltr align=left><FONT face="Trebuchet MS" color=#0000ff size=2><SPAN
class=437560717-01022008>Dario,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Trebuchet MS" color=#0000ff size=2><SPAN
class=437560717-01022008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face="Trebuchet MS" color=#0000ff size=2><SPAN
class=437560717-01022008>If I am not mistaken, I believe the
following should open the popup with the same Seaside
session.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Trebuchet MS" color=#0000ff size=2><SPAN
class=437560717-01022008>Then your master can use the session object to pass
your collection to your slave. </SPAN></FONT></DIV>
<DIV><FONT face="Trebuchet MS" color=#0000ff size=2></FONT> </DIV>
<DIV dir=ltr align=left><FONT face="Trebuchet MS"><FONT color=#0000ff><FONT
size=2>html anchorWithPopupUrl: (html urlForAction: [WARenderLoop new
call: <SPAN class=437560717-01022008>YourSlave new])
...</SPAN></FONT></FONT></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Trebuchet MS"><FONT color=#0000ff><FONT
size=2><SPAN class=437560717-01022008></SPAN></FONT></FONT></FONT> </DIV>
<DIV dir=ltr align=left><FONT face="Trebuchet MS"><FONT color=#0000ff><FONT
size=2><SPAN class=437560717-01022008>HTH</SPAN></FONT></FONT></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Trebuchet MS"><FONT color=#0000ff><FONT
size=2><SPAN class=437560717-01022008>Michel.</SPAN></FONT></FONT></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Trebuchet MS" color=#0000ff
size=2></FONT> </DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B>
seaside-bounces@lists.squeakfoundation.org
[mailto:seaside-bounces@lists.squeakfoundation.org] <B>On Behalf Of </B>Dario
Trussardi<BR><B>Sent:</B> jeudi, 31. janvier 2008 18:48<BR><B>To:</B>
seaside@lists.squeakfoundation.org<BR><B>Subject:</B> [Seaside] Call Popup
window and management session data<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><FONT face=Arial size=2>Hi All,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>i work with seaside 2.6 and scriptaculos in
VisualWorks 7.4.1.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Now i have my application with master web
page for update data.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>For create print document about the data i
open popup window from master with command:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> A) html
script: 'window.open('ISTGstStampe' , 'Stampe' )</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>or:</FONT></DIV>
<DIV><FONT face=Arial size=2> B) html
anchorWithPopupUrl : 'ISTGstStampe'</FONT></DIV>
<DIV><FONT face=Arial size=2> name:
'Stampe'<BR> extent: <A
href="mailto:400@400">400@400</A><BR>
togllgles: #(resizable')<BR> do: 'Lancio
stampa'.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>where ISTGstStampe is a seaside application with
the task to create print preview about data.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Now i'm interest to pass argument ( for example :
anCollection about data to print ) to ISTGstStampe for
management specif data to print. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>But when open popup window it has specific
session, and i lose the data in the master window session.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>My question are:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> how i can pass reference from
master web to slave page ?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> if i open popup window with
method A) </FONT></DIV>
<DIV><FONT face=Arial size=2>
i can us javascript : 'referenceWindow.document.write ('
....</FONT></DIV>
<DIV><FONT face=Arial
size=2>
with data from specific instance of ISTGstStampe
renderContentOn: .</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>
<DIV><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><FONT
color=#000000>Any pointers would be greatly
appreciated!<BR><BR>Thanks!</FONT><BR></SPAN></DIV>
<DIV><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Dario</DIV></SPAN>
<DIV><FONT size=2><FONT face=Arial><FONT face="Trebuchet MS"
color=#0000ff></FONT> </DIV></FONT></FONT></DIV></BLOCKQUOTE></BODY></HTML>