Hey Omer, 2010/1/2 omer katz <[email protected]>: >> class View : public Wt::WContainerWidget >> { >> private: >> const std::string name; >> protected: >> Wt::WTemplate *_template; >> public: >> View(const std::string newName) >> : name(newName) >> { >> _template = new Wt::WTemplate(Wt::WString::tr(getName()), this); >> } >> >> inline const std::string &getName() const { return name; } >> }; > > When I bind a template to widgets in a derived class it doesn't work for > when I do so in the View class it does show the widgets.
I cannot understand how this would make any difference, so I can only ask: are you sure? And could you be a bit more specific than "it doesn't work"? Regards, koen ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
