Hi.

I wrote codes to open a window linked to an HTML as follows:

  Wt::WPushButton* button = new Wt::WPushButton("Open", root());
  button->setLink("javascript:window.open('foo.html');void(0);");
  button->clicked().connect(textarea, &WFormWidget::setFocus);

This acts well mostly. 
But on Safari 4.1.3 of Mac OS X Tiger it shows "Object not found!".
On the location area of browser: 
http://.../myapp/javascript:window.open('foo.html'...

What should I do to avoid this problem?

Regards.
Isao Yasuda.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to