Hey Dmitriy, look at this:

Example: http://wt.zyns.com:10100/

Code: https://gitorious.org/wt/tests/blobs/master/WStackedWidget/test.cpp

My problem is somewhat similar to the Dave problem, in my case I'm
loading some Deferred Pages in WStackedWidget and WMenu.

I would like to know how do I update them every time I click on the link
(or click in back button), please, view example and source.

Thank you,
John

On 06/19/2011 01:00 PM, Dmitriy Igrishin wrote:
> Hey Dave,
> 
> 2011/6/18 cypherpu <[email protected]
> <mailto:[email protected]>>
> 
>     I am using a WMenu with my own itemSelected signal callback. I can
>     select
>     different items from my WMenu correctly. However, when I use the
>     browser "back"
>     button, my item selection is not updated. I inherited my own MyWMenu
>     from WMenu,
>     and can confirm that internalPathChanged is being called (of course,
>     I then call
>     WMenu::internalPathChanged). I looked at WMenu.C, and saw
> 
>     void WMenu::itemPathChanged(WMenuItem *item)
>     {
>     Â if (internalPathEnabled_) {
>     Â  Â WApplication *app = wApp;
> 
>     Â  Â if (app->internalPathMatches(basePath_ + item->pathComponent()))
>     Â  Â  Â select(indexOf(item), false);
>     Â }
>     }
> 
>     Should the last line be
> 
>     Â  Â  Â select(indexOf(item), true);
> 
>     ?
> 
>     Please forgive me if my understanding of internal paths is incorrect.
> 
> Can you post a simple test case ?
> 
> 
>     -Dave
> 
> 
>     
> ------------------------------------------------------------------------------
>     EditLive Enterprise is the world's most technically advanced content
>     authoring tool. Experience the power of Track Changes, Inline Image
>     Editing and ensure content is compliant with Accessibility Checking.
>     http://p.sf.net/sfu/ephox-dev2dev
>     _______________________________________________
>     witty-interest mailing list
>     [email protected]
>     <mailto:[email protected]>
>     https://lists.sourceforge.net/lists/listinfo/witty-interest
> 
> 
> 
> 
> -- 
> // Dmitriy.
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> EditLive Enterprise is the world's most technically advanced content
> authoring tool. Experience the power of Track Changes, Inline Image
> Editing and ensure content is compliant with Accessibility Checking.
> http://p.sf.net/sfu/ephox-dev2dev
> 
> 
> 
> _______________________________________________
> witty-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/witty-interest



------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to