hi, yufeng:
I think you changed image ref by setImageRef() just like changing your html
code in Dreamweaver(such as), but you should save this html file and refresh
your browser, and then the new image just changed will be shown to you.
so you need reload the image after setting image ref in Wt.
Best Regards
Zhimin
2010/7/26 yufeng <[email protected]>
> hi:
> why not change image ,When I change imageRef?I must reload page ,only
> show ok.
>
> here is may code
> this->clear();
> ...
>
> pImg= new Wt::WImage(sVal, this);
> ....
>
>
>
> ------------------------------------------------------------------------------
> The Palm PDK Hot Apps Program offers developers who use the
> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
> of $1 Million in cash or HP Products. Visit us here for more details:
> http://ad.doubleclick.net/clk;226879339;13503038;l?
> http://clk.atdmt.com/CRS/go/247765532/direct/01/
> _______________________________________________
> witty-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
--
想更多了解宋志民,请访问:http://cszhmsong.wealink.com/
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest