> Date: Tue, 26 Feb 2013 18:00:01 -0500 > From: John Robson <john.rob...@usp.br> > Message-ID: <kgjepd$h62$1...@ger.gmane.org> > > > Tks and sorry by my mistake. > > I guess now work... but Show Nothing. > > new > WText("<html><body><head><title>Title</title></head><h1>First</h1><h2>Second</h2><p>Paragraph</p></body></html>", > root()); // show nothing >
The opening <body> tag is at the wrong place. It should be after the </head> closing tag rather than after the <html> opening tag. > and this Just show text: > > WText* t = new > WText("<html><body><head><title>Title</title></head><h1>First</h1><h2>Second</h2><p>Paragraph</p></body></html>", > Wt::PlainText); // Just show text > root()->addWidget(t); > > > This is just an example, I want read an HTML file and embed in my page. > > John ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ witty-interest mailing list witty-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/witty-interest