WAnchor *a = new WAnchor("", "text");

a->setRefInternalPath("LinkName");
a->clicked().connect(this, &WtApplication::clickLink);

void clickLink() {
.....
}


On 05/31/2011 07:23 PM, Georg Sauthoff wrote:
> Hi,
> 
> consider a Wt-Application which has some dynamic components (e.g. a
> formular) and some WViewWidget which produces some static html (and they
> are displayed as one long page).
> 
> The static html consists of several sections, named anchors and local
> links to that anchors, e.g. <a href="#sec1">...</a>...<a name="sec1"/>
> 
> How can I let the user click on a local link (and update/scroll the
> page window accordingly) without creating a new session?


------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to