[Seaside] Call Popup window and management session data

Dario Trussardi dtrussardi at tiscali.it
Thu Jan 31 17:48:14 UTC 2008


Hi All,

i work with seaside 2.6 and scriptaculos in VisualWorks 7.4.1.

Now i have my application with master web page for update data.

For create print document about the data i open popup window from master with command:

 A)      html script: 'window.open('ISTGstStampe' , 'Stampe' )

or:
 B)    html anchorWithPopupUrl : 'ISTGstStampe'
        name: 'Stampe'
        extent: 400 at 400
        togllgles: #(resizable')
        do: 'Lancio stampa'.

where ISTGstStampe is a seaside application with the task to create print preview about data.

Now i'm interest to pass argument ( for example : anCollection  about data to print )  to ISTGstStampe for management specif data to print. 

But when open popup window it has specific session, and i lose the data in the master window session.

My question are:

    how i can pass reference from master web to slave page ?

    if i open popup window with method A) 
            i can us javascript : 'referenceWindow.document.write (' ....
                                                                                                with data from specific instance of ISTGstStampe renderContentOn:  .

Any pointers would be greatly appreciated!

Thanks!

Dario
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20080131/e7f21669/attachment.htm


More information about the seaside mailing list