[Wt-interest] Wt::WApplication::processEvents() Exception

2008-07-13 Thread zhimin song
hi everyone, when I use WApplication::processEvents()file:///home/cx/software/witty-2.1.4/doc/reference/html/classWt_1_1WApplication.html#48ceb7972ef7ec0e557adf441f660f2fto synchronize the server and client state in the ProgressDialog, I got some error and the application crashed. but

[Wt-interest] About hideRow()

2008-07-24 Thread zhimin song
hi, all I am making a TableSearch using TableView and AbstractItemModel, i want to realize the functions like OpenOffice's Data-Filter-AutoFilter. But now, because Wt has not a hideRow() method for TableView, I use tow Data Model, one named **_data, the other is **_search_data,

[Wt-interest] Please Help to Analyze Some Debug Info

2008-08-02 Thread zhimin song
hi, everyone, I have post some debug info below (It is just the debug info when login my app based on Wt, and then logout), can you tell me the main problems of my app, thanks. -- Caught SIGCHLD. Child pid is 17478 stat = 139

[Wt-interest] cvs [server aborted]: add requires write access to the repository

2008-08-12 Thread zhimin song
hi, Koen, I have do some translation of wt-home_cn.xml, and want to add it to the repository, but cvs gave me an error: cvs [server aborted]: add requires write access to the repository, did it say I'll get your authentication to do that? thanks. zhmsong

Re: [Wt-interest] cvs [server aborted]: add requires write access to the repository

2008-08-12 Thread zhimin song
hi, Koen, if you want to review it,, then I will send it when I finish all parts of wt-home_cn.xml:) i added it to the repository now just in order to test the use of Cervisia, because I am new to cvs and cervisia, :) so , please wait , I 'll give you my all translation of

[Wt-interest] Some Bug or Memory Leak that Valgrind tells

2008-08-26 Thread zhimin song
hello, 1) when using the examples/form/Form.C , edit-label()-decorationStyle().setForegroundColor(WColor());, the valgrind told ==8731== Conditional jump or move depends on uninitialised value(s) ==8731==at 0x4117E3D: Wt::WColor::operator==(Wt::WColor const) const (WColor.C:71)

[Wt-interest] A Resource Waste: Attachments

2008-08-28 Thread zhimin song
hi, I found a resource waste when using something like Attachments( examples/composer/AttachmentEdit), that is , if the user closes the viewer after uploading files, but he really just want to test, not to send a mail, I think AttachmentEdit::~AttachmentEdit() could not do unlink in this

Re: [Wt-interest] Wt::WApplication::processEvents() Exception

2008-11-08 Thread zhimin song
hi, Koen I almost never met the Wt::WApplication::processEvents() Exception after have put my application into a newer and high capacity server:) but still have in my old pc for development.:) thanks zhimin - This SF.Net

[Wt-interest] Page Number in TableView

2008-12-16 Thread zhimin song
hi, all Can Ext::TableView keep page number after some operation? I have made a Ext::TableView in a WContainerWidget with more than 1000 items data, and the PageSize=100, when the user want to see the details of (such as) 101 item on the second page, the application will remove (using

[Wt-interest] Does TableView really support of setToolTip()?

2008-12-18 Thread zhimin song
hi, all Does TableView really support of setToolTip()? It looks does not work. really? I just want to show different information when mouse pointer on different part of each item using tool tip like gmail inbox items. thanks ahead; zhmsong

[Wt-interest] Bug in the PagingBar

2008-12-19 Thread zhimin song
The test case: the WText will not be located on the paging bar at the top of TableView. #include WApplication #include WContainerWidget #include WText #include WStandardItemModel #include Ext/TableView #include Ext/ToolBar #include Ext/Button using namespace Wt; class Test : public

[Wt-interest] bug: wt homepage does not use the locale that is reported by the browser

2008-12-21 Thread zhimin song
hi, all wt homepage does not use the locale that is reported by the browser, maybe my browser does not report the locale? others can test in your country:) Regards zhimin --

[Wt-interest] Bug or Negligence about WKeyEvent

2008-12-21 Thread zhimin song
hi, all I have test the WKeyEvent for some hotkey development on the based of wt-2.1.4, but some unfortunate errors happened, the test case a TableView application in a WContainerWidget, which can react to the keyPressed. Error1: The Application can't recognize the modifiers except Shift, maybe

Re: [Wt-interest] Bug or Negligence about WKeyEvent

2008-12-21 Thread zhimin song
oops: another issue is that different browser will performance differently, such as ie can catch a character but Firefox not -- ___ witty-interest mailing list

[Wt-interest] A Test Case about Ext::TooBar hiding and showing

2008-12-25 Thread zhimin song
#include iostream #include boost/lexical_cast.hpp #include WApplication #include WContainerWidget #include WText #include WEvent #include WStandardItemModel #include Ext/TableView #include Ext/ToolBar #include Ext/Button using namespace Wt; class Test : public WApplication { public:

[Wt-interest] modal dialog and non-modal dialog

2009-02-09 Thread zhimin song
hi, all why wt does not support non-modal dialog, thanks zhimin -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to

Re: [Wt-interest] modal dialog and non-modal dialog

2009-02-10 Thread zhimin song
hi, wim you meant non-modal dialog support was just not done but had been in the TODO list? and There is no any difficulty in technology? (long time to understand your compound clause:)) zhimin -- Create and Deploy Rich

[Wt-interest] a bug in DateField(maybe)

2009-02-16 Thread zhimin song
#include iostream #include boost/lexical_cast.hpp #include WApplication #include WContainerWidget #include WText #include WEvent #include WStandardItemModel #include WDate #include Ext/TableView #include Ext/ToolBar #include Ext/Button #include Ext/CheckBox #include Ext/DateField using namespace

Re: [Wt-interest] v3 development branch, git access

2009-02-16 Thread zhimin song
hi, Koen, In the Hangman example, if we change it to a real class with non-static methods, will it use lower widget memory consumption as you said? -- class HangmanDb { public: static bool addUser(const std::wstring user, const std::wstring password); static bool validLogin(const

[Wt-interest] Can't Delete Cookie in IE

2009-02-28 Thread zhimin song
hi, all The setCookie(name, value , 0, , /) can't delete cookie in IE, but ok with FF, that is right? (based on wt-2.2.3) zhimin -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC

[Wt-interest] how about open source project for wt application?

2009-03-08 Thread zhimin song
hi, all I want to develop my application based on wt by an open source model in the future, but some worries come to me, is that safe for users' info or system data? How about you think that? thanks in advance. Regards zhimin

[Wt-interest] the server was down with stat=11

2009-03-29 Thread zhimin song
hi, all My server was down with following info: [2009-Mar-29 16:22:20.008165] 20283 [/cx.wt rKjVGHpfQg0dH0Li] [notice] Session created (#sessions = 1) ... [2009-Mar-29 16:22:51.764139] 9425 - [notice] Caught SIGCHLD: pid=20283, stat=11 [2009-Mar-29 16:22:51.764188] 9425 - [notice] Deleting

[Wt-interest] export model data to CSV

2009-04-04 Thread zhimin song
hi, all My contribution for exporting data from TableView to CSV if it is ok and useful:) void ***::exportTableView(Wt::Ext::TableView *tv, bool includeHidden) { Wt::WAbstractItemModel *model = tv-model(); int rows = model-rowCount(); int cols = model-columnCount(); string

[Wt-interest] Suggestion on WFileResource Function of Character Set Conv

2009-04-04 Thread zhimin song
hi, Koen how about adding the character set conversion function to WFileResource(maybe using iconv), or maybe more common character set conversion function in some others class, such as WString. regards zhimin --

[Wt-interest] Use suggestion on internalPathChanged()

2009-04-13 Thread zhimin song
hi, all if you are using internalPathChanged() to allow users to jump from one page or function model to another, and your application is needed to be initialized through user roles, I suggest that do not forget adding the roles determination to the internal path decision model:) zhimin

[Wt-interest] question about WFileUpload::isUploaded()

2009-04-20 Thread zhimin song
hi, all the definition of WFileUpload::isUploaded() is: bool isUploaded() const { return fileUploadTarget_ != 0; } but the comments of it are: Check with

[Wt-interest] how to embed a web page into a wt application or wt container?

2009-04-30 Thread zhimin song
hi, all I want to embed a web page (like http://sourceforge.net/) into my wt application or some container or directly into a WText, how can i do that? I did not find any note from the doc. thanks zhimin -- Register Now

Re: [Wt-interest] Signal of dataChanged() sometimes does not work

2009-05-29 Thread zhimin song
hi, Koen: never to be late:) I am happy to report a bug:) Regards zhimin 1. Re: Signal of dataChanged() sometimes does not work (Koen Deforche) Hey Zhimin, Sorry for the late reply. You were right. This issue is fixed in latest git. Regards, koen 2009/5/15 zhimin song

Re: [Wt-interest] how to embed a web page into a wt application or wt container?

2009-05-29 Thread zhimin song
? To: witty-interest@lists.sourceforge.net Message-ID: 205a79980905070647j58c300c0id554cd2e1379c...@mail.gmail.com Content-Type: text/plain; charset=ISO-8859-1 Hey Zhimin, 2009/4/30 zhimin song cnrob...@gmail.com: hi, all I want to embed a web page (like http://sourceforge.net

Re: [Wt-interest] TableView width

2009-07-19 Thread Zhimin Song
hi, Michael and Koen, Now TableView::resize(WLength(), WLength(200)) works :-) zhimin -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors

Re: [Wt-interest] A Test Case about Ext::TooBar hiding and showing

2009-07-26 Thread Zhimin Song
and showing zhimin song cnrob...@gm... *Re: [Wt-interest] A Test Case about Ext::TooBar hiding and showinghttps://sourceforge.net/mailarchive/message.php?msg_name=205a79980901050226y68ca6a6crc53b9bbb9f514e54%40mail.gmail.com * From: Koen Deforche k...@em... - 2009-01-05 10:26 Hey Zhimin, 2008/12/26

Re: [Wt-interest] How to remove item in a Layout properly?

2009-07-26 Thread Zhimin Song
hi, ZhiTao: if that did not work, you can use WTable to do that :-) zhimin 2009/7/23 ZhiTao Chen dq1...@gmail.com hi all: when I try to remove an item in a WHBoxLayout, I wrote this: layout-removeItem(layout-itemAt(1));and got an exception at WLayout::updateRemoveItem -

Re: [Wt-interest] handle for dialog boxes

2009-07-27 Thread Zhimin Song
void Wt::WDialog::resize ( const WLengthfile:///home/cx/software/wt-2.99.1/doc/reference/html/classWt_1_1WLength.html *width*, const WLengthfile:///home/cx/software/wt-2.99.1/doc/reference/html/classWt_1_1WLength.html *height* ) [virtual] Resize the widget. Specify a new size for this widget,

Re: [Wt-interest] configuring eclipse under Ubuntu

2009-07-28 Thread Zhimin Song
vim or gvim is recommended :-) 2009/7/28 zeev mintz zeevmi...@yahoo.com hi, I'm working with C++ eclipse under Ubunto and I'd like to configure it so that i can work with webToolkit seamlessly from within eclipse. Since I'm quite new to this environment, I'd be very glad if you could give me

Re: [Wt-interest] WContainerWidget::addWidget(): reparenting widget

2009-07-30 Thread Zhimin Song
hi, Sabir: oh, you ask how to figure , but not why, sorry :-( 2009/7/30 Wim Dumon w...@emweb.be Sabir, I use a debug build of Wt and put a breakpoint on the line where the statement is produced. Then inspect the stack trace and you'll see it immediately. Note that this is a warning,

Re: [Wt-interest] WContainerWidget::addWidget(): reparenting widget

2009-07-30 Thread Zhimin Song
zhimin, So shall i search all occurecnce in the code where I have a line with addWidget and check it from there . Will this approach help me to to figure out problem completly. On Thu, Jul 30, 2009 at 6:44 PM, Zhimin Song cszhms...@gmail.com wrote: hi,Sabir Is this warning happen when i

Re: [Wt-interest] How to call javascript function with parameters from C++?

2009-08-06 Thread Zhimin Song
hi, ZhiTao the following is abstracted from the Library overview of Wt doc, try them, I have never used it:-) When the requirements for stateless slot learning cannot be met you will have to resort to writing JavaScript manually. Wt provides a number of mechanisms to integrate JavaScript code

Re: [Wt-interest] [Feature Request , WCalendar widget ] - OnCalendarDateFill event

2009-08-08 Thread Zhimin Song
i agree that :-) 2009/8/8 Dushan Savich dushansav...@yahoo.com Hi all , Many web applications include some kind of calendar/organizer in which users mark some events :) . Because of that , it would be useful for me , the developer , to actually be able to control the painting of each

[Wt-interest] suggest: add a new function to ToolBar: addBefore()

2009-08-14 Thread Zhimin Song
hi, all Can the Ext::ToolBar add a new function addBefore() ? if that we can create a base toolbar with some basic button or widget, and then its subclass can add their own button or widget in specific position. Regards zhimin

Re: [Wt-interest] How to catch Ext::DateField's click event?

2009-08-14 Thread Zhimin Song
hi, Zhitao I think Ext::DateField now maybe can't directly catch any signal, if you use it to get a date to fill in a line or item model, some data changed signals maybe work. Regards zhimin 2009/8/14 ZhiTao Chen dq1...@gmail.com Hi all,I want to call some function as soon as the user clicks a

Re: [Wt-interest] How to catch Ext::DateField's click event?

2009-08-16 Thread Zhimin Song
hi, Zhitao How about putting Calendar into a WContainerWidget, and then put this ContainerWidget into your toolbar, your can directly call the hide/show of ContainerWidget? :-) zhimin 2009/8/17 ZhiTao Chen dq1...@gmail.com Hi Zhimin,I noticed that, but can Ext::Calendar hide/show dynamically on

Re: [Wt-interest] How to catch Ext::DateField's click event?

2009-08-16 Thread Zhimin Song
hi, Zhitao maybe you can use WCalendar or Ext::Calendar instead of Ext::DateField , they have : const std::set WDatefile:///home/cx/software/wt-2.99.1/doc/reference/html/classWt_1_1WDate.html

Re: [Wt-interest] How to catch Ext::DateField's click event?

2009-08-17 Thread Zhimin Song
hi, Zhitao: I test it, that is ok based on the wt-2.99.1 on Ubuntu, the sample is below #include WApplication #include WEnvironment #include WDatePicker #include WText #include Ext/ToolBar using namespace Wt; class Test : public WApplication { public: Test(const WEnvironment

Re: [Wt-interest] suggest: add a new function to ToolBar: addBefore()

2009-08-17 Thread Zhimin Song
hi, Koen Roger That:-) Regards Zhimin 2009/8/17 Koen Deforche k...@emweb.be Hey Zhimin, 2009/8/14 Zhimin Song cszhms...@gmail.com: hi, all Can the Ext::ToolBar add a new function addBefore() ? if that we can create a base toolbar with some basic button or widget, and then its subclass

[Wt-interest] suggestion: model() and editable() of Ext::ComboBox

2009-08-19 Thread Zhimin Song
hi, all Is this better if there is a model() or editable() in the Ext::ComboBox? ps: 1) WAbstractItemModel* Ext::ComboBox::model () const; 2) bool Ext::ComboBox::editable() const, returns whether the combo box editable Regards Zhimin

Re: [Wt-interest] strange warning

2009-09-07 Thread Zhimin Song
hi, Guy You can search reparenting widget in the archive, good luck Regards zhimin Archive 2009/9/7 Guy Deleeuw g.de_le...@eurofer.be Hello all I have this message in the error.log of apache when I use WPanel [warn] WContainerWidget::addWidget(): reparenting widget Important ? Regards

[Wt-interest] CxServer 0.9.9 based on Wt-2.99.1 released

2009-09-09 Thread Zhimin Song
Hey all, I am pleased to announce that CxServer 0.9.9 based on Wt-2.99.1 released on 09/09/2009, you can get it from http://sourceforge.net/projects/cxserver/. CxServer is a pm (like urop of MIT) system. There is a pity in the src and doc , that is most of comments are written in Chinese.

Re: [Wt-interest] Seen this?

2009-09-20 Thread Zhimin Song
congratulations! 2009/9/20, Brad Hubbard w...@brand-hubs.com: Wt gets a mention; http://labs.trolltech.com/blogs/2009/09/18/qt-in-the-cloud-with-qwebclient/ Cheers, Brad -- Come build with us! The

Re: [Wt-interest] Embed static pages into wt webapp

2009-10-08 Thread Zhimin Song
hi, Richard: I don't know if WText(iframe ... is a viable approach, but I hope for something more straight. sure, it works, you can see my app sample in OneSite class of CxServer (download from sf). Regards zhimin

Re: [Wt-interest] Contents about isUploaded() in the RealeaseNotes are still not well understood

2009-11-08 Thread Zhimin Song
() Regards Zhimin 2009/11/8 Zhimin Song cszhms...@gmail.com en, in fact I meant the following: before Wt-2.99.2, I used the sample code from example Composer like this : 00096 { 00097 /* 00098* See if this attachment still needs to be uploaded, 00099* and return if a new

Re: [Wt-interest] Wt / JWt 3.1.0

2009-12-30 Thread Zhimin Song
Great!I have been using Wt for two years and seeing its growth :-) Wish Wt and the team Good Luck in 2010! 2009/12/30 Pau Garcia i Quiles pgqui...@elpauer.org On Tue, Dec 29, 2009 at 7:47 PM, Koen Deforche k...@emweb.be wrote: Hey all, After fanatic bug fixing, we have released versions

[Wt-interest] some question about wt_config.xml

2010-01-17 Thread Zhimin Song
hi, all I want to expand the function of simplechat to allow us to talk one to one during in the chat room( I call it advancedchat), but i found that needs the Boost.Interprocess instead of Boost.Thread, right? And because my application is always deployed in the dedicated process mode instead of

Re: [Wt-interest] some question about wt_config.xml

2010-01-18 Thread Zhimin Song
hi, Koen thanks for your guide. 2010/1/19 Koen Deforche k...@emweb.be Hey Zhimin, 2010/1/17 Zhimin Song cszhms...@gmail.com: I want to expand the function of simplechat to allow us to talk one to one during in the chat room( I call it advancedchat), but i found that needs

Re: [Wt-interest] TableView PagingToolBar

2010-01-19 Thread Zhimin Song
hi, Johannes: maybe you can try to change the appearance order of setPageSize() and createPagingToolBar(), and look the effect . Regards Zhimin 2010/1/19 Johannes Kepler j...@dreibier.net hi, i'm doing this: snip tableStat_ = new Ext::TableView(); tableStat_-setModel(stat_);

[Wt-interest] suggestion on Ext::TableView

2010-01-22 Thread Zhimin Song
hi, How about adding a SignalWModelIndex, WMouseEvent cellClicked() to Ext::TableView? thanks. Regards Zhimin -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the

Re: [Wt-interest] suggestion on Ext::TableView

2010-01-22 Thread Zhimin Song
continued.. or add a SignalWModelIndex, WMouseEvent mouseWentDown() , then Ext::TableView will be more flexible to deal with row data, I think. BTW 2010/1/23 Zhimin Song cszhms...@gmail.com hi, How about adding a SignalWModelIndex, WMouseEvent cellClicked() to Ext::TableView? thanks

Re: [Wt-interest] How to set encoding

2010-02-22 Thread Zhimin Song
hi, Nianzhong: You can try root()-addWidget(new WText(WString(Chinese words in here))); Regards Zhimin 2010/2/23 zhangnianzh...@rst.ricoh.com I have this code, but can't show chinese words in the browser web page. root()-addWidget(new WText(Chinese words in here)); got unreadable

Re: [Wt-interest] How to send parameters to SLOT()

2010-02-26 Thread Zhimin Song
hi, Nianzhong: You can refer to the WSignalMapper in the Wt doc or in this maillist, good luck. Regards Zhimin 2010/2/26 zhangnianzh...@rst.ricoh.com Hi, all: I have an handler function just like: void show(int i) { printf(%d\n, i); } and I

Re: [Wt-interest] GSoC 2010 ...

2010-03-24 Thread Zhimin Song
hi,Koen GSoC is not everything and Google is not everything :-) Regards Zhimin 2010/3/24 Koen Deforche k...@emweb.be Dear all, Unfortunately, we got message from Google that we were not accepted as a mentoring organisation. Too bad that they do not provide any hint on which criteria they

Re: [Wt-interest] How to set encoding

2010-04-02 Thread Zhimin Song
hi,Wim So what are my recommendations wrt string literals with non-ascii characters in C++ files... 1. Don't do it. Use Wt's tr() mechanism to avoid the encoding mess completely. Use a pure ASCII key within the tr() (note that I wrote tr(Frankfurt) without umlaut on the u, that was not a

Re: [Wt-interest] How to set encoding

2010-04-03 Thread Zhimin Song
hi, Wim 2010/4/3 Wim Dumon w...@emweb.be If I'm not mistaken, calling 'std::locale::global(std::locale())' at the start of your program, e.g. in main(), will re-establish the old behaviour. If you know what locale to put within the quotes, that's even better. thanks for your hint, but the

[Wt-interest] a problem about class Text : public WText

2010-06-13 Thread Zhimin Song
hi, all I have made a class Text derived WText (in the attachments) , all is ok but during a specific contruction a mistake happened,like following: code 1: // this is ok and txt can show rightly. WContainerWidget *cw = new WContainerWidget(this); Text *txt = new Text(aKey);

Re: [Wt-interest] a problem about class Text : public WText

2010-06-14 Thread Zhimin Song
hi, OvermindDL1: Thanks a lot, you are right :-) BTW: the first constructor was commented just as this reason :-) Thanks again. Regards Zhimin 2010/6/14 OvermindDL1 overmind...@gmail.com On Sun, Jun 13, 2010 at 5:00 AM, Zhimin Song cszhms...@gmail.com wrote: code 2: // this is wrong, txt can

Re: [Wt-interest] WComboBox suggestion

2010-06-14 Thread Zhimin Song
hi, Dushan: comboBox-addItems(Item One;Item Two;Item Three); I think it is easier, but not so general, especially for the seperator(; or others?), I think if needed, we can impl our own combo box derived from WComboBox. Regards Zhimin

Re: [Wt-interest] witty-interest Digest, Vol 49, Issue 4

2010-06-14 Thread Zhimin Song
hi, Anders Li: I think you can do that by WString::tr() from your own xml. like this: nextButton_ = new WPushButton(WString::tr(next_item), this); in our own xml which has next_item like this message id=next_itemNext ��?/message Regards Zhimin

Re: [Wt-interest] My small demo using WT on FreeBSD 8.0

2010-06-28 Thread Zhimin Song
hi, OvermindDL1 I just registered an account (named zhmsong) in the vimeo, can you give me a permission, thanks, BTW, we can not visit youtube :-( Regards Zhimin 2010/6/29 OvermindDL1 overmind...@gmail.com On Mon, Jun 28, 2010 at 8:08 PM, bert wiley bertwi...@gmail.com wrote: Ok i just

Re: [Wt-interest] My small demo using WT on FreeBSD 8.0

2010-06-29 Thread Zhimin Song
oops,I just found this thread was launched by bertwiley, sorry overminddl1:-) hi, bertwiley, can you give me a permission? 2010/6/29 OvermindDL1 overmind...@gmail.com On Mon, Jun 28, 2010 at 9:52 PM, Zhimin Song cszhms...@gmail.com wrote: hi, OvermindDL1 I just registered an account (named

[Wt-interest] Extension of StandardButton

2010-06-29 Thread Zhimin Song
hi, Emweb: the redmine does not work in my place, so supply this suggestion here. The best to extend StandardButton, like Qt, that will be pretty. Thanks. Regards Zhimin -- This SF.net email is sponsored by Sprint What

Re: [Wt-interest] about WText

2010-07-03 Thread Zhimin Song
hi, Dule: You are right about this situation..and like others earlier discusses. but how to deal with the following situation: WText *ComUtil::href(const string url, const WString description) { return new WText(a href=\ + url + \ TARGET=\_blank\ + description.toUTF8() + /a); } it

Re: [Wt-interest] about WText

2010-07-07 Thread Zhimin Song
\ + description + /a); Note: I'd use a WAnchor instead. Best regards, Wim. 2010/7/4 Zhimin Song cszhms...@gmail.com: hi, Dule: You are right about this situation..and like others earlier discusses. but how to deal with the following situation: WText *ComUtil::href(const string url, const

Re: [Wt-interest] about WText

2010-07-08 Thread Zhimin Song
Wim: GREAT THANKS! I will bookmark this thread for future ref. thanks again. Best Regards Zhimin 2010/7/8 Wim Dumon w...@emweb.be Zhimin, My apologies, the correct syntax to change the global locale seems to be: std::locale::global(std::locale()); This will read the locale from the

Re: [Wt-interest] Re-post: Wt and FastCGI

2010-07-20 Thread Zhimin Song
hey Diego: when I update my app from wt-3.1.2 to wt-3.1.3, that happened, oh, I did not notice the run dir changed in the new version. so the app is ok when the wt_config.xml changed for this. like what the wt sudo make install does, the run dir should be: sudo mkdir /var/www/run sudo chown

Re: [Wt-interest] Re-post: Wt and FastCGI

2010-07-20 Thread Zhimin Song
Hey Koen: BTW: I need to re-mkdir the run dir, because when the server is shut down, it is removed:-( Best Regards Zhimin -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone?

Re: [Wt-interest] Wt and FastCGI (Second Round)

2010-07-21 Thread Zhimin Song
hi, again :-) may be you should be sure that restart apache2 AFTER mkdir and chown Best Regards Zhimin 2010/7/22 Diego dcan...@imaging.robarts.ca Hi again! I did this : 1. rm -R /var/lib/apache2/fastcgi 2. a2dismod fastcgi 3. a2enmod fastcgi 4. /etc/init.d/apache2 restart I tried again

Re: [Wt-interest] WDialog close buttons

2010-07-26 Thread Zhimin Song
does not always work). Add own button in dialog title is not easy. 2010/7/26 Zhimin Song cszhms...@gmail.com: hi, Aleksey: sure, I alway make own close button on the contents() bottom :-) en, minimize? it maybe need more time to do that, I think. Best Regards Zhimin 2010/7/26

Re: [Wt-interest] CSS updating

2010-09-01 Thread Zhimin Song
hi, Alelsey: me too :-( Regards Zhimin 2010/9/1 Aleksey Chirkin a4ir...@gmail.com Hello! I noticed a strange delay in updating css files in some browsers. Any changes to the css not visible for a long time in Safari, IE. Very strange, but in Firefox everything is working correctly. Maybe

Re: [Wt-interest] Happy New Year!

2011-01-01 Thread Zhimin Song
Hey Dmitriy: Sure, Great! Say Good bye to 2010! There will be more in 2011! Rg Zhimin 2011/1/1 Dmitriy Igrishin dmit...@gmail.com Hey Folks, I wish to you success and happiness! I wish that in 2011 were many success stories related to Wt! Happy New Year! -- // Dmitriy.

Re: [Wt-interest] Being a Beginner

2011-05-12 Thread Zhimin Song
hi, Karwal: I think you should first make some wt examples in which you are interested run, I began from this:-) Regards Zhimin 2011/5/13 Gurpreet Kaur Karwal er.gurpree...@gmail.com I studied the following links but though its true I found some of the things quite difficult to understand

Re: [Wt-interest] minified that means new version candidate?

2011-06-06 Thread Zhimin Song
of releasing a new version now 2011/6/2 Zhimin Song cszhms...@gmail.com: hi matthew: ha, I just see that before very new verion was released:-) Br Zhimin 2011/6/2 Matthew Sherborne msherbo...@gmail.com I don't think so. I think it means js minify was run on some code. :) On Thu

Re: [Wt-interest] minified that means new version candidate?

2011-06-06 Thread Zhimin Song
And thank Wt, the iOS dev model looks like Wt, feel luck for learning web dev from Wt:-) 在 2011年6月6日 下午4:04,Zhimin Song cszhms...@gmail.com写道: hi, Wim: I see:-) This morning I suddenly found the WTouchEvent in the doc,haha, Wt will step into the iOS, Great! I just began to learn iOS doc

Re: [Wt-interest] WDateTime::fromString

2011-06-14 Thread Zhimin Song
hi, John: try AP: std::cout Date: WDateTime::fromString(6/14/2011 4:07pm, WString::fromUTF8(M/dd/ h:mmAP)).toString() std::endl; BR Zhimin 2011/6/15 John Robson john.rob...@usp.br Hi... How to convert to WDateTime? eg.: 6/14/2011 4:07pm std::cout Date:

Re: [Wt-interest] Problem in add contents

2011-06-15 Thread Zhimin Song
hey 2011/6/16 PARVINDER RAJPUT m...@parvinder.co.in following ??home-intro?? try to check the syntax error of your modified wt-home.xml BR Zhimin -- EditLive Enterprise is the world's most technically advanced

Re: [Wt-interest] Secure Cookies for Sessions Patch

2011-06-23 Thread Zhimin Song
hey all: I never believe the secure cookies, so never use cookies about user info. br Zhimin 2011/6/23 Koen Deforche k...@emweb.be Hey Matthew, 2011/6/23 Matthew Sherborne msherbo...@gmail.com: Hi guys, I read these slides on how to hack sites that don't set the 'secure' flag on their

Re: [Wt-interest] Parvinder Rajput

2011-09-26 Thread Zhimin Song
me too :-) 2011/9/27 Dmitriy Igrishin dmit...@gmail.com Hey Parvinder, 2011/9/26 PARVINDER RAJPUT m...@parvinder.co.in On Mon, Sep 26, 2011 at 7:26 PM, Gaetano Mendola mend...@gmail.com wrote: Can you please ban the user in subject from witty mailing list? I'm getting from that user

[Wt-interest] about undefined reference error when update wt

2011-09-28 Thread Zhimin Song
hey, buddies: Every time I update wt from lower version to newest version, there are many make errors like the following, but I can confirm my class does not use the reported function, such as setRequestTooLarge(int), so every time I just push the #include WObject into the implementation file

Re: [Wt-interest] about undefined reference error when update wt

2011-09-28 Thread Zhimin Song
ps: CMakeFiles/cx.wt.dir/utils/RectangleText.o:(.rodata._ZTVN2Cs13RectangleTextE[vtable for Cs::RectangleText]+0x28): undefined reference to `Wt::WObject::setRequestTooLarge(int)' This is just a sample, in my update history, it is other functions that came out. BR Zhimin 2011/9/28 Zhimin Song

Re: [Wt-interest] about undefined reference error when update wt

2011-10-06 Thread Zhimin Song
hey Koen: Thanks! Now I have two Clean, one is cleaning the include file, the other is cleaning the build file:-) Thanks again. BR Zhimin 2011/10/3 Koen Deforche k...@emweb.be Hey Zhimin, 2011/9/28 Zhimin Song cszhms...@gmail.com: woo... It is resolved, after reuse the cmake and then make

Re: [Wt-interest] Happy New 2012 !

2012-01-02 Thread Zhimin Song
oops! there is no wish more:-) 2012/1/1 Dmitriy Igrishin dmit...@gmail.com Dear friends, I wish you success and interesting projects, I wish you a prosperous and joy, And I wish you love and happiness ! -- // Dmitriy.

Re: [Wt-interest] WFileUpload not working in 3.2.1

2012-05-08 Thread Zhimin Song
Hey koen: my situation is just update to 3.2.1, can upload file in IE, but could not in Chrome. Chrome console said: 6event.layerX and event.layerY are broken and deprecated in WebKit. They will be removed from the engine in the near future.

Re: [Wt-interest] WFileUpload not working in 3.2.1

2012-05-09 Thread Zhimin Song
:11.352072] 6610 - [error] wtfcgi: error reading from web server [2012-May-09 15:09:15.053110] 7098 [/cx.wt o45Oz5c08qlZVpuM] [info] WebRequest: took 33699.3ms ok, thanks koen Regards Zhimin 2012/5/9 Koen Deforche k...@emweb.be Hey Zhimin, 2012/5/9 Zhimin Song cszhms...@gmail.com: cx.wt:1POST

Re: [Wt-interest] WFileUpload not working in 3.2.1

2012-05-09 Thread Zhimin Song
Hey Koen: 2012/5/9 Koen Deforche k...@emweb.be 2012/5/9 Zhimin Song cszhms...@gmail.com: What is the configuratoin of your mod_fcgi ? I figured out my config is apache2+mod_fastcgi, I am very well at that, my config is: IfModule mod_fastcgi.c AddHandler fastcgi-script .fcgi

Re: [Wt-interest] WFileUpload not working in 3.2.1

2012-05-10 Thread Zhimin Song
Hey koen: I will rewrite my code, the composor example is running well in my computer, thanks; regards Zhimin 2012/5/9 Zhimin Song cszhms...@gmail.com hey Koen: 2012/5/9 Koen Deforche k...@emweb.be It's only different in how you can start and stop the application (without starting

Re: [Wt-interest] WFileUpload not working in 3.2.1

2012-05-14 Thread Zhimin Song
://210.31.7.39/#/sys/files Thanks Regards Zhimin 2012/5/10 Zhimin Song cszhms...@gmail.com Hey koen: I will rewrite my code, the composor example is running well in my computer, thanks; regards Zhimin 2012/5/9 Zhimin Song cszhms...@gmail.com hey Koen: 2012/5/9 Koen Deforche k