[Seaside] How to create a new browser window
Richard K Eng
richard.eng at rogers.com
Fri Oct 5 11:34:19 UTC 2007
Thanks. I've decided to dispense with the popup.
Popups annoy me, too. :-)
2007/10/4, Richard K Eng <richard.eng at rogers.com>:
> I am aware of popupAnchor but that's not exactly what I want to do. From
> within WATableReport, I don't have a html object and, at any rate, I don't
> want the user to have to click on an additional button or anchor. Clicking
> on the clickBlock of WATableReport should be enough to throw up a new
> browser window immediately.
Ce n'est pas si façile que ça.
The easiest way to go is probably to subclass WAReportColumn and
WATableReport. In your TableReport class override
#renderColumn:row:on: check if you're your special column class and if
yes do a #popupAnchor.
> So no one has a suggestion or workaround? Is it really that difficult to
> what I want? Seems to me, what I want to do must be a fairly common
No, popus tend to be used by users of other frameworks who do not have
#call: or replaceable components and tend to annoy users. That's one
of the reasons why target="_blank" was removed from HTML
More information about the seaside