Hi, Works at least with the test I created. Thanks.
Does this handle also the case when the resource updates, i.e. the resource generates new url? BR, Janne On 28.10.2010 13:09, Koen Deforche wrote: > Hey Janne, > > 2010/10/27 Janne Rönkkö<[email protected]>: >> Hi, >> >> The SSH tunnel worked with IE8 because IE8 set the zone to "Local Intranet" >> when I connected to localhost:8001. With IE7 the zone was still "Internet". >> With the local internet zone the automatic prompting for file save warnings >> is enabled so that is the reason for IE8 to work in that case. >> >> I attached the test program I'm using. There is three different buttons. >> clicked handler is the original one, the jslot button is using JSlot object >> that is member variable and JavaScript uses the connect( "function..." ). > Using your example, I can get IE7 to indicate that downloading the > file needs a confirmation (but I never see an application restart). > > With the following version of the App constructor, and using latest > git, I see no problems, however. Can you confirm that this version > works okay ? > > Regards > koen > > App::App( Wt::WEnvironment const& env ): > Wt::WApplication( env ), > res( 0 ) > { > res = new MyResource(); > > Wt::WPushButton* btn = new Wt::WPushButton( "Download" ); > root()->addWidget( btn ); > btn->setResource(res); > } > > ------------------------------------------------------------------------------ > Nokia and AT&T present the 2010 Calling All Innovators-North America contest > Create new apps& games for the Nokia N8 for consumers in U.S. and Canada > $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing > Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store > http://p.sf.net/sfu/nokia-dev2dev > _______________________________________________ > witty-interest mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/witty-interest ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
