Re: [Wt-interest] NaCl connector student proposal

2011-12-16 Thread Koen Deforche
Hey Mohammed, 2011/12/16 Mohammed Rashad mohammedrasha...@gmail.com: I would like to develop a new connector for Wt. current Wt supports whttp,wtfastcgi and ISAPI connector. With NaCl connector Wt will rock!!. Koen said me once about having a NaCl connector and I would like to work on it. I

Re: [Wt-interest] Supporting Dbo blob type (re-send)

2011-12-16 Thread Koen Deforche
Hey, 2011/12/14 Graeme Gill grae...@argyllcms.com: I wouldn't do that, but I would define the life-time of the returned value to be valid as long as the statement is not reset or the next row of data is not fetched. Hi, Perhaps the solution is to define an abstract blob type that the back

Re: [Wt-interest] [Further] Abstracted HTML/CSS generation from Wt

2011-12-19 Thread Koen Deforche
Hey Alec, 2011/12/16 Alec Taylor alec.tayl...@gmail.com: What are you thoughts about a simplified abstracted HTML generation with CSS/JS from Wt? How would this fit with the existing Wt infrastructure? Is this to simplify complex CSS layouts for static text (that goes into a message resource

Re: [Wt-interest] Wt::Http::Request question

2011-12-20 Thread Koen Deforche
Hey Jaroslaw, 2011/12/19 Jarosław Honkisz jhonk...@ath.bielsko.pl Welcome ** ** In Wt::Http::Request documentation are described two functions: const *CookieMap*http://www.webtoolkit.eu/wt/doc/reference/html/classWt_1_1Http_1_1Request.html#af227a7cda2c6bc96554cbd3554c3004c

Re: [Wt-interest] View a Video Server with Wt

2011-12-20 Thread Koen Deforche
Hey Marco, 2011/12/20 Marco Faletra m.fale...@gmail.com:  I need to display an image stream from a video server that sends 4 images sequentially (about 20 fps).  The best is to tell the browser: at this IP you can find the video server (the IP address is not the same of web server), take the

Re: [Wt-interest] Why is the session stored with mutable in the hangman example ?

2011-12-20 Thread Koen Deforche
Hey Matthew, 2011/12/20 Matthew Sherborne msherbo...@gmail.com: Why is 'mutable' used on this line ? Apparently, because in Session::user() const, the user DBO object (for a newly registered user) is lazy-created and added to the session:

Re: [Wt-interest] WValidator to check mandatory of WComboBox gives wrong visual effect

2011-12-20 Thread Koen Deforche
Hey Marco, 2011/12/19 Marco Wagner wagner.ma...@gmail.com: I created a WComboBox and set a WValdidator with setMandatory(true) on it. * When it stats with the default selection (select 0) its shown with the empty option selected with invalid visual. * When it start with a different selection

Re: [Wt-interest] View a Video Server with Wt

2011-12-21 Thread Koen Deforche
Hey Marco, 2011/12/21 Marco Faletra m.fale...@gmail.com: @Koen  With CORS the responsefrom video server  is 404 Error: so it doesn't support OPTIONS, I think. OPTIONS are however only used in CORS if you use POST. With a GET request there should not be such a response ?  Do you know how to

Re: [Wt-interest] Compiler warning Wt 3.2.0

2011-12-22 Thread Koen Deforche
Hey Stefan, the next release? Its a little bit annoying... Your compiler is quick to complain, but indeed, there was a spurious copy there. It will be goner. Regards, koen -- Write once. Port to many. Get the SDK and

[Wt-interest] Gentoo

2011-12-22 Thread Koen Deforche
Hey, I got a notice that Wt was going to be dropped from gentoo since there isn't currently anyone maintaining the ebuild. If you're using Wt on gentoo, you might want to step up (and avoid having to maintain ebuilds yourself anyway). I guess the ones to contact are the maintainers listed here:

Re: [Wt-interest] Why does WWidget throw away 'parent' ?

2011-12-27 Thread Koen Deforche
Hey, 2011/12/25 Matthew Sherborne msherbo...@gmail.com: https://github.com/kdeforche/wt/commit/3afb493b34529cd9026bafc34cd9cc9fca2c0a95#L21R25 Why does WWidget throw away 'parent' ? Either WWebWidget or WCompositeWidget will add themselve to the parent if it is not 0. I'm concerned it would

Re: [Wt-interest] Deriving from WFormWidget

2011-12-29 Thread Koen Deforche
Hey Matthew, 2011/12/28 Matthew Sherborne msherbo...@gmail.com: Hi guys, I'm trying to make my own editor, that's just a 'WText' with the 'contentEditable' thing on it. (It also has a toolbar for 'bold' and 'italic' and all that). I know it's not gonna work on every browser before you

Re: [Wt-interest] weird bug in git trunk

2012-01-01 Thread Koen Deforche
Hey Matthew (and all), First of all, we at Emweb wish everyone the best for 2012 ! It promises to be a very busy year for us, which, at least from your point of view, should sound good :-) 2012/1/1 Matthew Sherborne msherbo...@gmail.com: OK, so the segfault was all my code :) but still the

Re: [Wt-interest] Patched WServer.C attached

2012-01-01 Thread Koen Deforche
Hey John, 2011/12/30 John D. Robertson j...@rrci.com: Here is the patch. Thanks. I now get what you mean with the error description. I've applied it and will push to the repository soon. Regards, koen -- Ridiculously

Re: [Wt-interest] dbo secondary keys

2012-01-04 Thread Koen Deforche
Hey Matthew, Best wishes for 2012 ! 2011/12/29 Matthew Sherborne msherbo...@gmail.com: Thanks Koen for that last answer on making my WFormWidget descendant. I think I might give that a go and give you a github pull request once I get the first version of this blog app I'm writing out the

Re: [Wt-interest] weird bug in git trunk

2012-01-04 Thread Koen Deforche
Hey Dmitriy, 2012/1/4 Dmitriy Igrishin dmit...@gmail.com: I think that more correct way to detecting that is to use transaction status, returned by the backend. In case of Postgres (libpq) its a function PQtransactionStatus(). True, that is one source for an exception. But there could also be

Re: [Wt-interest] weird bug in git trunk

2012-01-04 Thread Koen Deforche
Hey Dmitriy, 2012/1/4 Dmitriy Igrishin dmit...@gmail.com:  Well, suppose that the Transaction::~Transaction() looks like: Transaction::~Transaction() {   if (std::uncaught_exception()) {     // tries to rollback   } else {    // tries to commit   } } And suppose My_class::~My_class()

Re: [Wt-interest] Errors in Auth tutorial

2012-01-08 Thread Koen Deforche
Hey, 2012/1/8 Offirmo offirmo@gmail.com: The next phase was adding authentification. I tried to follow the Auth tutorial. Eventually, I succeeded (mostly) but it was very hard. As a token of my appreciation of Wt, I'm taking the time to list the problems I encountered. This is mostly

Re: [Wt-interest] suggestion for Wt::WMessageBox

2012-01-11 Thread Koen Deforche
Hey Matthew, 2012/1/6 Matthew Sherborne msherbo...@gmail.com: Ah I see .. it's supposed to be just for showing 'info' messages .. I wanted to show a warning with a 'yes' 'no' button combo. I guess I'll just do it long hand :) Actually -- the icon is currently ignored, icons are never shown.

Re: [Wt-interest] Layouts and uniform height

2012-01-11 Thread Koen Deforche
Hey John, 2012/1/5 John D. Robertson j...@rrci.com: I have a WVBoxLayout with several WHBoxLayout children.  I want the widgets controlled by a given WHBoxLayout to all be the same height, but it's OK for sibling WHBoxLayout's to be different heights. I can't figure out how to do this - what

Re: [Wt-interest] Wt (not) sending emails

2012-01-11 Thread Koen Deforche
Hey Offirmo, 2012/1/8 Offirmo offirmo@gmail.com: Hello, in Wt Auth, we can see that Wt will try to send a confirmation email. But sending email is not trivial... I tried on WT auth my machine and, of course, no email was ever sent. What does Wt require to send emails ? All that

Re: [Wt-interest] Wt (not) sending emails

2012-01-12 Thread Koen Deforche
Hey, 2012/1/11 Matthew Sherborne msherbo...@gmail.com: I'm sure this will help someone out there someday. If you absolutely must use an authenticating smtp server .. you can run postfix on your hosting vps and use it to relay to your 'auth needed' Rackspace Email or google apps smtp server:

Re: [Wt-interest] Layouts and uniform height

2012-01-16 Thread Koen Deforche
Hey John, 2012/1/12 John D. Robertson j...@rrci.com: Koen, In the following snippet I would think that the WGroupBox'es would be the same height: WVBoxLayout *vbl= new WVBoxLayout;  root()-setLayout(vbl, AlignTop); I was first thinking to tell you that this combination of actively

Re: [Wt-interest] two entry points

2012-01-18 Thread Koen Deforche
Hey Mohammed, On Jan 19, 2012 5:52 AM, Mohammed Rashad mohammedrasha...@gmail.com wrote: How to set two entry points in single application? I have two application app1 subapp1 i want app1 at localhost:8080/app1 iwant subapp1 at localhost:8080/app1/subapp1 In general, you should use the

Re: [Wt-interest] --

2012-01-23 Thread Koen Deforche
Hey Marcelo, 2012/1/12 Marcelo olecraM panta.rei.ouden.me...@gmail.com: hi I have a problen trying to define a composite primary key, which is composed of a composite foreing key and other foreing key Could you turn the code below (which misses some classes) in a complete test case which

Re: [Wt-interest] widget popup

2012-01-23 Thread Koen Deforche
Hey Mohammed, 2012/1/14 Mohammed Rashad mohammedrasha...@gmail.com: i am using layout (grid,hbox,vbox) and all the widgets are placed in it. I want a popup window which is a widget i created the widget popup = new WContainerWidget(); popup-setPopup(true); popup-show(); but its not

Re: [Wt-interest] suggestion for WTableView in mobile web view

2012-01-24 Thread Koen Deforche
Hey zhivko, 2012/1/24 zhivko vasilev e.zhi...@gmail.com: Hello All, I need a suggestion about how to use WTableView in a mobile web view. In the app a WTableView is using ajax mode to reload items and it working excellent on the desktop. When recompile the app for iOS or Android it turn

Re: [Wt-interest] suggestion for WTableView in mobile web view

2012-01-25 Thread Koen Deforche
Hey Zhivko, 2012/1/25 zhivko vasilev e.zhi...@gmail.com: Thank you Koen, Option 2 work pretty well. I hope if developement goes well to license Wt in next few month. It turn out witty is very good framework to build a native application regardless it main purpose is web. We've been doing

Re: [Wt-interest] Three problems

2012-01-30 Thread Koen Deforche
Hey Torsten, 2012/1/27 Torsten Schulz tssch...@gmx.net: I've three Problems. 1: I'll use in wt_config.xml the parameter reload-is-new-session = false. But then the internalPathChanged-event doesn't work. Could you specify more exactly what you observe? There shouldn't be any impact of

Re: [Wt-interest] Three problems

2012-02-01 Thread Koen Deforche
Hey Torsten, 2012/1/30 Torsten Schulz kont...@tseucs.de: 2012/1/27 Torsten Schulztssch...@gmx.net: I've three Problems. 1: I'll use in wt_config.xml the parameter reload-is-new-session = false. But then the internalPathChanged-event doesn't work. Could you specify more exactly what you

Re: [Wt-interest] treeview example, toggle stripes

2012-02-03 Thread Koen Deforche
Hey Frans, 2012/2/1 Frans Meulenbroeks fransmeulenbro...@gmail.com: As part of learning Wt I've been playing with the treeview example. One of the buttons is Toggle Stripes. This one does toggle alternatingRowColors. According to the doc this gives the alternate color in the css. However the

Re: [Wt-interest] submenus with WPopupMenu/WPopupMenuItem does not work

2012-02-25 Thread Koen Deforche
He Stefan this is a release defect in 3.2.0, there is a simple patch floating around that fixes IT. And 3.2.1 is just around the corner. Regards, Koen On Feb 24, 2012 10:51 PM, Stefan Ruppert s...@myarm.com wrote: Hi all, I just noticed that submenus with WPopupMenu does not work correctly.

Re: [Wt-interest] Concurrency with public resources.

2012-03-07 Thread Koen Deforche
Hey, Would I be correct in assuming that, for the resource deployed as above, WResource::handleRequest() may be called concurrently on the same instance (i.e. the one that I add with WServer::addResource()) and, as such, needs to be thread-safe? Yes, wt will allow concurrent requests handled

Re: [Wt-interest] How to do Authentication without Using Wt::Auth::AuthWidget

2012-03-09 Thread Koen Deforche
Hey, Op 1 maart 2012 13:20 heeft anusha pullela.anu...@gmail.com het volgende geschreven: Hi,  iam new to witty,could u plz help with my issue.  i have a requirement where i require Authentication logic but i dont require any Login UI(that is WT::Auth::AuthWidget is not required to show). i

Re: [Wt-interest] Bug in WGoogleMap::zoomWindow

2012-03-10 Thread Koen Deforche
Hey Lars, Op 27 februari 2012 18:02 heeft Lars Hamren ham...@sdu.se het volgende geschreven: There is a rather subtle bug in     WGoogleMap::zoomWindow (const Coordinate topLeft, const Coordinate bottomRight)     ...     Coordinate topLeftC     = topLeft;     Coordinate rightBottomC =

Re: [Wt-interest] Wt::Dbo::ptrC

2012-03-10 Thread Koen Deforche
Hey Denis, Op 29 februari 2012 00:50 heeft Denis Talakevich denis.talakev...@onat.edu.ua het volgende geschreven: for prevents conflicts between concurrent transactions it is better to use optimistic offline lock, but  encountered with some problems: I am afraid I don't fully understand the

Re: [Wt-interest] WGoogleMap and WGridLayout

2012-04-02 Thread Koen Deforche
Hey, I'm experimenting a strange behaviour and I thought I'd asked here whether this is expected before submitting a bug report together with a sample test case. I've got a WGridLayout with a WGoogleMap in it. Every time I insert a widget in this layout manager the google map is redrawn,

Re: [Wt-interest] layout problems with witty 3.2.1

2012-04-05 Thread Koen Deforche
Hey, Op 5 april 2012 11:55 heeft Nagaev Boris bnag...@gmail.com het volgende geschreven: Hello! I have tried it with last git (0a8301eac8ebf83c5897ad43e53f3584c05b5fd1). It keeps failing http://i40.tinypic.com/33fdnk4.jpg Oops, indeed a layout manager inside a WGroupBox is broken. The

Re: [Wt-interest] Crashes and asserts with large WTreeViews

2012-04-16 Thread Koen Deforche
Hey Stefan, Op 10 april 2012 16:47 heeft Stefan Ruppert s...@myarm.com het volgende geschreven: Hi all, I managed to use the WTreeView to load thousands and more tree items from our database. It works fine, but sometimes when I select a new tree which will remove the complete old large tree

Re: [Wt-interest] Wt HAProxy doubts

2012-04-20 Thread Koen Deforche
Hey, Op 19 april 2012 19:42 heeft Mohammed Rashad mohammedrasha...@gmail.com het volgende geschreven: My doubts. 1. How haproxy  does load balancing for wt apps because in wt wiki i found this $ app.wt --session-id-prefix=wt1 --http-port 9090 ... $ app.wt --session-id-prefix=wt2

Re: [Wt-interest] SERIOUS Bug within WStandardItem class (Was Re: Crashes and asserts with large WTreeViews)

2012-04-27 Thread Koen Deforche
Hey Stefan, Op 26 april 2012 18:23 heeft Stefan Ruppert s...@myarm.com het volgende geschreven: Hi Koen, today I had some time to debug the crashes with large tree views. In fact I think I have found a serious bug within WStandardItem class. Currently I'm using a WStandardItemModel which is

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

2012-04-27 Thread Koen Deforche
Hey, Op 25 april 2012 21:54 heeft Andrii un...@list.ru het volgende geschreven: Do you have example widget http://www.webtoolkit.eu/widgets#/form-widgets/wfileupload updated to version 3.2.1? Yes it is. When I try to upload a file at your site using the link above, it works (shows Last

Re: [Wt-interest] link WTableView to sql table

2012-04-27 Thread Koen Deforche
Hey Oto, Op 27 april 2012 11:31 heeft Oto Magaldadze omagalda...@yahoo.com het volgende geschreven: oh maan so i need to create a separate class to each of the tables i need to connect to ?? :(( Yes. There is actually an alternative more Qt-like model floating around somewhere too, which

Re: [Wt-interest] SERIOUS Bug within WStandardItem class (Was Re: Crashes and asserts with large WTreeViews)

2012-04-27 Thread Koen Deforche
Hey Stefan, Op 27 april 2012 16:04 heeft Stefan Ruppert s...@myarm.com het volgende geschreven: When you get the assert, could you get a complete stack trace to see how sourceRowsRemoved() is part of it ? As you can see here sourceRowsRemoved() is involved: #9  0x2b977af09472 in

Re: [Wt-interest] html table, file open/save dialog

2012-04-30 Thread Koen Deforche
Hey, It seems that you are looking for this: http://www.webtoolkit.eu/wt/doc/reference/html/classWt_1_1WPushButton.html#ab33d4bb1d2f32ecf798626d19ca2a0df Regards, koen -- Live Security Virtual Conference Exclusive live

Re: [Wt-interest] object subtree update strategy

2012-05-02 Thread Koen Deforche
Hey, 2. for the same session multiple request may be sent and processed on different trees Not exactly. Requests are serialized at the browser already (queued if necessary). 3. these multiple requests may be handled on different threads What is the locking mechanism principle to avoid to

Re: [Wt-interest] Auto reload sometimes [A serious bug]

2012-05-07 Thread Koen Deforche
Hey Mohammed, Op 7 mei 2012 06:38 heeft Mohammed Rashad mohammedrasha...@gmail.com het volgende geschreven: updated to latest git here is the log: Thanks. We are investigating this issue which was also noticed by somebody else (which is why we are logging the expiration time in git). If you

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

2012-05-08 Thread Koen Deforche
Hey, 2012/4/29 under un...@list.ru: Hi, Koen. Thanks for reply. Attaching log of what happens after I choose a file to upload. Thanks. We have a the moment two different reports on the same issue. Since we still can't reproduce it easily, I'm going to commit some more debugging information to

Re: [Wt-interest] Adding individual Icons to WTabWidget

2012-05-08 Thread Koen Deforche
Hey Marco, 2012/5/4 Marco Wagner wagner.ma...@gmail.com: I need to add inidividual icons on the left side of the labels on a WTabWidget. I solved this by adding an img tag to the WMenuItem-itemWidget() with a seperate javascript call. But this seems to be a bad idea because this is

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

2012-05-09 Thread Koen Deforche
Hey Zhimin, 2012/5/9 Zhimin Song cszhms...@gmail.com: cx.wt:1POST http://210.31.7.39/sys/cx.wt?wtd=eoPBNgym23cOqcs0request=resourceresource=o50hvz0rand=0 404 (Not Found) This URL seems correct though -- how do you deploy your application and do you see this request also in the log file (of

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

2012-05-09 Thread Koen Deforche
Hey Zhimin, 2012/5/9 Zhimin Song cszhms...@gmail.com: 2.Click System-Files anchor into the new internal path: /sys/files, log said: [Wed May 09 15:01:57 2012] [error] [client 210.31.7.37] File does not exist: /var/www/cx/sys, referer: http://210.31.7.39/sys/files Aha, that may explain both

Re: [Wt-interest] How to add a WScrollArea to a WPaintedWidget?

2012-05-13 Thread Koen Deforche
Hey stefan, On May 9, 2012 9:39 AM, Stefan Ruppert s...@myarm.com wrote: I have written a custom WAbstractChart Widget which renders some diagrams into it. The diagram width can be greater than the WPaintedWidget width. I have tried to put the chart in WScrollArea but this does not work for

Re: [Wt-interest] CSS oddity when WPanels are put into WDialogs

2012-05-15 Thread Koen Deforche
Hey, .Wt-dialog .titlebar {     background: #88; color: #FF;     cursor: move;     padding: 2px 6px 3px; } That seems indeed wrong. We'll fix this, but as a work around, you could add a more specific CSS selector to your own CSS files, which overrides the nested panel-in-dialog

Re: [Wt-interest] chart plot configuration

2012-05-21 Thread Koen Deforche
Hey, 2012/5/17 Massimo Di Stefano massimodisa...@gmail.com: -  when i try to display more than one category in the bar plot  the data are too dense and the color are bad-rendered (all dark) also without shadow    is there a way to set fill-shape and the border-line to the same color (maybe

Re: [Wt-interest] How to add a WScrollArea to a WPaintedWidget?

2012-05-21 Thread Koen Deforche
Hey Stefan, 2012/5/18 Stefan Ruppert s...@myarm.com: Ok, I understand. Then its maybe a problem of my used layout managers and widgets... The chart is put into a WContainerWidget using a VBoxLayout. The container widget is than added to a WStackedWidget which is added to another VBoxLayout...

Re: [Wt-interest] WTableView in a resizable dialog

2012-05-24 Thread Koen Deforche
Hey Steven, 2012/5/24 Steven Pier [GenoData GmbH] p...@genodata.de: Hi, i'm using a WTableView in a WDialog. The dialog is resizable (a small code example below). When i resize the dialog (with the mouse), the WTableView is not resizing to the new size. When i select the list-item, the

Re: [Wt-interest] Mixing Boost.Asio and Wt

2012-06-04 Thread Koen Deforche
Hey Rutger, 2012/6/2 Rutger ter Borg rut...@terborg.net: Next, I found that even a basic wt example was crashing without a good reason. After some more research, I found that it is, indeed, a compilation error. But it didn't have anything to do with Boost or Wt versions. I'm compiling against

Re: [Wt-interest] some examples do not display messages from xxx.xml

2012-06-07 Thread Koen Deforche
Hey Joseph, 2012/6/5 Joseph VanAndel vanan...@ucar.edu I'm using Wt 3.2.1 with boost 1.49.0 on Scientific Linux 6.2, displaying the web applications with Chrome 19.0.1084.53 (on my Mac) I compiled examples/composer and run it as suggested in wt-3.2.1/INSTALL: $ cd ../examples/composer #

Re: [Wt-interest] some examples do not display messages from xxx.xml

2012-06-08 Thread Koen Deforche
Hey Joseph, 2012/6/8 Joseph VanAndel vanan...@ucar.edu: Correction - my version of wt_config.xml must have been over-written, so not all the messages were enabled. Now I do see many more debug messages, but now I'm not sure what I'm looking for to isolate this problem. I would suggest to edit

Re: [Wt-interest] Simulating Wt Apps

2012-06-11 Thread Koen Deforche
Hey Mohammed, 2012/6/11 Mohammed Rashad mohammedrasha...@gmail.com: I want to test loading Wt Application including the load generated by Wt(rendering) Yes I need to simulate actual AJAX sessions. I tried using WTestEnvironment but is not what I really need. One thing I use JMeter is that

Re: [Wt-interest] Simulating Wt Apps

2012-06-11 Thread Koen Deforche
Hey Mohammed, 2012/6/11 Mohammed Rashad mohammedrasha...@gmail.com: Is there any way? What about siege[1]? [1] http://www.joedog.org/siege-home/ When I tried sending request using JMeter i can see request coming in Wt app log but work is not getting done (eg: a db insertion) Ah. That's

Re: [Wt-interest] Simulating Wt Apps

2012-06-11 Thread Koen Deforche
Hey Mohammed, 2012/6/9 Mohammed Rashad mohammedrasha...@gmail.com: Is there any tool which does simulation testing for Wt apps I tried siege, ab, JMeter but none are doing simulation properly I need to do simulation testing to check the load and max number of users. I've done this in the

Re: [Wt-interest] ProgressBar and FileUpload bug

2012-06-20 Thread Koen Deforche
Hey Jordi, 2012/6/16 Jordi Rovira jo...@anticto.com:   If setting a WFileUpload with a WProgressBar which already has a parent, the WFileUpload freezes when it should start uploading. Thanks. I fixed it in my git copy, will be in public git soon. Regards, koen

Re: [Wt-interest] Some comments on UpdatePasswordWidget

2012-06-20 Thread Koen Deforche
Hey Jordi, 2012/6/14 Jordi Rovira jo...@anticto.com: I have some comments on the UpdatePasswordWidget class (github trunk), which i reflect in the diff at the end of the mail. There are two minor changes i had to make: - the first one is a null pointer check for the authModel_. It can be

Re: [Wt-interest] JavaScript level encryption

2012-06-28 Thread Koen Deforche
Hey, 2012/6/27 Nagaev Boris bnag...@gmail.com: Hello! Long time ago I had a crazy idea of using public key cryptography through JS. I know about SSL, but unfortunately it has one big problem: you are to buy a certificate (actually, sign a certificate by certificate authority). Certificate

Re: [Wt-interest] Mac Ports based installer

2012-06-28 Thread Koen Deforche
Hey Craig, 2012/6/27 Craig Miller craig.mil...@spatialminds.com: This morning I've been looking into building a Mac Ports based Wt installer.   Before I get too much further into this, it occurred to me that I should check and see if anyone else has already done work in this area. I don't

Re: [Wt-interest] Checksums

2012-06-30 Thread Koen Deforche
Hey Craig, 2012/6/30 Craig Miller craig.mil...@spatialminds.com: I'm working on a Mac Ports based installer for Wt and am looking for an md5 checksum to validate the download.  I took a a look at http://sourceforge.net/projects/witty/files/wt/3.2.1 but didn't see them there.  Are the

Re: [Wt-interest] [PATCH] WTimer::start() does not restart the timer

2012-07-12 Thread Koen Deforche
Hey Stefan, 2012/7/11 Stefan Ruppert s...@myarm.com: Hi, if WTimer::start() is called on an active timer nothing happens. A restart of the timer would be better IMHO. The Qt QTimer also restarts the timer. Attached is a patch for restarting an active timer. Looks good, thanks ! Regards,

Re: [Wt-interest] [PATCH] ToolTip support for WPieChart legend widget

2012-07-12 Thread Koen Deforche
Hey Stefan, 2012/7/11 Stefan Ruppert s...@myarm.com: Hi, I have added ToolTip support within WPieChart::createLegendItemWidget() method, if the underlying model has an tooltip for an item. See the attached patch. Looks fine too, thanks. Regards, koen

Re: [Wt-interest] Get a decodeSignal() error from WTabWidget with a WPopupMenu open

2012-07-12 Thread Koen Deforche
Hey Stefan, 2012/7/12 Stefan Ruppert s...@myarm.com: I get the following decodeSignal() error everytime a popup menu is open and I click on a tab of a WTabWidget. See the attached screenshot section. [error] Wt: decodeSignal(): signal 's4b' not exposed Each tab seems to have its own signal:

Re: [Wt-interest] Code generation script - RFC

2012-07-12 Thread Koen Deforche
Hey Matthew, 2012/7/11 Matthew Sherborne msherbo...@gmail.com: I've made an initial plan: https://github.com/matiu2/witty-codegen/blob/master/README.md I believe this is really a good idea. Development often starts by 'copying' an existing project, and a code generator should be able to do

Re: [Wt-interest] Get a decodeSignal() error from WTabWidget with a WPopupMenu open

2012-07-12 Thread Koen Deforche
Hey Stefan, 2012/7/12 Stefan Ruppert s...@myarm.com: I use the stable Wt 3.2.1. Does this mean it was changed between 3.2.1 and the upcoming 3.2.2? Yes, it was. You could try the Wt 3.2.2 release candidate ? Regards, koen

Re: [Wt-interest] WSortFilterProxyModel questions

2012-07-13 Thread Koen Deforche
Hey, 2012/7/12 mari...@terra.cl: The problem arises when I try to add a new row (the data is added using a WStandardItem's setItem() method directly over the WStandardItemModel widget). If the dynamicSortFilter property is set to true, when the program loads the data corresponding to the

Re: [Wt-interest] Changed behaviour in WAbstractItemView doubleClicked

2012-07-26 Thread Koen Deforche
Hey, 2012/7/25 Marco Kinski wagner.ma...@gmail.com: Hi, after Update to Version 3.2.2 the doubleClicked event in WAbstractItemView does not anymore change the selected entry. Do i have to adapt my code or is this a unwanted sideeffect of the recent changes? This is a fix (although one can

Re: [Wt-interest] New grid layout management

2012-07-27 Thread Koen Deforche
Hey Antonio, 2012/7/26 Antonio Mancina amanc...@mbigroup.it: Hi all, I recently switched to wt-3.2.2. I've been struggling for a few days with a much complex application of mine and tried to let it present itself in the way I'm used to see it, with no success. So I decided to track the

Re: [Wt-interest] Problem stretching WTableViews

2012-08-01 Thread Koen Deforche
Hey Florian, 2012/8/1 Florian Zirker zir...@genodata.de: I have two WTableViews in an WHBoxLayout. Between the tables is a Container with 2 Buttons. The left Table has 3 Columns, but the right Table has only one Column. I want that the right table is twice as large as the left. So I inserted

Re: [Wt-interest] WTreeView and Layouts

2012-08-03 Thread Koen Deforche
Hey Graeme, First of all, it seems that you want to achieve the effect that a expanding and collapsing items in the treeview resizes the treeview ? This is not the default behavior, as by default scrollbars will be used to accomodate the contents within a given space. That you see the text

Re: [Wt-interest] OSX - Boost 1.5.0 linking

2012-08-06 Thread Koen Deforche
Hey Craig, 2012/8/6 Craig Miller craig.mil...@spatialminds.com: Fantastic. I'll give the build a try first thing tomorrow. :) Since I'm working on a macport portfile, any idea when it'll be ready as a tgz? No hurry on my end, just wondering when I might be able to integrate it. You can

Re: [Wt-interest] Layout problems when upgrading to 3.2.2-pl1

2012-08-06 Thread Koen Deforche
Hey Stefan, 2012/8/6 Stefan Ruppert s...@myarm.com: I have a really complex grid layout which does not work anymore when using 3.2.2-pl1. Currently the main problem is that I have a WContainerWidget within a grid cell which uses a WVBoxLayout. I add two other widgets (WGroupBox and WComboBox)

Re: [Wt-interest] Layout problems when upgrading to 3.2.2-pl1

2012-08-06 Thread Koen Deforche
Hey Stefan, On Aug 6, 2012 2:26 PM, Stefan Ruppert s...@myarm.com wrote: Hi Koen, Yes, it fixed that error. Thanks. But it seems to me that the 3.2.2 is slower in reaction to mouse clicks. Is this possible due to the doubleClicked() changes? Yes, although you should only notice the built

Re: [Wt-interest] Wt 3.2.2 Grid layout problem

2012-08-06 Thread Koen Deforche
Hey Stefan, 2012/8/6 Stefan Ruppert s...@myarm.com: Hi all, I encountered another 3.2.2 grid layout problem. The following example uses a grid layout where the right most column of the grid can be resized by the user. If this column is now increased by the user the main grid cell with the

Re: [Wt-interest] WAbstractItemView single/double click? (Re: Layout problems when upgrading to 3.2.2-pl1)

2012-08-07 Thread Koen Deforche
Hey Stefan, 2012/8/7 Stefan Ruppert s...@myarm.com: Ok, I noticed that latency in a WTableView. Is it possible to control whether a WAbstractItemView wants to handle a single and/or double click? Maybe something like WAbstractItemView::enableDoubleClick(bool enable)? I've made it so that a

Re: [Wt-interest] Site not access outside the company

2012-09-03 Thread Koen Deforche
Hey John, 2012/8/20 John Robson john.rob...@usp.br: Hi everybody, Within the company the site works perfectly, but not outside the company. I use Ubuntu 12, and IPTables is accepting Everything, but still does not work. Did you eventually solve this problem, and what was the cause ?

Re: [Wt-interest] Wt 3.2.2 Grid layout problem

2012-09-03 Thread Koen Deforche
Hey Stefan, 2012/8/7 Stefan Ruppert s...@myarm.com: The change worked here fine. Thanks. But I still have some issues with the new grid layout. We have a WComboBox which can be used to show different WGroupBox's below the WComboBox in a WVBoxLayout of the WGridLayout. Thus when the user

Re: [Wt-interest] Rendering problems with customized editor in a WtableView

2012-09-03 Thread Koen Deforche
Hey Marco, 2012/8/8 Marco Kinski wagner.ma...@gmail.com: Hi List, i am trying to edit an item shown in a WTableView over a WSelectionBox as editor specified by a derived WItemDelegate. My problem is that the WSelectionBox gets cut in height to the max height of the underlaying cell. This

Re: [Wt-interest] WTableView - Vertical Scrolling

2012-09-05 Thread Koen Deforche
Hey Craig, See also the test case below. Regards, koen #include Wt/WStandardItemModel #include Wt/WStandardItem #include Wt/WContainerWidget #include Wt/WTableView using namespace Wt; int cols = 300; int rows = 1000; class TestApp : public WApplication { public: void

Re: [Wt-interest] A doubt regarding Wt rendering or performance

2012-09-11 Thread Koen Deforche
Hey Mohammed, 2012/8/10 Mohammed Rashad mohammedrasha...@gmail.com: In firebug I can see for each mouseMove a request is sent to wt app ofcourse I connected mouseMoved event to mouseMove function but if i do a simle HTML+JS code with a mousmove event nothing comes on firebug and its a

Re: [Wt-interest] circular dependency detected

2012-09-11 Thread Koen Deforche
Hey Boris, 2012/8/18 Nagaev Boris bnag...@gmail.com: Starting with version 3.2.2, Wt::Dbo throws strange exception circular dependency detected. 1. What is wrong with circular dependency in database? There are a lot of examples, when it is needed. It seems that indeed we are being overly

Re: [Wt-interest] Wt 3.2.2 Grid layout problem

2012-09-18 Thread Koen Deforche
Hey Stefan, 2012/9/18 Stefan Ruppert s...@myarm.com: Hi Koen, could you reproduce the bug with my example? When do you think this can be fixed? Its a major issue for us for upgrading to 3.2.2! Yes, I believe I have solved the issue. It was relating to removing and reading a nested layout

Re: [Wt-interest] Strange behavior of Wt::WString.trn()

2012-09-18 Thread Koen Deforche
Hey, 2012/9/18 Offirmo offirmo@gmail.com: I'm using Wt integrated i18 functions. I'm following exactly the example given in Wt doc here : http://www.webtoolkit.eu/wt/doc/reference/html/classWt_1_1WMessageResourceBundle.html My resource files is defined like this : ?xml version=1.0

Re: [Wt-interest] undocumented Wt::Utils functions

2012-09-25 Thread Koen Deforche
Hey Olaf, 2012/8/28 Olaf Radicke briefkas...@olaf-radicke.de: https://github.com/kdeforche/wt/blob/master/src/web/WebUtils.h snip // in-place replace functions extern std::string replace(std::string s, char c, const std::string r); extern std::string replace(std::string s, const std::string

Re: [Wt-interest] 3.2.2-p1 - WAxis.C assertion failure with scale_ = LinearScale

2012-09-27 Thread Koen Deforche
Hey Joseph, 2012/9/19 Joseph VanAndel vanan...@ucar.edu: Correction to my fix: if (scale_ == LinearScale) resolution = fabs(1e-3 * segment.renderMinimum) Good catch. Floating point will kill us ! koen --

Re: [Wt-interest] Wt-3.2.2: Problem concerning WTextEdit in WDialog

2012-09-27 Thread Koen Deforche
Hey Marc, 2012/8/31 Marc Faber marc.fa...@web.de: Do you intend to make TinyMCE 3.5.6 work under Wt as well? I updated to that version, but when I open the dialog my WTextEdit is in, another script error occurs. This time, it fails inside tiny_mce.js, but I cannot really tell why that is. It

Re: [Wt-interest] Clean easy way to get to WServer from inside WApplication

2012-09-27 Thread Koen Deforche
Hey Neil, Just for completeness (for anyone else googling for this). You can get the server instance from: environment().server() WServer::instance() would also mostly work, unless you are having more than one instance around (which is something rare, but nevertheless supported !). Regards,

Re: [Wt-interest] WString({1}).arg(size_t) support?

2012-09-27 Thread Koen Deforche
Hey Stefan, std::size_t would be supported by adding 'unsigned' to the arg() overloads, which I've done now in my git copy. Regards, koen 2012/9/4 Stefan Ruppert s...@myarm.com: Hi, I uses often some STL container with the WString() argument formatting such like: std::vectorWString names;

Re: [Wt-interest] Bug report. (WStackedWidget or WMenu regression.)

2012-09-28 Thread Koen Deforche
Hey Dmitriy, 2012/9/28 Dmitriy Igrishin dmit...@gmail.com: Hey, As of commit dcb05d4631a2494bd49425adf417b071e3b3f0a0 something wrong with WStackedWidget (or WMenu). Aw aw. Fixed. Regards, koen -- Got visibility?

Re: [Wt-interest] Ext::Toolbar polished theme?

2012-10-01 Thread Koen Deforche
Hey Craig, 2012/9/29 Craig Miller craig.mil...@spatialminds.com: Perhaps my google-fu isn't the best, but I can't seem to find any info on how to get the Ext::Toolbar to match the rest of a Wt App that's using the polished CSS theme. Can anyone point me in the right direction? I've seen

Re: [Wt-interest] WDatePicker - onChanged

2012-11-04 Thread Koen Deforche
Hey Craig, 2012/11/2 Craig Miller craig.mil...@spatialminds.com: Using Wt 3.2.2 from git, I noticed that selecting a date via the calendar popup changes the text field, but doesn't fire the changed Signal. The documentation indicates that there is a popupClosed signal, but this doesn't

Re: [Wt-interest] Grid Layout issue

2012-11-07 Thread Koen Deforche
Hey Joseph, 2012/11/6 Joseph VanAndel vanan...@ucar.edu: Given the recent changes in how Wt does layout, has anyone written a best practices document that explains the best ways of laying out widgets with Wt? Our recommendation is that you should prefer CSS-based layouts whenever you can, and

Re: [Wt-interest] detecting dead sessions (before its too late!)

2012-11-12 Thread Koen Deforche
Hey Rob, 2012/11/12 Rob Van Dyck rob.van.d...@gmail.com: Hi, Since the post+bind normally happens outside the wt thread, is there a way to know the wApp is not yet deleted when you do the binding? For example, can you ask the WServer using the sessionid? So, yes, actually you need to bind

<    5   6   7   8   9   10   11   12   13   >