[Seaside] new window

Leo De Marco leo at smalltalking.net
Thu Dec 2 05:13:58 CET 2004


Hi,

I have some stuff of my page, that I want to put into a new window, so it can be printed... But when I open the new window, all the components of the main page get into the new window... 

url := html urlForAction: [ self call: (ANewPage new model: aModel) ].
name := 'New Page'.
html attributes onSubmit: 'JavaScript:window.open(''',url,''',''',name,''');'.
html form: [html submitButtonWithText: 'Open new page'].

Is because of the session?
How can I make a new clean page?


Best regards,
  
Leo De Marco
leo at smalltalking.net
2004-12-02



More information about the Seaside mailing list