another newbea question

Hello RoR Developers,

I want to show content of csv output in new window something like; WO.openWindow(Csv.content, { width: 760, height: 650 })

when I click to button, new window will be opened with csv content.

note:this csv file won t be called from outside, it will be created in the same application.

thank you very much