Hello,
like for a few other elements, i want to set an attribute for WLabel. For this
i use the following code
------------C++ ----------------------
WLabel* const pcLabel = new Wlabel( "Click me", this");
pcLabel->setAttribute( "attribute", "test");
pcLabel->clicked().connect( boost::bind( &MyClass::MyMethod, this));
--------------------------------------
Problem:
After i call the html code, the attribute will not be placed within the correct
tag <button>. It will be placed in a <span> subnode.
------------HTML ---------------------
<button type="submit" name="signal=s2" class="Wt-wrap ">
<span id="of" attribute="test">
<span id="o10" style="white-space:nowrap;">
Click me
</span>
</span>
</button>
--------------------------------------
Is it possible to set a button attribute of Wlabel?
Many thanks in advance,
Sven
------------------------------------------------------------------------------
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