Re: [Wt-interest] Wow to

2010-12-02 Thread Koen Deforche
Hey Guy, 2010/12/2 Guy Deleeuw g.de_le...@eurofer.be: Hello How can I cancel a WPopupMenu-exec() ? From within which event would you be doing this? It's not hard to add (there is a private method that does this) but it's hard for me to imagine how you are using this? Alternatively, you could

Re: [Wt-interest] Dbo Postrgress Query crash

2010-12-02 Thread Koen Deforche
Hey Dushan, 2010/12/2 Dushan Savich dushansav...@gmail.com: Hey all, Server crashes at these two lines :         Wt::Dbo::Queryint query = session.queryint ( select count(*) from tracks t ).where( t.computer_id = ? ).bind(computerId);         int val =  query.resultValue();  /// -- it will

Re: [Wt-interest] Dbo Postrgress Query crash

2010-12-02 Thread Koen Deforche
Hey Dushan, 2010/12/2 Dushan Savich dushansav...@gmail.com: Uhm now,  when I assign transaction, it says this: Thrown error: ERROR:  prepared statement SQL0x9c4dac874B0DC51 does not exist Could it be you got an error before this which says why the statement preparation failed ? Regards,

Re: [Wt-interest] FOSDEM

2010-12-07 Thread Koen Deforche
Hey Pau, 2010/12/7 Pau Garcia i Quiles pgqui...@elpauer.org: Hello, Will Wt be this year at FOSDEM? (yes, I'm attending :-) ) Attending, yes, and we should definitely meet up again ! The tracks are however quite disappointing -- as if they did their utmost effort to avoid anything that is

Re: [Wt-interest] Postgres backend issues

2010-12-08 Thread Koen Deforche
Hey Zoran, 2010/12/6 Zoran Angelov bald...@gmail.com: Hi Koen, Thanks it works great now. I've noticed another issues with QueryModel. I don't know if i'm doing something wrong, but here is the scenario: That was indeed an oversight in QueryModel. Fixed in latest git. Regards, koen

Re: [Wt-interest] WRegExp destroys session

2010-12-08 Thread Koen Deforche
Hey Magnus, 2010/12/3 Magnus Arntzen magnus.arnt...@biotek.uio.no: Actually, this alone gives fatal errors: WRegExp rx(Hello(World); //by purpose give an unmatched unescaped parenthesis Before I can check validity with rx.isValid(), the session is destroyed. [error] Error during event

Re: [Wt-interest] Is there a way to intercept all user-initiated events coming from the browser?

2010-12-10 Thread Koen Deforche
Hey Tristan, 2010/12/1 Tristan Bonsall tristan_bons...@carallon.com: My application has a log-in system to enable certain areas of the interface. Given a period of user-inactivity, the client would like it to fall back to the default level of access. I need to restart a single-shot WTimer

Re: [Wt-interest] WRegExp destroys session

2010-12-10 Thread Koen Deforche
Hey Sohail, 2010/12/8 Sohail Somani soh...@taggedtype.net: On 10-12-08 11:19 AM, Koen Deforche wrote: I've fixed WRegExp so that passing it an invalid regular expession makes isValid() return false but does not throw an exception. Is that how Wt works in general? C++ best practice would

Re: [Wt-interest] Can't propagate server-initiated updates from Qt thread?

2010-12-10 Thread Koen Deforche
Hey, 2010/12/9 luca paone luca.pa...@technisblu.it: I Have almost the same problem. we have a Qt-Wt application with this main.cpp: ---        QList Wt::WApplication * * appList = new QList Wt::WApplication * ;        Server server(argc, argv, appList,data);        

Re: [Wt-interest] Is there a way to intercept all user-initiated events coming from the browser?

2010-12-13 Thread Koen Deforche
Hey Tristan, 2010/12/13 Tristan Bonsall tristan_bons...@carallon.com: This would be perfect. Also, a way to set the interval between the keep-alive events might also be useful, if only to get greater resolution than the current interval (I'm guessing it's 1 minute at the moment?) That is now

Re: [Wt-interest] Is there a way to intercept all user-initiated events coming from the browser?

2010-12-13 Thread Koen Deforche
Hey Dmitriy, 2010/12/13 Dmitriy Igrishin dmit...@gmail.com: Oops, it seems that I've misunderstood the question. Sorry :-) I provided A en you provided B. The truth tis, if you are using server push, then (when using Ajax, not WebSockets ;-)), there is a keep-alive that is shorter than the

Re: [Wt-interest] Is there a way to intercept all user-initiated events coming from the browser?

2010-12-13 Thread Koen Deforche
Dmitriy, 2010/12/13 Dmitriy Igrishin dmit...@gmail.com: Hey Koen, So, server-push-timeout has no effect on WebSocket sessions altogether ? It does, server-push-timeout is still used, but it does not generate a new request, it simply sends a keep-alive ping/pong over the websockets (future

Re: [Wt-interest] Wt:Dbo MySql cmake issue

2010-12-15 Thread Koen Deforche
Hey Jack, 2010/12/12 Jack ostrof...@users.sourceforge.net: Hello, I finally found the source to the mysql backend to Wt:Dbo.  I then figured out I probably needed to only check out the trunk, and not the full .svn.  Is there any particular reason there is no tarball available for download?

Re: [Wt-interest] Patch for crash in WTableView::setColumnHidden

2010-12-16 Thread Koen Deforche
Hey Tristan, 2010/12/14 Tristan Bonsall tristan_bons...@carallon.com: If you call WTableView::setColumnHidden before the table has been rendered, e.g. right after constructing the WTableView, the application will crash because the widgets for the header have not yet been created and an

Re: [Wt-interest] Odd Behavior with SSL Connection

2010-12-17 Thread Koen Deforche
Hey Charles, 2010/12/17 Hubbard, Charles W charles.hubb...@pnl.gov: The application is constantly updating information read from the instrument being controlled.  Those updates are driven by a WTimer set to expire at 1 second intervals.  When I looked at the messages being printed in the

Re: [Wt-interest] math abstraction

2010-12-20 Thread Koen Deforche
Hey Simon, 2010/12/19 Simon turne...@gmail.com: Check out my compiled demo here:  http://www.n32.ca/sin.cgi When you click the vector image, the spiral redraws.  This sin.cgi currently use VML to draw vector graphic in IE and PNG for others. I think that should read HTML5 canvas for others?

Re: [Wt-interest] JWT useStyleSheet?

2010-12-20 Thread Koen Deforche
Hey, 2010/12/19 yufeng yufeng...@sina.com: hi:   I  download jwt-3.1.7a.zip,and try to develop my first web ,if in my JMyWebServlet extends WtServlet  add this app.useStyleSheet(/index.css);,there are some problem.if remove it ,no problem. The gotcha is the following: you deploy the servlet

Re: [Wt-interest] mapping problems

2010-12-27 Thread Koen Deforche
Hey Jan, Your code looks fine, except for one problem which seems to be a design mistake in our API since you are not the first to make the same assumption: 2010/12/27 Jan Köster jan.koes...@gmx.net: TuxistApp::TuxistApp(const Wt::WEnvironment env)    : Wt::WApplication(env) {  

Re: [Wt-interest] mapping problems

2011-01-10 Thread Koen Deforche
Hey Jan, 2011/1/8 Jan Köster jan.koes...@gmx.net: i have solve this problem now i have problem with this template: template struct Wt::Dbo::dbo_traitsTwitter : public Wt::Dbo::dbo_default_traits {  static const char *versionField() {    return 0;  } }; i got from gcc this: In file

Re: [Wt-interest] enableUpdates();

2011-01-19 Thread Koen Deforche
Hey John, 2011/1/19 John Robson john.rob...@usp.br: I do not know if this is normal or is it a bug, but if use this command, when open the site in more than 7 tabs, the new ones are very slow. This is normal, in so far that the RFC2616 HTTP indicates that browsers should not open more than 2

Re: [Wt-interest] Sparser Labeling of Graphs

2011-01-20 Thread Koen Deforche
Hey Christopher, 2011/1/17 Christopher Covington c...@vt.edu: http://eceapps.files.wordpress.com/2010/12/gtkwave_vs_jupiter_2011-01-17.png The top graph one is where the real issue is. I'll probably turn off labels on the other graphs (their values are just zero or one). You can ignore the

Re: [Wt-interest] Wt Qt problem in git and Wt 3.1.7a

2011-01-24 Thread Koen Deforche
Hey Daniel, 2011/1/24 Ginsburg, Daniel daniel.ginsb...@childrens.harvard.edu: I tried upgrading to Wt 3.1.7a and to git, and in both I have a problem in my app where clicking on a WSelectionBox or button causes the Loading... indicator to show on the client and it never comes back.  I

Re: [Wt-interest] approot parameter

2011-01-28 Thread Koen Deforche
Hey Pau, 2011/1/18 Pau Garcia i Quiles pgqui...@elpauer.org: Hello, When using the wthttp connector, I can set the docroot from the command line with --docroot path. What is the reason there is not a similar option for the approot? (--approot path does not work) I guess that would make

Re: [Wt-interest] Application crash - valgrind report

2011-02-01 Thread Koen Deforche
Hey Gaetano, Wt::WApplication::instance()-processEvents(); Thanks for a bug report with exactly the information we need ! That is definitely something that should be fixed in the library. You are starting a recursive eventloop from within the application constructor, something which has never

Re: [Wt-interest] Double WApplication instance - crash

2011-02-01 Thread Koen Deforche
Hey Gaetano, 2011/1/31 Gaetano Mendola mend...@gmail.com: Hi guys, the following test case, make the application crash, is this intended ? I can see why it crashes. We never imagined nested test environments. Is it merely theoretical or do you have a good use for it ? :-) Regards, koen

Re: [Wt-interest] Double WApplication instance - crash

2011-02-02 Thread Koen Deforche
Hey Gaetano, 2011/2/1 Gaetano Mendola mend...@gmail.com: I had the need to test two instances of my application (they share something behind the scene), as first shot instead to start two different threads and then create my application instance inside the thread body I did it that way.

Re: [Wt-interest] WStandardItemModel::setHeaderData() segmentation fault

2011-02-03 Thread Koen Deforche
Dear Markus, 2011/2/3 Markus markus.ri...@vincit.fi: Hello, I'm using the latest Wt git version.  This simple application crashes: #include Wt/WStandardItemModel int main() {        Wt::WStandardItemModel model;        model.setHeaderData(0, Wt::Horizontal, 0);        return 0; }

Re: [Wt-interest] WTestEnvironment and modal Wt::WDialog

2011-02-03 Thread Koen Deforche
Hey Antonio, 2011/2/2 Antonio Mancina amanc...@mbigroup.it: I'd like to simulate this with a test environment, in order to test the bunch of code which verifies the input, but I'm facing the following problems. 1) If I let a single threaded test environment to instantiate the modal window

Re: [Wt-interest] unittests and accessing WTextEdit children

2011-02-03 Thread Koen Deforche
Hey Matthew, 2011/2/2 Matthew Sherborne msherbo...@gmail.com: Hi guys, I'm writing unittests and it seems that all my widgets have no children. I need to access the form controls (like WTextEdit and friends) but my form and app-root() have children().size() == 0. This codepad paste explains

Re: [Wt-interest] WTestEnvironment and modal Wt::WDialog

2011-02-07 Thread Koen Deforche
Hey Antonio, 2011/2/4 Antonio Mancina amanc...@mbigroup.it: These approaches sound equally attractive, but out of my current wt-skills. I share your feeling about the second being nicer than the first one and it would likely be more viable if I get it right. Do you think you or other

Re: [Wt-interest] Create and Save a BLOB to PostgreSQL

2011-02-07 Thread Koen Deforche
Hey John, 2011/2/7 John Robson john.rob...@usp.br: Hi everyone, I would like to save an Uploaded image to the database. 1) How can I create a BLOB (Binary Data Types) in PostgreSQL (bytea) using Wt::Dbo ? I tried: char * picture; and std::vectorchar* picture; The following should work:

Re: [Wt-interest] Create and Save a BLOB to PostgreSQL

2011-02-09 Thread Koen Deforche
Hey Dmitriy, 2011/2/8 Dmitriy Igrishin dmit...@gmail.com: Hey all, Please note, that BLOB and bytea are different concepts in PostgreSQL: Large object (BLOB) - is a special structure which provides stream-style access to data. I guess this corresponds to this feature request:

Re: [Wt-interest] Fix Example

2011-02-09 Thread Koen Deforche
Hey John, 2011/2/7 John Robson john.rob...@usp.br: Wt::WResource Class Reference (file:///usr/share/doc/libwt-doc/reference/html/classWt_1_1WResource.html) Example for a custom resource implementation using continuations: has some syntax errors.  Correct: Thanks for catching this. I fixed

Re: [Wt-interest] Upgrade from 3.1.5 to 3.1.7/3.1.8 doesnt work

2011-02-09 Thread Koen Deforche
Hey Roman, 2011/2/10 netconnect - Roman Zotter r...@netconnect.at: i tried to upgrade my Wt. Compiling and Creating of the library worked fine. But when i run an application linked to the new version it crashes at the point, when i try to create a new WContainerWidget. Since the

Re: [Wt-interest] SQL Key Word

2011-02-10 Thread Koen Deforche
Hey John, 2011/2/9 John Robson john.rob...@usp.br: When a table is created, I realized that version is a (reserved) SQL Key Word. (so it is used with double quotes) Is it? Not according to http://www.petefreitag.com/tools/sql_reserved_words_checker/?word=version ? Regards, koen

Re: [Wt-interest] Dynamic wrapView

2011-02-10 Thread Koen Deforche
Hey John, 2011/2/9 John Robson john.rob...@usp.br: It was excellent for the use of wrapView just instantiate the class when necessary (for example, along with Wmenu WStackedWidget). WWidget *MenuTop::wrapView(WWidget *(MenuTop::*createWidget)()) {  return

Re: [Wt-interest] WTableView headers not shown

2011-02-14 Thread Koen Deforche
Hey Markus, The attached test case works for me. Perhaps you are using an outdated copy of the resources/ CSS files ? Regards, koen -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint

Re: [Wt-interest] Bad, Bad News !!!

2011-02-14 Thread Koen Deforche
Hey John, 2011/2/11 John Robson john.rob...@usp.br: http://www.nokia.com/press/press-releases/showpressrelease?newsid=1488007 http://www.microsoft.com/presspass/press/2011/feb11/02-11partnership.mspx I work with Free Software only, now I'm worried about Qt. I would like to know about the

Re: [Wt-interest] Wt server hang...any ideas?

2011-02-15 Thread Koen Deforche
Hey Daniel, 2011/2/14 Ginsburg, Daniel daniel.ginsb...@childrens.harvard.edu: I have a difficult-to-reproduce hang that seems to happen if I leave the server running a long time.  It ends up consuming 100% of one of the CPUs on the server.  I try attaching via gdb to the process and this is

Re: [Wt-interest] Thread priority

2011-02-15 Thread Koen Deforche
Hey Gaetano, 2011/2/15 Gaetano Mendola mend...@gmail.com: Hi guys, threads launched by a Wt application have a lower priority than normal threads ? That should not be the case (they are launched using new boost::thread()). But, in git there is now a method:

Re: [Wt-interest] Thoughts? Ventilate

2011-02-21 Thread Koen Deforche
Hey Mohammed, 2011/2/20 Mohammed Rashad mohammedrasha...@gmail.com: Can I use widget used in Thoughts? ventilate instead of WDialog? If yes anyone please tell me how? That widget is part of the simplchat example: PopupChatWidget.C  It will be a nice feature if we can show a dialog without

Re: [Wt-interest] file upload and konqueror

2011-02-21 Thread Koen Deforche
Hey Matthew, 2011/2/21 Matthew Sherborne msherbo...@gmail.com: Hi guys, I read in the WFileUpload docs that konqueror and some other browsers don't support the 'on change' notification. That's true. ASFAIK, it only applies to konqueror (and perhaps other less used browsers). Is there a way

Re: [Wt-interest] make trouble on ubuntu

2011-02-21 Thread Koen Deforche
Hey Matthew, 2011/2/21 Matthew Sherborne msherbo...@gmail.com: Trying to compile various version = 3.1.8  on ubuntu, I keep hitting: We've just had a report about this, unfortunately after the 3.1.8 release. This is solved in latest git with the following patch, which you should be able to

Re: [Wt-interest] Persist Session F5

2011-02-23 Thread Koen Deforche
Hey John, 2011/2/22 John Robson john.rob...@usp.br: Hello everyone, I looked at Wt examples, but I not found a way to persist information about an user (after login). How to know (in any page) if the person is already logged in? Within a session, you can safely rely on keeping information in

Re: [Wt-interest] boost related compiler errors - but from where?

2011-02-24 Thread Koen Deforche
Hey Jack, 2011/2/24 Jack ostrof...@users.sourceforge.net: Compiling this gives: In file included from /usr/include/Wt/WWebWidget:14:0,                  from /usr/include/Wt/WBreak:10,                  from /usr/include/Wt/WCssStyleSheet:14,                  from

Re: [Wt-interest] dbo question on find() - query or collection

2011-02-24 Thread Koen Deforche
Hey Jack, 2011/2/24 Jack ostrof...@users.sourceforge.net: Looking at both the dbo tutorial and the reference, it looks like session.findUser() might return either a Wt::Dbo::ptrUser or a Wt:Dbo::collection Wt::Dbo::ptrUser but I can't quite tell how to specify which.  I've got a case where I

Re: [Wt-interest] GraphicsMagick

2011-03-07 Thread Koen Deforche
Hey John, Sorry for the long delay. We have worked hard on improving our WRasterImage lately and in the process I have been using graphicsmagick alot. Still, it is not entirely clear to me what is going wrong. But I have never used Magick++, only the C API. 2011/2/25 John Robson

Re: [Wt-interest] PostgreSQL Session Not Destroy

2011-03-07 Thread Koen Deforche
Hey John, 2011/2/25 John Robson john.rob...@usp.br: I created 500 sessions in Wt, and was automatically created 500 sessions of Postgre. After a few minutes all Wt sessions were destroyed, but the sections of Postgre continued. How are you seeing that the Postgres sessions continue? Do you

Re: [Wt-interest] dbo question on find() - query or collection - mostly solved

2011-03-07 Thread Koen Deforche
Hey Jack, 2011/2/25 Jack ostrof...@users.sourceforge.net: As I was thinking of how to simplify or reorganize, I looked again at the dbo tutorial.  I'm not sure how I noticed, but all I had to do was move the public: in the Trait class definition above the persist piece.  I'm still not sure

Re: [Wt-interest] Axis Chart resolution

2011-03-10 Thread Koen Deforche
Hey Gaetano, 2011/3/10 Gaetano Mendola mend...@gmail.com: On Wed, Mar 9, 2011 at 8:46 PM, Gaetano Mendola mend...@gmail.com wrote: Hi all, is it possible to set a minimum resolution on the axis chart ? As example plotting the points: (0, 1.112), (1, 1.113), (2.114) leads to have reported

Re: [Wt-interest] llvm clang problems

2011-03-15 Thread Koen Deforche
Hey Jan, 2011/3/12 Jan Köster jan.koes...@gmx.net: i have solved the problem with upgrade to clang 2.8 That's great. So far, I had only built Wt successfully with clang using git versions of clang. There is still one modification in WSignal (for use of a memory pool) that contains a workaround

Re: [Wt-interest] PostgreSQL Session Not Destroy

2011-03-16 Thread Koen Deforche
Hey John, 2011/3/16 John Robson john.rob...@usp.br: Do you also delete the Wt::Dbo::backend::Postgres object when your Wt session exits? No, where I use this? in the class destructor?  How? See examples/blog/view/BlogView.[hC] and examples/blog/BlogSession.[hC] You should reimplement the

Re: [Wt-interest] QueryModel limit and offset

2011-03-21 Thread Koen Deforche
Hey Gabor, 2011/2/25 Gabor E. Tusnady t...@enzim.hu: Dear All, for further clarify my problem, I have attached a complete test code. Indeed, this is a bug with QueryModel: it modifies the original query with offset() and limit() to load the model data in small chunks. But doing this, it

Re: [Wt-interest] setting max-request-size in WResource

2011-03-21 Thread Koen Deforche
Hey Jan, 2011/2/28 jhoelscher jan.hoelsc...@codergrid.de: is it possible to set the max-request-size for a WResource wich was added with addResource (WResource *resource, const std::string path)? i have to upload much data 1GB, but i'am unable to set the max-request-size right. What

Re: [Wt-interest] GraphicsMagick

2011-03-21 Thread Koen Deforche
(GraphicsMagick) On 03/07/2011 01:26 PM, Koen Deforche wrote: Hey John, Sorry for the long delay. We have worked hard on improving our WRasterImage lately and in the process I have been using graphicsmagick alot. Still, it is not entirely clear to me what is going wrong. But I have never used

Re: [Wt-interest] update Wt-3.1.8 : Wt internal error

2011-03-21 Thread Koen Deforche
Hey Joseph, 2011/3/17 Joseph VanAndel vanan...@ucar.edu: I'm getting a similar problem: Wt internal error: TypeError: Result of expression'$('#onft9go').get(0)'[undefined] is not an object, code: undefined, description: undefined Also with an update to Wt 3.1.8 ? Any hints to what it

Re: [Wt-interest] update Wt-3.1.8 : Wt internal error

2011-03-21 Thread Koen Deforche
Hey Jorg, 2011/2/14 jhig j...@dreibier.net: hi, i updated Wt to version 3.1.8 and got this message in a popup dialog: Wt internal error: TypeError: ExtW.or945qr is undefined, code: undefined, description: undefined From what version were you upgrading? Can you narrow it down to particular

Re: [Wt-interest] Wt 3.1.8 internal error - related to WApplication::doJavaScript()

2011-03-22 Thread Koen Deforche
append messages.  Koen Deforche advised me to do the following: =  /*  * Little javascript trick to make sure we scroll along with new content  */  WApplication::instance()-doJavaScript(messages_-jsRef() + .scrollTop

Re: [Wt-interest] Thread safety of signals/slots

2011-03-22 Thread Koen Deforche
Hey Rutger, 2011/3/21 Rutger ter Borg rut...@terborg.net: Hello, I am wondering if Wt's signals / slots methods are thread safe and/or how it is possible to post asynchronous updates to the Wt apps from a distinct thread pool. They are not thread-safe (they do not act like Qt's signal

Re: [Wt-interest] JWt vs. Wicket

2011-03-22 Thread Koen Deforche
Hey Frank, 2011/3/22 ftegtme...@versant.com: I think both frameworks share some design decisions, for example both are widget centric. Both maintain application state. Both support degradation. Both are actively developed and supported. Both go beyond the capabilities of django for example.

Re: [Wt-interest] Patch for axis resolution + discovered bug

2011-03-25 Thread Koen Deforche
Hey Gaetano, 2011/3/22 Gaetano Mendola mend...@gmail.com: Hi, I have implemented the feature I was talking some mails ago, about the fact to provide the Chart::WAxis the concept of minimum resolution. The resolution concept applies only when the Axis type is LinearScale, this means that if

Re: [Wt-interest] Hundreds of new sections

2011-03-25 Thread Koen Deforche
Hey John, Just yesterday, I fixed a bug which could cause this. When possible, you check with the latest git version ? Regards, koen -- Enable your software for Intel(R) Active Management Technology to meet the growing

Re: [Wt-interest] WTableView: segmentation fault in setColumnWidth()

2011-03-29 Thread Koen Deforche
Hey Markus, Sorry for the long delay. This was an implementation error in WAbstractItemView, fixed in latest git. Regards, koen -- Enable your software for Intel(R) Active Management Technology to meet the growing

Re: [Wt-interest] Patch for WDate.C

2011-03-29 Thread Koen Deforche
Hey Gaetano, 2011/3/29 Gaetano Mendola mend...@gmail.com: Hi guys, the addMonths and the addYears can lead to invalid date generation like: Tue Mar 29 2011 - 1 Month  would become  29 February 2011 and that is a not a valid date. I reimplemented addMonths and addYears in term of

Re: [Wt-interest] translation tool thing

2011-03-29 Thread Koen Deforche
Hey Matthew, 2011/3/18 Matthew Sherborne msherbo...@gmail.com: OK, I thought about it. I think my patch makes it even easier still, you don't just get the nice operator, you get all the printf format powers: http://www.boost.org/doc/libs/1_46_1/libs/format/doc/format.html#printf_directives

Re: [Wt-interest] How to work with urlEncode?

2011-03-31 Thread Koen Deforche
Hey John, 2011/3/26 John Robson john.rob...@usp.br: http://www.codeguru.com/cpp/cpp/cpp_mfc/article.php/c4029 1) #include Utils.h  // from Git repository ? or 2) call some Wt Class? Wt::Utils::urlEncode(i-second.toUTF8()); Utils::urlEncode(suggestedFileName_.toUTF8(), ); Feel free

Re: [Wt-interest] Mouse event show/hide behavior I don't understand

2011-04-01 Thread Koen Deforche
Hey Dave, Thanks for the test case and all the info ! 2011/3/27 Hanu Man cyphe...@gmail.com: case 1: After clicking on the label menu1, it's popup menu correctly appears. Keeping the mouse button depressed, if I move my mouse up out of the browsers content area and loop around to label menu2,

Re: [Wt-interest] cross-compiled hello.wt fails: remote_endpoint() threw: Bad file descriptor

2011-04-05 Thread Koen Deforche
Hey Bjorn, 2011/4/4 Bjørn Forsman bjorn.fors...@gmail.com: First, the error: # hello.wt --docroot . --http-address 0.0.0.0 --http-port 8080 Reading: /etc/wt/wt_config.xml [1999-Dec-31 17:29:41.389758] 1129 - [notice] Wt: initializing built-in httpd [1999-Dec-31 17:29:41.395503] 1129 -

Re: [Wt-interest] Create an internal link

2011-04-06 Thread Koen Deforche
Hey Florian, 2011/4/6 Florian Rausch frau...@kwest.de: Hello Wim, thank you so far! I added setInternalPathEnabled() to my WTabWidget and now my menu items have links like: http://localhost:8080/?_=/general With Wt 3.1.9 (around the corner), you will have the option to clean that up to

Re: [Wt-interest] No loadingindicator on WResource handleRequest

2011-04-07 Thread Koen Deforche
Hey Martijn, 2011/4/6 Martijn Moraal martijn.mor...@besi.com: Hello, I am using a WAnchor and WResource to export data from my application. The gathering of this data takes quite a bit of time. Since I collect the data in the 'handleRequest' method of the WResource there is no loading

Re: [Wt-interest] docroot

2011-04-07 Thread Koen Deforche
Hey Gabor, 2011/4/6 Gabor E. Tusnady t...@enzim.hu: Dear List, I cannot find the answer to a trivial question: how can I get the local full path of docroot in my application? It isn't that trivial, though. The first problem is that only for the wthttpd connector this could be provided by Wt

Re: [Wt-interest] javascript within WContainerWidget

2011-04-07 Thread Koen Deforche
Hey Gabor, 2011/4/7 Gabor E. Tusnady t...@enzim.hu: Dear List, I would like to insert a java application (namely Jmol) into my widget tree. However, the  WText(script.../script,XHTMLUnsafeText,parent); code somehow does not work. Digging by Firebug, I have found the script/ element in

Re: [Wt-interest] AddCircle Function to the WGoogleMap

2011-04-08 Thread Koen Deforche
Hey Dushan, 2011/2/24 Dushan Savich dushansav...@gmail.com: Hey Guys, I've wrote this addCircle function for WGoogleMap class, I thought you might want it as well  ( check the attachment ) :-) Btw, it only works with API v3 . Thanks. We've integrated it. It didn't make it for Wt 3.1.9

Re: [Wt-interest] Wt internal error (on http://www.webtoolkit.eu)

2011-04-12 Thread Koen Deforche
Hey Gaetano, 2011/4/11 Gaetano Mendola mend...@gmail.com: Hi all, I'm experiencing a dialog appearing with the string: Wt internal error: TypeError: cannot call method 'appendChild', code: undefined, description: undefined. I could also reproduce it. I believe it is not caused by the recent

Re: [Wt-interest] Tracking users across tabs

2011-04-12 Thread Koen Deforche
Hey Kurt, 2011/4/10 Kurt Roeckx k...@roeckx.be: Is there a way to know that the same user has opened the application is different tabs?  As far as I understand it, each tab creates a new application and so I can't share data between tabs. Yes. So I would like to add something so that I

Re: [Wt-interest] Basic HTML fallback for text browsers and sessions

2011-04-13 Thread Koen Deforche
Hey Simon, 2011/4/13 Simon Walter simon.wal...@hokkaidotracks.com: What I'd like to know is: what are the options for controlling the basic HTML mode? Can the output be customized? Also, I have to click on, load basic html, when I'd rather it load and then switch to JS mode if there is JS.

Re: [Wt-interest] WApplication::attachThread(): no thread is holding this application's lock ? (wt 3.1.8)

2011-04-13 Thread Koen Deforche
Hey Gaetano, 2011/4/7 Gaetano Mendola mend...@gmail.com: Hi guys, lately my application is going in segmentation fault and last log I see is the one in subject, I'm using Wt  3.1.8. Could you try with Wt 3.1.9? Regards, koen

Re: [Wt-interest] Building wt 3.1.9 with boost 1.46.1 with boost::filesystem3::path

2011-04-13 Thread Koen Deforche
Hey Raymond, 2011/4/12 Raymond Burkholder r...@oneunified.net: Well, rather than building wt trunk with boost trunk, I've tried the latest releases together, and obtain the following error.  Is wt 3.1.9 good with boost 1.46.1? Boost 1.46 broke Boost.Filesystem (with an upgrade to v3). Wt

Re: [Wt-interest] First impression on using Wt::WServer::post

2011-04-20 Thread Koen Deforche
Hey Gaetano, 2011/4/18 Gaetano Mendola mend...@gmail.com: Hi guys, due to some critical race in my application using the UpdateLock method I converted my application to use the Wt::WServer::post. Although I would really like to demistify the race condition you had, I am also happy that you

Re: [Wt-interest] [Patch - bugfix] WDialog result_ not initialized in CTOR

2011-04-20 Thread Koen Deforche
Hey Antonio, 2011/4/18 Antonio Mancina amanc...@mbigroup.it: Hi all, if I get it correctly, there's a bug in WDialog.C CTOR, not initializing the result_ member variable, neither in the initialization list, nor in the CTOR body. We could initialize it, but you are not supposed to read the

Re: [Wt-interest] call C++ function from JavaScript

2011-04-22 Thread Koen Deforche
Hey, 2011/4/22 un...@list.ru: Hi, gentlemen. I wish someone could give me an advice how to do subj. I need to call server-side C++ function from JavaScript that is executed on client-side. And need to get function result (array of strings). Recently I did similar by calling Wt.emit() to

Re: [Wt-interest] [Patch] Fallback Function (in case of dead session) for WServer::post

2011-04-26 Thread Koen Deforche
Hey Gaetano, 2011/4/24 Gaetano Mendola mend...@gmail.com: Hi Koen, I hope this was what your had in mind when I proposed it. Exactly ! I'm applying it and push it to git later today. Thanks, koen -- WhatsUp Gold -

Re: [Wt-interest] mouseWheel() event

2011-04-26 Thread Koen Deforche
Hey Gabor, 2011/4/22 Gabor E. Tusnady t...@enzim.hu: Dear all, I would like to use mouseWheel event in my application. However, when I use mouse wheel, while mouse is on my widget, my application catch the event and do the required functions (zoom in/ out), but the browser gets the event as

Re: [Wt-interest] JWt + Jython

2011-04-26 Thread Koen Deforche
Hey Albert, 2011/4/24 Albert Cervera i Areny alb...@nan-tic.com: I just published a blog post explaining how to configure and use Jython with JWt. Feel free to copy its content to JWt wiki as it would be nice that Jython appeared in the !C++ and !Java sections.

Re: [Wt-interest] hello example problem

2011-05-02 Thread Koen Deforche
Hey, 2011/5/2 Gurpreet Kaur Karwal er.gurpree...@gmail.com: Hello everyone, I am very new to Wt and I am very much impressed by its awesome features and under-lying model. I want to use it for the development of various applications. I installed Wt successfully and its examples are working

Re: [Wt-interest] [SEGFAULT] useUglyInternalPaths() when called within a WTestEnvironment

2011-05-05 Thread Koen Deforche
Hey Antonio, 2011/5/5 Antonio Mancina amanc...@mbigroup.it: Hi, any news about this? Please note that wt-3.1.9 only is affected by this problem, while 3.1.8 is not. Our bad. The patch is tiny and predictable. It'll be in git soon, but you may also want to back-port it. Regards, koen diff

Re: [Wt-interest] WPopupItem cannot be found by WWebWidget::find()

2011-05-05 Thread Koen Deforche
Hey Gabor, 2011/5/5 Gabor E. Tusnady t...@enzim.hu: Examining the source of witty, I have found that using wApp-domRoot()-find() method instead of root()-find() solve my problem. Except that, domRoot() doesn't officially exist. Perhaps its time to acknowledge its existence (and document it in

Re: [Wt-interest] Can I use Wt for Desktop like applications

2011-05-09 Thread Koen Deforche
Hey Parveen, 2011/5/5 Parveen Arora m...@parveenarora.in: I just got to know that Wt is quite efficient to use than other web toolkits. But can I use it for desktop like applications? as I have read it on the Wt website at http://www.webtoolkit.eu/wt First point In other benefits of using

Re: [Wt-interest] WPopupItem cannot be found by WWebWidget::find()

2011-05-09 Thread Koen Deforche
Hey Gabor, 2011/5/5 Koen Deforche k...@emweb.be: Hey Gabor, 2011/5/5 Gabor E. Tusnady t...@enzim.hu: Examining the source of witty, I have found that using wApp-domRoot()-find() method instead of root()-find() solve my problem. Except that, domRoot() doesn't officially exist. Perhaps its

Re: [Wt-interest] Boost storage

2011-05-19 Thread Koen Deforche
Hey, 2011/5/19 Gurpreet Kaur Karwal er.gurpree...@gmail.com: I installed boost_1_46_1 in usr/lib. After successful installation it asked to add the following: After 'bjam' or 'bjam install' ? /usr/local/boost_1_46_1 in compiler include path and /usr/local/boost_1_46_1/stage/lib  in

Re: [Wt-interest] Boost not found in examples

2011-05-20 Thread Koen Deforche
Hey John, 2011/5/20 John Robson john.rob...@usp.br: Installation was done properly, boost was found. Boost_USE_MULTITHREADED = ON ** Enabling multi threading. http://paste.ubuntu.com/610440/ But in the examples, NO boost was found. There seems to be a misunderstanding of how to build the

Re: [Wt-interest] Boost storage

2011-05-20 Thread Koen Deforche
Hey, 2011/5/19 Gurpreet Kaur Karwal er.gurpree...@gmail.com: Thank You Mr. Koen. So, if I install Boost in say usr/local then there is no need of including any Compiler or Linker library path? You could set BOOST_PREFIX to /usr/local, but that might not be needed since /usr/local is a

Re: [Wt-interest] A kind of Content Management...

2011-05-24 Thread Koen Deforche
Hey John, I believe it is a misconception that WMenu+WStackedWidget preloads all the contents in memory and/or in the browser. There are several ways to avoid the overhead server-side or client-side, using WMenu and WStackedWidget. The wt-homepage (and to a lesser extent, widget gallery) use the

Re: [Wt-interest] Inserting fields in a relationship N-M

2011-05-31 Thread Koen Deforche
Het John, You cannot do this with a many to many relation. In this case you could explicitly map the join table and use 2 many to one relations. Or propose a workable syntax to extend dbo? Regards, Koen On May 30, 2011 11:50 PM, John Robson john.rob...@usp.br wrote: Hello everyone. I created

Re: [Wt-interest] Wt::WServer::post recomendation

2011-05-31 Thread Koen Deforche
Hey Gaetano, 2011/5/26 Gaetano Mendola mend...@gmail.com: Hi all, In our application we have some realtime plotting (using Wt::Chart::WCartesianChart), when our application decide to plot something is uses a method plot of our class WtTerminal::plot. WtTerminal::plot does (more or less):  

Re: [Wt-interest] Inserting fields in a relationship N-M

2011-06-01 Thread Koen Deforche
Het John, On May 31, 2011 6:46 PM, John Robson john.rob...@usp.br wrote: Hi Koen, You cannot do this with a many to many relation. In this case you could explicitly map the join table and use 2 many to one relations. Before ManyToMany: CONSTRAINT users_has_projects_pkey PRIMARY KEY

Re: [Wt-interest] WLineEdit or input with JavaScript

2011-06-03 Thread Koen Deforche
Hey, That seems like setEmptyText() functionality? Koen On Jun 3, 2011 6:08 AM, John Robson john.rob...@usp.br wrote: Hi everyone... How to do this (value, onfocus, onblur) using WLineEdit? (Or maybe not WLineEdit, which is better...) !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0

Re: [Wt-interest] Navigate in a ManyToMany relationship

2011-06-19 Thread Koen Deforche
Hey John, 2011/6/4 John Robson john.rob...@usp.br: ptrUser user = session_.findUser().where(id = ?).bind(app_-userID); // OK collection ptrProject collect = user-projects; // OK This is what causes the problem: you cannot copy a collection which is involved in a relation (M-N or N-1). If

Re: [Wt-interest] xhtml equivalent of WAnchor

2011-06-19 Thread Koen Deforche
Hey, 2011/6/6 Graeme Gill grae...@argyllcms.com: What's the recommended way of creating links in xhtml code that is being rendered in a WText, so that they behave like a WAnchor ? Incidently (!), I just implemented this in my git copy, to have native support for internal paths in WText and

Re: [Wt-interest] WTreeView navigation with keyboard

2011-06-19 Thread Koen Deforche
Hey Martijn, 2011/6/7 Martijn Moraal martijn.mor...@besi.com: Hello, I would like to be able to navigate through a WTreeView with my keyboard. I.e arrow up and down select the previous and next element, arrow right expands the item and arrow left collapses it. However I seem unable to do

<    3   4   5   6   7   8   9   10   11   12   >