Hey Sven, 2010/11/12 Knoblich Sven <[email protected]>: > Hello Dmitry, > is it possible to get and modify the <button> element (which is created > during the creation of wlabel) to add an attribute?
The <button> however is an artifact of rendering to a plain HTML session and listening to a clicked() signal: since only buttons can be clicked in plain HTML, Wt will wrap the original element into a button to be able to handle the click event. When rendering in an Ajax session, or after upgrading to an Ajax session, the <button> is absent. The only property of the wrapping button that you can control (now) is the id. May I ask why you want to add an attribute to it ? Regards, koen ------------------------------------------------------------------------------ Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
