[Seaside] Popup window

Pablo Iaría iariap at tutopia.com
Wed Oct 15 16:50:53 CEST 2003


Hi all,

     I'd like to open a popup window to show some component. 

As an example, I modified the code in the WAStoreItemList:

<code>
renderContentOn: html 
      html
           list: batcher batch
            do: [:ea | 
	html attributes target: '_new'.
	html anchorWithUrl: (html urlForAction: [self call: (WAStoreItemView new item: ea)])
		title: ea title
		do: ea title].
html render: batcher
</code>

Then, when a click an item a new window is opened but it shows other compoenents (not only WAStoreItemView).

Is there a way to open the new window with only the WAStoreItemView component  ?

Thanks in advance,
     Pablo.-




More information about the Seaside mailing list