Hi, And here is some example code I played with.
The implementation of AnchorButton class has been ripped from WAnchor. On 15.10.2010 10:40, Koen Deforche wrote:
Hey Janne, 2010/10/15 Janne Rönkkö<[email protected]>:Hi, I'm developing an application that needs a button that triggers downloading of a WResource defined file.This is a need that pops up in our projects too, and for which we couldn't come up with a good solution.We have been using JSlot based solution but this does not work well enough with IE so I went on and quickly hacked a class inherited from WPushButton with implementation similar to WAnchor implementation. This seems to work well.But it does not render natively as a button then ?Because the implementation needs classes inside Wt's src/web I think I would need to get this button widget to be included into Wt. Would it be possible to include the widget into Wt? I would be willing to contribute the code after cleaning it up.How does the generated HTML look like, and why would it not be possible to define it as a specialized anchor ? Regards, koen ------------------------------------------------------------------------------ Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
filesave-1.tar.gz
Description: GNU Zip compressed data
------------------------------------------------------------------------------ Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
