try decoration.setBackgroundImage("http://localhost/images/img.jpg";);
Please read the documentation and the mails that I sent before
_carefully_; there is no setBackgroundImage that takes a Wt::WImage as
parameter; only a string (an url) or a WResource.

Wim.

2011/7/28 PARVINDER RAJPUT <[email protected]>:
> Sir i have used
> WCssDecorationStyle& decoration=root()->decorationStyle();
>  decoration.setBackgroundImage(WImage("http://localhost/images/img.jpg";));
> but it show error
>
> ------------------------------------------------------------------------------
> Got Input?   Slashdot Needs You.
> Take our quick survey online.  Come on, we don't ask for help often.
> Plus, you'll get a chance to win $100 to spend on ThinkGeek.
> http://p.sf.net/sfu/slashdot-survey
> _______________________________________________
> witty-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>

------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to