I don't know whether it's because I installed IE 7 cumulative patch 
recently.

If you run the following program, and click "click1" and "click2", the 
history entries (from newest to oldest) are:

Current Page
http://localhost:8080/cgi (that's my deployment location)
bhm

What's with this "bhm"?

If I click "click3" to go to Google and then go back, the entries become

Current Page
bhm

You can't go forward to Google and one history entry is erased.

FF and Safari are running correctly. Opera uses 
http://localhost:8080/cgi rather than "test" for its history entries' 
name but is otherwise OK.

#include <Wt/WApplication>
#include <Wt/WAnchor>
#include <Wt/WText>
using namespace Wt;

class Test: public WApplication{
public:
   Test(const WEnvironment&);
};

Test::Test(const WEnvironment& env): WApplication(env){
   setTitle("test");

   WAnchor *a = new WAnchor(root());
   a->setRefInternalPath("/1/");
   new WText("click1", a);

   a = new WAnchor(root());
   a->setRefInternalPath("/2/");
   new WText("click2", a);

   a = new WAnchor("http://www.google.com";, root());
   new WText("click3", a);
}

WApplication *createApplication(const WEnvironment& env){
   return new Test(env);
}

int main(int argc, char **argv){
   return WRun(argc, argv, &createApplication);
}


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to