5 Apr 2011 17:20
Re: Create an internal link
Hi Florian, You can do this with Wt's 'internal path API'. See http://www.webtoolkit.eu/wt/doc/reference/html/overview.html#urls_sec See also WApplication::setInternalPath() documentation WTabWidget has support for internal paths, read documentation of WTabWidget::setInternalPathEnabled(). To open a dialog, you'll have to implement the proper action by connecting a slot on WApplication::internalPathChanged() that opens the dialog when a particular path is accessed. If you only get a blank screen, you may have to enable progressive bootstrap in your wt_config.xml file: this first renders a full HTML version of the requested page that is later upgraded to an AJAX application, rather than starting with rendering a bootstrap page. BR, Wim. 2011/4/5 Florian Rausch <frausch@...>: > Hello, > > I created an application and I want to test it on different browsers. > There are some services out there providing screenshots of different systems > and browsers. > > But of course the application's url just shows the starting page, but I need > to go one click ahead to see the main interface. How can I get a link to get > there directly? > The main interface contains a WTabWidget, some of them providing a WDialog. > Is it also possible to specify a certain WTab and maybe open one of the > dialogs? > Thank you. > > > ------------------------------------------------------------------------------ > Xperia(TM) PLAY > It's a major breakthrough. An authentic gaming > smartphone on the nation's most reliable network. > And it wants your games. > http://p.sf.net/sfu/verizon-sfdev > _______________________________________________ > witty-interest mailing list > witty-interest@... > https://lists.sourceforge.net/lists/listinfo/witty-interest > > ------------------------------------------------------------------------------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev
RSS Feed