<!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>&nbsp;</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&nbsp;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.&nbsp;&nbsp;</SPAN></FONT></DIV>
<DIV><FONT face="Trebuchet MS" color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face="Trebuchet MS"><FONT color=#0000ff><FONT 
size=2>html anchorWithPopupUrl: (html urlForAction: [WARenderLoop new 
call:&nbsp;<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>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>Now i have my application with master&nbsp;web 
  page&nbsp;for update data.</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>For create print document about the data&nbsp;i 
  open popup window from master with command:</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>&nbsp;A)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; html 
  script: 'window.open('ISTGstStampe' , 'Stampe' )</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>or:</FONT></DIV>
  <DIV><FONT face=Arial size=2>&nbsp;B)&nbsp;&nbsp;&nbsp; html 
  anchorWithPopupUrl : 'ISTGstStampe'</FONT></DIV>
  <DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; name: 
  'Stampe'<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; extent: <A 
  href="mailto:400@400">400@400</A><BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
  togllgles: #(resizable')<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; do: 'Lancio 
  stampa'.</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>where ISTGstStampe is a seaside application with 
  the task&nbsp;to create&nbsp;print preview about data.</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>Now i'm interest to pass argument ( for example : 
  anCollection&nbsp; about data to print&nbsp;) &nbsp;to ISTGstStampe for 
  management specif data to print. </FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</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>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>My question are:</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; how i can pass reference from 
  master web&nbsp;to slave page ?</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; if i open popup window with 
  method A) </FONT></DIV>
  <DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp; i can us javascript : 'referenceWindow.document.write (' 
  ....</FONT></DIV>
  <DIV><FONT face=Arial 
  size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp; with data from specific instance of ISTGstStampe 
  renderContentOn:&nbsp; .</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</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>&nbsp;</DIV></FONT></FONT></DIV></BLOCKQUOTE></BODY></HTML>