Hello, the problem occures with IE6, 8 and 9. The browsers Thunderbird and Chrom works as expected. WTreeNode::label()->clicked() instead of WTreeNode::selected() cause the same error. I also tried to connect my callback with the signals 'expended' or 'collapsed' with works fine with IE (without JS).
Any ideas? Thanks in advance, Sven -----Ursprüngliche Nachricht----- Von: Koen Deforche [mailto:[email protected]] Gesendet: Freitag, 1. Oktober 2010 13:24 An: [email protected] Betreff: Re: [Wt-interest] WTreeNode selected with html Hey Sven, 2010/9/30 Knoblich Sven <[email protected]>: > Hello, > I have a problem with the WTreeNode selected event. > > MyNode->selected().connect( boost::bind( &MyClass::OnClicked, > MyNode->MyClassObject)); > > When i use this event without JScript a click doesn't call my callback. When > i get the JS code, all works as expected. > > Message during the html-call ('ALL' is the Node): > [2010-Sep-30 13:56:01.801410] 8536 [/domain 6g6H1tSgx066Hy6V] [error] > "decodeSignal(): signal '<SPAN style=""MARGIN: -1px -3px -2px"" id=o467 > class=""Wt-label treenodelabel"">All</SPAN>' not exposed" > > Do i miss something? This is probably only an IE issue, right? What version? There are some things that are impossible to get right with IE6 without JavaScript enabled, with multiple buttons in a form (which is how the plain HTML fall-back works for clicked() events.). But perhaps we can still make improvements -- the way I understand the code is that we take the problem above (that IE submits the button text instead of the value) into account with a workaround. Which seems to fail in this case? Regards, koen ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
