Re: [Wt-interest] What is the best way to set up FastCGI itself for Wt

2009-04-14 Thread Koen Deforche
Hey Sean, 2009/4/12 DeNigris Sean s...@clipperadams.com: My server has almost 20 different options for FastCGI apps.  What would be the best settings for Wt?  Are there any settings that are always (or almost always) best/incompatible? Unfortunately, much will depend on the server software

Re: [Wt-interest] javascript in code

2009-04-14 Thread Koen Deforche
Hey Alex, 2009/4/13 Alex telemet...@ukr.net: Hi, Yes, now all work. What is about  stateless WTimer event - code  JSlot java;  java.setJavaScript(script);  timer-setInterval(timeout);  timer-timeout().connect(java);  timer-start(); generate event to server every timeout. Good point.

Re: [Wt-interest] garbage in translated strings

2009-04-14 Thread Koen Deforche
Hey Andrii, 2009/4/7 Andrii Arsirii un...@streamco.org.ua: For some unknown reason Wt(2.1.5) produces translated strings with starting and trailing garbage (newlines and whitespaces). Dumping such strings shows 10 32 32 32 Normal string 10 32 32 32 or similar output (I don't remember).

Re: [Wt-interest] 2.2.4?

2009-04-14 Thread Koen Deforche
Hey Pau, 2009/4/14 Pau Garcia i Quiles pgqui...@elpauer.org: Hello, Will 2.2.4 be released any time soon? (there's a transit time of about 1-2 weeks in making a new version of the Debian package available, so I'd like to know if I should fix the bug Martin found now or if I'd better wait

Re: [Wt-interest] Solved: post data exceeded [...], also max-request-size ignored

2009-04-14 Thread Koen Deforche
Hey Martin, 2009/4/14 Martin Dietze d...@fh-wedel.de: On Tue, April 14, 2009, Martin Dietze wrote:  I've written a small image search enging which contains a file upload for the images to check against. Now as soon as I open the application for a second time in a new tab, uploading will

Re: [Wt-interest] Switching Between Visible Dialogs

2009-04-16 Thread Koen Deforche
Hey Archimedes, 2009/4/14 Koen Deforche k...@emweb.be: Hey Archimedes, 2009/4/7 Archimedes B. Cortes acor...@gmanmi.tv: I've created two dialogs and made them both visible. There is one current active dialog, the last one that was created in the constructor. Now, I want to switch

Re: [Wt-interest] cmake -DCMAKE_CXX_FLAGS=-library=stlport4 change not CXX_FLAGS in Makefile

2009-04-18 Thread Koen Deforche
Hey Urs, 2009/4/17 Urs Stotz st...@napali.borg.ch: hi all, I try to build wt on Solaris 10 (sparc) with Sun C++ 5.9. For this the compiler and linker flags: -library=stlport4 is required (the compiler/linker default is broken for modern C++ code). I try to run cmake with:  

Re: [Wt-interest] Session hadling HTTP direct download

2009-04-20 Thread Koen Deforche
Hey Grant, 2009/4/20 Grant Gray gr...@grantgray.id.au: 1. Session management - what is the suggested method for session validation on each page request, and redirecting to a login page where the session has expired (ie. front-director behavior)? Session validation happens automatically by Wt

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

2009-04-21 Thread Koen Deforche
Hey Zhimin, 2009/4/20 zhimin song cnrob...@gmail.com: hi, all the definition of WFileUpload::isUploaded() is:   bool isUploaded() const { return fileUploadTarget_ != 0; } but the comments of it are: Check with isUploaded() if upload() will schedule a new

Re: [Wt-interest] javascript in code

2009-04-21 Thread Koen Deforche
Hey Alex, 2009/4/14 Koen Deforche k...@emweb.be: Good point. That should indeed not be the case, but I can imagine why it does... To be fixed! A fix is in git. Regards, koen -- Stay on top of everything new

Re: [Wt-interest] WT:WTimer sends multiple signals if started/stopped in timer period (Wt 2.2.3)

2009-04-21 Thread Koen Deforche
Hey Goetz, 2009/4/17 Goetz Babin-Ebell goetz.babin-eb...@4g-systems.com: Hello, If I create a timer, start it, stop it and start it again in the timer period, it will send multiple signals (one for each start). To reproduce: * build the attached program, * run it * point your browser on

Re: [Wt-interest] cannot build from last cvs

2009-04-22 Thread Koen Deforche
Hey Guy, It might be that your BOOST_COMPILER setting does not match. Can you list: $ ls /usr/local/boost_1_38/lib/libboost_regex* For example, the BOOST_COMPILER must match 'gcc42' in: libboost_regex-gcc42-mt.so Regards, koen

Re: [Wt-interest] WT:WTimer sends multiple signals if started/stopped in timer period (Wt 2.2.3)

2009-04-22 Thread Koen Deforche
Hey Goetz, indeed... I guess I was lucky with the uninitialized values while testing ? Regards, koen 2009/4/22 Goetz Babin-Ebell goetz.babin-eb...@4g-systems.com: On Tue, 2009-04-21 at 11:35 +0200, Koen Deforche wrote: Hey Goetz, Hello Koen, 2009/4/17 Goetz Babin-Ebell goetz.babin-eb...@4g

Re: [Wt-interest] crash with getParameter call

2009-04-23 Thread Koen Deforche
Hey Guy, 2009/4/23 Guy Deleeuw g.de_le...@eurofer.be: Hello  From last cvs 2.99, wt crash in this call : wApp-environment().getParameter(param); param = userID Careful! The behavior was changed. It probably crashes because you try to assign the result (0) to a std::string. See

[Wt-interest] Wt 2.2.4

2009-04-24 Thread Koen Deforche
Hey all, Before the weekend starts: a quick note that we have uploaded Wt 2.2.4, which is a bug-fix only release. This might very well be the last release in Wt 2.2, as most upgrade quirks seem to have been eliminated from the new branch (Wt 2.99.x), and we can come to a solid 3 release soon !

Re: [Wt-interest] crash in 2.99.1

2009-05-04 Thread Koen Deforche
Hey Guy, 2009/5/1 Guy Deleeuw g.de_le...@eurofer.be: Hello I have a crash with this line :  std::string  strUserRootPath(WString::tr(rootPath).narrow()); Are you sure this is the offending line? I could not reproduce this. What is the context of this line: do you already have an

Re: [Wt-interest] using Wt with python and vice-versa

2009-05-04 Thread Koen Deforche
Hey Norman, 2009/4/25 norman norman_kh...@yahoo.co.uk: Hello, I would like to create a front end using Wt to an application that is currently running on a python library called itools from hforge.org Are there any examples of using Wt with python. Not that we are aware of -- it looks like

Re: [Wt-interest] bug in void DataStore::modelDataChanged

2009-05-04 Thread Koen Deforche
Hey Vadim, 2009/4/28 Vadim Pratkin vadim.prat...@gmail.com: Hello Witty-interest,   Sometimes DataStore::modelDataChanged is called with empty recordIds_ , so it causes error: void DataStore::modelDataChanged(const WModelIndex topLeft,                                 const WModelIndex

Re: [Wt-interest] get URL from env without application

2009-05-04 Thread Koen Deforche
cea77122f294cf4a01c47f90699232ce2aef48d9 Author: Koen Deforche k...@emweb.be Date: Mon May 4 18:09:17 2009 +0200 see Changelog diff --git a/Changelog b/Changelog index 69a65e4..66c7f75 100644 --- a/Changelog +++ b/Changelog @@ -6,6 +6,8 @@ * WCalendar: setSingleClickSelect() + * WEnvironment: getDeploymentPath

Re: [Wt-interest] WStackedWidget

2009-05-05 Thread Koen Deforche
Hey Adrian, 2009/4/28 Adrian Sutherland adr...@sutherlandonline.org: I think there is an issue with this Widget. On IE6 (and IE7) it is fine, but on Firefox on Linux the size of a child widget does not seem to be handled right. For example the scrollbar is not shown and instead the text in a

Re: [Wt-interest] plugin mechanism for custom plugins

2009-05-05 Thread Koen Deforche
Hey Mobi, 2009/4/29 mobi phil m...@mobiphil.com: Hello, I beleieve that more WT mature becomes, the more people will create more custom widgets. I think it would be not a bad idea to think about a single plugin mechanism, where one would be able to load at runtime custom widgets. Widgets

Re: [Wt-interest] Any singal to notify that rendering is completed.

2009-05-05 Thread Koen Deforche
Hey Sabir, 2009/5/5 Sabir dearsa...@gmail.com: Hi all, Is there any singal which notify that webpage rendering has completed . My main objective is to select an icon in Wt::WIconPair. If i try to select an icon before rendering , application crashes. So to avoid crash i think best way to

Re: [Wt-interest] crash in 2.99.1

2009-05-05 Thread Koen Deforche
Hey Guy, 2009/5/4 Guy Deleeuw g.de_le...@eurofer.be: Hello I confirm, the attachThread cause the crash. I can confirm that now too :-) The latest git fixes this regression. Rgards, koen -- The NEW KODAK i700 Series

Re: [Wt-interest] Terminal Emulator Advice

2009-05-05 Thread Koen Deforche
Hey Adrian, 2009/5/5 Wim Dumon w...@emweb.be: I would say to use Wt's server push capabilities to render updates to the screen, and to attach slots to the key signals. I would write it all in C++, and first do a version without custom JavaScript, which updates the entire viewable area on

Re: [Wt-interest] plugin mechanism for custom plugins

2009-05-07 Thread Koen Deforche
Hey Mobi, 2009/5/5 mobi phil m...@mobiphil.com: Koen, you were close... but missed the point however: the difference would be between: MyApplication::addWidget(Config config) { //#include MyWidget ... this is not necessary!!! MyWidget *widget =

Re: [Wt-interest] plugin mechanism for custom plugins

2009-05-07 Thread Koen Deforche
Hey Mobi, 2009/5/6 mobi phil m...@mobiphil.com: I am intending to start a project + webpage (forum + wiki + etc.) for the standalone wt application where following ideas would flow: * core WT application with: ** basic widgets ** database engine ** plugin layout management with xml or html

Re: [Wt-interest] Any singal to notify that rendering is completed.

2009-05-07 Thread Koen Deforche
Hey Sabir, 2009/5/5 Sabir dearsa...@gmail.com: Hi, Could you tell me which is the last step if its not rendering. Rendering *is* the last step. By the way i will tell about what i am trying to do here. I am trying to build a tree .In this tree i have an icon pair which says YES or NO. I

Re: [Wt-interest] Painting Questions

2009-05-18 Thread Koen Deforche
Hey Adam, 2009/5/7 Koen Deforche k...@emweb.be: The current painting API (which kind of copies of Qt's) should be extended to provide this functionality, since I agree with you that it may make sense in some cases. It would be implemented as an option to WPaintedWidget that indicates

Re: [Wt-interest] TreeView Column 0 Width

2009-05-18 Thread Koen Deforche
Hey Adrian, 2009/5/16 Adrian Sutherland adr...@sutherlandonline.org: The code implementing this in WTreeView.C uses a templateWidget and CSS rule for the Column 0 width. Other columns are resized directly. I am not sure why it does this? The reason is complex: its size is implicit based on

Re: [Wt-interest] StandradModel and TreeView Headers

2009-05-18 Thread Koen Deforche
Hey Adrian, 2009/5/11 Adrian Sutherland adr...@sutherlandonline.org: I've been working on this and think I may have come across a bug - I have unfortunately worked round it and don't have simple code to exploit it (sorry) Anyway the scenario is refreshing a Model - in this scenario I

Re: [Wt-interest] A Fill Widget For Ext::ToolBar

2009-05-18 Thread Koen Deforche
Hey David, 2009/5/13 David Galicia d.galici...@yahoo.com: Can Wt consider adding a fill widget for Ext::ToolBar that would push elements to the right of it? The widget will basically be like Ext::ToolBarSeparator except with createJS() like this: virtual std::string

Re: [Wt-interest] TreeView Bug

2009-05-18 Thread Koen Deforche
Hey Adrian, 2009/5/16 Adrian Sutherland adr...@sutherlandonline.org: If you set BOTH : - accountView-setColumnResizeEnabled(false); - accountView-setSortingEnabled(false); Fixed in latest git. Regards, koen --

Re: [Wt-interest] Wt internal error: TypeError: s.adjustHeaderWidthis not a function, code: undefined, description: undefined

2009-05-18 Thread Koen Deforche
Hey Rogier, 2009/5/11 Rogier Schouten rogier.schou...@besi.com: Hi Koen, Upgrading to 2.99.1 fixes the problem, thank you. I noticed another little bug in this version (I have already worked around this): You cannot call WTreeView::setSortingEnabled(true) if the model has no data yet: it

Re: [Wt-interest] [2.2.3] Arithmetic exception under load in fcgi mode

2009-05-19 Thread Koen Deforche
Hey Andrii, 2009/5/19 Andrii Arsirii un...@streamco.org.ua: Hi, Koen. You can find fix for this bug in attachment. Thanks a lot. Please review. Note that we can't use a mutex to protect sessionProcessPids_, because we can't lock mutex from signal handler. The reason is that the OS

Re: [Wt-interest] favicon

2009-05-19 Thread Koen Deforche
Hey Rogier, 2009/5/14 Rogier Schouten rogier.schou...@besi.com: Hi, I'd like to display a favicon for my web application, i.e. one of those icons that show up next to your bookmarks and inside the page tabs. Now there are two ways to do this: 1) Adding a file /favicon.ico to the root of

Re: [Wt-interest] [2.2.3] Arithmetic exception under load in fcgi mode

2009-05-20 Thread Koen Deforche
Hey Andrii, 2009/5/20 Andrii Arsirii un...@streamco.org.ua: Koen Deforche wrote: Do you know why the shared session processed die however? I guess it's some kind of programming bug (maybe mine) in application. Unfortunately, for some reason shared process (that seems to be forked by wt

Re: [Wt-interest] First time Witty user

2009-05-21 Thread Koen Deforche
Hey Bhushan, 2009/5/20 Bhushan Inamdar bhusha...@gmail.com: Hi all,     I am first time user of witty. I have over come the hurdles in installing boost and getting it right just for witty. However, I am not able to run the witty samples. As it says on the wiki page that after the code is

Re: [Wt-interest] Strange compile error in web/WebSession.C

2009-05-25 Thread Koen Deforche
Hey Richard, 2009/5/20 Richard Dale richard.j.d...@gmail.com: I'm trying to build the current git version of Wt and I get this error: [  7%] Building CXX object src/CMakeFiles/wt.dir/web/WebSession.o /home/rdale/src/wt/src/web/WebSession.C:62: error: ‘Wt::WebSession::Handler*

Re: [Wt-interest] Using unit tests.

2009-05-25 Thread Koen Deforche
Hey Michael, 2009/5/25 me...@ngs.ru me...@ngs.ru: Hello. Thanks for great library. I am trying to use unit tests (with cppunit) in my application. But when I've included some Wt objects my tests crashed, although main application works fine. As far as i understand according to documentation

Re: [Wt-interest] make error 2 installing wt (boost related)

2009-05-26 Thread Koen Deforche
Hey Osei, 2009/5/26 Osei Simba Hinds tr...@nyu.edu: Good day, I am installing wt-2.99.1 but when I try to make after using Cmake (config details I used below) I get a make: *** [all] Error 2 (an error I see a number of users have and some solved).  I have tried a few ccmake changes to point

Re: [Wt-interest] WStackedWidget

2009-05-28 Thread Koen Deforche
Hey Rogier, 2009/5/25 Rogier Schouten rogier.schou...@besi.com: Hi Koen, I took the latest git version (today, may 25th) but I still have problems. I have two WStackedWidgets inside a WGridLayout. The WStackedWidgets each have two child widgets. However, only the initially active child

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

2009-05-28 Thread 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 cnrob...@gmail.com: hi, all this is the test code based on wt-2.99.1 and Ubuntu, it does not contain the #include files for clarity: class Test : public

Re: [Wt-interest] Layout blues

2009-05-28 Thread Koen Deforche
Hey Rogier, 2009/5/15 Rogier Schouten rogier.schou...@besi.com: I’ve tried WBoxLayouts, WBorderLayouts and WGridLayouts, read the manual ten times, played with Alignment flags, resize() and setMinimumSize(), and there is still something I’m not getting about layouts. Wt's layout managers

Re: [Wt-interest] FCGI connector with shared processes 1

2009-05-28 Thread Koen Deforche
Hey Andrii, 2009/5/28 Andrii Arsirii un...@streamco.org.ua: Koen, your patch doesn't work at all. Web server (apache) is not responding. However, I've managed to fix this bug. Patch is in the attachment. It seems that I fixed the same problem in (a similar way) in latest git ? Regards,

Re: [Wt-interest] FCGI connector with shared processes 1

2009-05-28 Thread Koen Deforche
Hey Andrii, 2009/5/28 Andrii Arsirii un...@streamco.org.ua: In git you bind with sun_family=AF_LOCAL. But there was AF_UNIX before that. This patch didn't work on my host (FreeBSD 6.2) at all. I took that code from an example in the GNU libc manual. I get the feeling that named pipes has a

Re: [Wt-interest] WTreeView access violation

2009-05-28 Thread Koen Deforche
Hey Rogier, 2009/5/28 Rogier Schouten rogier.schou...@besi.com: Hi, I have a WTreeView showing a WStandardItemModel. It is initialized like this:   mModel = new WStandardItemModel(aParent);   mTreeView-setModel(mModel);   mTreeView-setHeaderHeight(0);   mTreeView-setRowHeight(20);  

Re: [Wt-interest] doGet

2009-05-29 Thread Koen Deforche
Hey Daniel, 2009/5/29 Daniel Derr daniel.d...@aheh.com: Is there a way in Wt to do a get request? I noticed there was a doGet method, however it is not in the public api. I would like to avoid installing an external library like curl if I can avoid it. I want to do a get to a https url with a

[Wt-interest] Wt 2.99.2 released

2009-05-29 Thread Koen Deforche
Hey all, We've just uploaded Wt 2.99.2. There is nothing much new in this release, but don't miss out on it since it contains lots of bug fixes and the occasional feature improvement that you might have been waiting for. See the ReleaseNotes for details:

Re: [Wt-interest] Weird: images are not rendered

2009-06-02 Thread Koen Deforche
Hey Martin, 2009/6/2 Martin Dietze d...@fh-wedel.de: Hi,  I just deployed my application to an amazon server and experienced this very strange behaviour: All images are simply not rendered, i.e. the markup does not even contain them. Some of the images are created dynamically, but the

Re: [Wt-interest] clear() crashed application

2009-06-02 Thread Koen Deforche
Hey Torsten, 2009/6/2 Torsten Schulz kont...@tseucs.de: Hello, since 2.99.2 my application crashed on WTableCell::clear(). And in Debugger he sayd it crashes in WContainerWidget::insertWidget if it goes to insertBefore(widget, children()[index]). Do you have changed anything I missed? Or

Re: [Wt-interest] Example for Wt::WSocketNotifier

2009-06-04 Thread Koen Deforche
Hey Roberto, 2009/6/2 roberto roberto.pal...@gmail.com: I'm working with Fedora 10 and boost 1.34.1 coming from the Fedora repo. wt is 2.2.4 Which version of boost do you recommend? I just tried our infamous WSocketNotifier with boost 1.34.1 and wt 2.2.4. This indeed seems to be broken.

Re: [Wt-interest] Terminal Emulator Advice

2009-06-10 Thread Koen Deforche
Hey Adrian, 2009/6/5 Adrian Sutherland adr...@sutherlandonline.org: I've got to the point that I have got the 3270 part working - connecting to the host etc. by mashing up with the s3270 program (of the x3270 suite). I can now display a screen! 3270/Mainframe screens are essentially

Re: [Wt-interest] FW: enableUpdates() and Ext::Button: slow signal/slot

2009-06-11 Thread Koen Deforche
Hey David, 2009/6/11 David Galicia d.galici...@yahoo.com: The tree view drag and drop example (from yesterday's Git), with enableUpdates() set to true, also shows slow reflexes like Ext::Button; they may not share the same problem though; I can't prove it =(. I tried doing this in treeview

Re: [Wt-interest] Render HTML Tag form/form

2009-06-16 Thread Koen Deforche
Hey Markus, 2009/6/16 markus.konhei...@t-online.de markus.konhei...@t-online.de: i have got the requirement, using this tag by default. Maybe there is a chance to overwork this concept by applying the css styles which are normally defined in this form tag on each textarea, lineedit,

Re: [Wt-interest] Character Problem (and in example)

2009-06-16 Thread Koen Deforche
Hey, So, how do i, to use HTML in order to apply a style on text without user's data interfere with the style? In another world, is there a function who permits to parse and escape a string to avoid the problem? You could one of the WWebWidget::escapeText() static methods:

Re: [Wt-interest] Using recursively WStandardItemModel in WTreeView

2009-06-17 Thread Koen Deforche
Hey Torsten, Sorry for the long delay, this mail slipped through my mailbox. 2009/6/3 Torsten Schulz kont...@tseucs.de Hello, it looks easy at first point, but I'm not able to do it. My Problem: I'l create a treeview with 3 columns, and the items should be set recursively. It is easy to

Re: [Wt-interest] problems using locale

2009-06-18 Thread Koen Deforche
Hey Markus, 2009/6/18 markus.konhei...@t-online.de markus.konhei...@t-online.de hi, i have got the problem that Ä, Ü and Ö cannot be displayed in a valid way. my text inside my witty application has to be conform of the german language, which isnt. all the time i did not use setLocale, and

Re: [Wt-interest] Optimising updates

2009-06-23 Thread Koen Deforche
Hey Adrian, 2009/6/22 Adrian Sutherland adr...@sutherlandonline.org Just a question. At the moment for my terminal emulator I tear down and recreate all the field widgets each time the screen refreshes (a mixture of WText and WLineEdit). So the user updates the screen and presses enter.

Re: [Wt-interest] Google ads.. I can't see what's wrong here.

2009-06-23 Thread Koen Deforche
Hey Jim, 2009/6/23 Jim Koornneef j...@goldencrater.com Hi all, I’m officially baffled. We wanted to add Google Adsense to at least one of the tabs in the app, if the user is using the ‘free’ version. So I dutifully follow the example ‘cu bart’ set out in one of his postings (thanks!)

Re: [Wt-interest] Optimising updates

2009-06-24 Thread Koen Deforche
Hey Adrian, 2009/6/23 Adrian Sutherland adr...@sutherlandonline.org Supplementary - does Wt detect no-op changes like setting style class to the existing style, etc. (as well as text changes)? Or is it better that I remember the old values and only call set methods when I need to?

Re: [Wt-interest] meta tags and favicon

2009-06-24 Thread Koen Deforche
Hey, 2009/6/23 scippio scip...@berounet.cz: favicon and meta tags are still not configurable? Favicons are configurable now using a property in the wt_config.xml. Meta tags not yet, but will also only be configurable using the wt_config.xml, as you cannot manipulate this using AJAX calls.

Re: [Wt-interest] Having problem aligning WImage vertically within the WTableCell using setContentAlignment(Wt::AlignMiddle).

2009-06-25 Thread Koen Deforche
Hey Jimmy, I am having bit of problem aligning WImage vertically within the WTableCell using setContentAlignment(). here is a snippet of my code. WTable * table = new WTable(NULL); WImage * formImage = new WImage(Icons/image1.jpg) table-elementAt(row,column)-addWidget(formImage);

Re: [Wt-interest] Encoding Problem

2009-06-25 Thread Koen Deforche
Hey, 2009/6/25 dyblast dybl...@gmail.com: Hi, I have again a problem with encoding and charset. I build a whois system with WT. No problem with standard characters but when i request a domain on whois.jprs.jp (for example toto.co.jp) there is a non-standard characters. If i use First, you

Re: [Wt-interest] rel attribute

2009-06-25 Thread Koen Deforche
Hey, 2009/6/25 scippio scip...@berounet.cz: How to set rel attribute to image? It is not (yet) supported directly, but you can use WImage::setAttributeValue() to set it. Regards, koen --

Re: [Wt-interest] Growing WMessageBox

2009-06-29 Thread Koen Deforche
Hey Markus, 2009/6/29 markus.konhei...@t-online.de markus.konhei...@t-online.de: i am using WMessageBox and i have got some timers running in background. each time a timer times out, the WMessageBox grows in height. Is it known? No. What version of Wt are you using and in what browsers do you

Re: [Wt-interest] Arbitrary data pointer accessible to widgets?

2009-07-02 Thread Koen Deforche
Hey Sean, 2009/7/2 Sean Chittenden s...@chittenden.org: It'd be super neat if Wt had either an an arbitrary object resource pool that is per-thread or a thread-safe per-WServer variation. I've hacked in a memcache and soci connection pool in to Wt, but it'd be nice if there was a formal API

Re: [Wt-interest] Optimising updates

2009-07-06 Thread Koen Deforche
Hey Adrian, 2009/6/28 Adrian Sutherland adr...@sutherlandonline.org: I found this post - http://forums.htmlhelp.com/index.php?showtopic=5399 Basically (if you believe the information) it seems you have to use a setTimeout() - which seems too much of a hack even for me! So what I did is use a

Re: [Wt-interest] scrolling

2009-07-06 Thread Koen Deforche
Hey Richard, 2009/7/1 Richard Ulrich ri...@paraeasy.ch: After updating my git working copy (after a while), content that is larger than the screen is no longer scrollable. Do I have to set some new property to get that back? I searched the online documentation and the mailing list, but didn't

Re: [Wt-interest] Growing WMessageBox

2009-07-06 Thread Koen Deforche
Hey Markus, I could not simply repeat your behavior. Do you have a small test case, or can you modify the test case below ? Regards, koen #include Wt/WApplication #include Wt/WMessageBox #include Wt/WPushButton #include Wt/WTimer #include boost/lexical_cast.hpp using namespace Wt; class Test

Re: [Wt-interest] WServer implementation

2009-07-07 Thread Koen Deforche
Hey Lars, 2009/7/7 Lars Hamren ham...@sdu.se: How do I change the cmake files so that the examples are linked to both http and fcgi libraries, not just the http library? You should change lines 83 to set EXAMPLES_CONNECTOR to both wthttp and wtfcgi. Good luck, koen

Re: [Wt-interest] Arbitrary data pointer accessible to widgets?

2009-07-08 Thread Koen Deforche
Hey Sean, 2009/7/7 Sean Chittenden s...@chittenden.org: Almost.  What I'd like is the following: void MyApp::foo() {   MyApp::instance()-req_resourcesoci_conn = MyApp::instance()-  soci_conn();   soci::session *sql = MyApp::instance()-req_resourcesoci_conn;   sql.begin();   MyModel

Re: [Wt-interest] WServer implementation

2009-07-08 Thread Koen Deforche
Hey Lars, 2009/7/8 Lars Hamren ham...@sdu.se: Hi, There is a new version available at http://www.sdu.se/tmp/. WRun() no longer references WTHTTP_CONFIGURATION. WRun now parses the '--server-type,-s' argument to determine which server to create. I looked at your previous version and liked

Re: [Wt-interest] WServer implementation

2009-07-13 Thread Koen Deforche
Hey Lars, 2009/7/8 Lars Hamren ham...@sdu.se: Hi, Koen I looked at your previous version and liked it alot. Thank you, that's nice to hear. And I like Wt a lot. I am still thinking about how to assume a sensible default... In yet another version, now uploaded, I have implemented the

Re: [Wt-interest] Arbitrary data pointer accessible to widgets?

2009-07-13 Thread Koen Deforche
Hey Sean, 2009/7/10 Sean Chittenden s...@chittenden.org: Wt will automatically map a browser URL of /signup to /#/signup ? It doesn't, but I would like it to (right now /signup is a 404 by default).  If I bookmark or type in: /#/signup, I see just GET / HTTP/1.1 in the server logs.  That I

Re: [Wt-interest] WApplication crashes during destruction

2009-07-17 Thread Koen Deforche
Hey Markus, 2009/7/17 markus.konhei...@t-online.de markus.konhei...@t-online.de: Hello, I am running my Wt Application inside an QThread. In my QThread::run() function, I call WRun and the createApplication method, which first creates a new WApplication instance and finally adds three of my

[Wt-interest] wt-2.99.3 and jwt-2.99.3 released

2009-07-24 Thread Koen Deforche
Hey all, We are pleased to announce two releases today. - The first one, wt-2.99.3, reflects ongoing improvements to Wt. This release contains mostly bug fixes and small feature enhancements (see our release notes at http://www.webtoolkit.eu/wt/doc/reference/html/Releasenotes.html) The most

Re: [Wt-interest] Witty widget repository

2009-07-24 Thread Koen Deforche
Hey Daniel, 2009/7/23 Daniel Derr daniel.d...@aheh.com: I was wondering if there is a community widget repository for widgets built on top of and maintainer separately from the core Wt framework. A few examples which come to mind are the Google maps widget, a video player, graphic buttons,

Re: [Wt-interest] Witty widget repository

2009-07-24 Thread Koen Deforche
Hey Pau, 2009/7/23 Pau Garcia i Quiles pgqui...@elpauer.org: There is a WWizard widget in http://gitorious.org/wwizard but for some reason it fails to replace default values in the UI (after you click Finish the values are right, but not before) . I have been unable to resolve the issue, even

Re: [Wt-interest] Any good low level CGI libraries?

2009-07-29 Thread Koen Deforche
Hey Lasse, 2009/7/28 Lasse Kärkkäinen tronic+4...@trn.iki.fi: While Wt does fine for implementing web applications, one sometimes needs more fine-grained control over pretty URLs, request types, etc. While obviously Wt is not appropriate for just any web application, I am always interested in

Re: [Wt-interest] boost::shared_ptrhttp::server::Reply::operator-() const: Assertion `px != 0' failed.

2009-07-29 Thread Koen Deforche
Hey David, 2009/7/28 David Galicia d.galici...@yahoo.com: I got a failed assertion from clicking the upload button of the upload widget from within an Ext::Dialog running in its own thread. What do you mean with running in its own thread: using Ext::Dialog::exec() ? The failed assertion

Re: [Wt-interest] How to have mouse over effect in WT

2009-08-07 Thread Koen Deforche
Hey Sabir, 2009/8/7 Sabir dearsa...@gmail.com: Hello, Do i need to give any more details to solve this issue. Feel free to contact me. Perhaps a test case would be helpful? From what you show, I would expect things to work too. The easiest way to diagnose CSS problems are to use Firebug and

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

2009-08-07 Thread Koen Deforche
Hey ZhiTao, 2009/8/7 ZhiTao Chen dq1...@gmail.com: Thanks Zhimin Wim, I tried Wim's method,It's OK! BUT there's another question: When I use Chinese message in the alert function, it didn't display properly. Maybe it's a problem about charset or encoding. It most certainly is ! My C++

Re: [Wt-interest] WDialog - bottom of dialog isn't visible, can't move dialog with mouse (Firefox)

2009-08-17 Thread Koen Deforche
Hey Joseph, 2009/8/14 Joseph VanAndel vanan...@ucar.edu: My application creates a Dialog:     WDialog    dialog(Edit the PPI Parameters);     WContainerWidget *container = new WContainerWidget(dialog.contents());     container-setStyleClass(yellow-box);     WGridLayout *grid = new

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

2009-08-17 Thread Koen Deforche
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 can add their own button or widget in specific position. Good suggestion. I have

Re: [Wt-interest] Oracle with witty in fcgi

2009-08-17 Thread Koen Deforche
Hey Torsten, Can you try to get more information with valgrind ? Do you see this problem on your system only with your specific oracle application, or also with other Wt applications ? Regards, koen 2009/8/14 Torsten Schulz kont...@tseucs.de: Hello, I'm not able to run witty-application

Re: [Wt-interest] Oracle with witty in fcgi

2009-08-18 Thread Koen Deforche
Hey Torsten, 2009/8/17 Torsten Schulz kont...@tseucs.de: Hello Koen, I don't know how to use valgrind. Is there an short description anywhere? Valgrind is simple in its own: simply prepend 'valgrind' to the command-line. In this way, it works well together with using the built-in httpd. For

Re: [Wt-interest] Oracle with witty in fcgi

2009-08-18 Thread Koen Deforche
Hey Torsten, 2009/8/18 Torsten Schulz kont...@tseucs.de: ==12128== Invalid write of size 2 ==12128==    at 0x509136E: OCIPClearMxCtr (in /opt/oracle/product/10.2/db_1/lib/libclntsh.so.11.1) ==12128==    by 0x45C6917: oracle::occi::OCCIErrorGet(void*, unsigned, unsigned char*, int*,

Re: [Wt-interest] boost::shared_ptrhttp::server::Reply::operator-() const: Assertion `px != 0' failed.

2009-08-19 Thread Koen Deforche
Hey David, 2009/8/18 David Galicia d.galici...@yahoo.com: Now, the CMakeLists file says I should enable debugging in wt_config.xml but that only applies to fcgi; i'm using wthttpd and there seems to be no parameters for it related to debugging. Is it correct to assume that wthttpd needs no

Re: [Wt-interest] Loading.... indicator and web server stuck

2009-08-20 Thread Koen Deforche
Hey Andrii, 2009/8/20 Andrii Arsirii un...@streamco.org.ua: Hi, all. We're using Wt 2.2.3. We have a following case: User triggers some time-consuming action by pressing a button. He sees Loading... indicator. Then the action finishes (in 5 minutes) and the Loading... indicator

Re: [Wt-interest] Loading.... indicator and web server stuck

2009-08-20 Thread Koen Deforche
Hey Andrii, 2009/8/20 Andrii Arsirii un...@streamco.org.ua: I have static linkage. But threading is enabled anyway: From cmake: ** Using supplied mxml library. ** Enabling multi threading. ** Enabling FastCGI. ** Enabling built-in httpd. That seems indeed okay. As for fastcgi - do you

Re: [Wt-interest] Loading.... indicator and web server stuck

2009-08-20 Thread Koen Deforche
Hey Andrii, 2009/8/20 Andrii Arsirii un...@streamco.org.ua: Here is the 'top' output: PID USERNAME    THR PRI NICE   SIZE    RES STATE  C   TIME   WCPU COMMAND 57011 www   1   4    0 26360K 17648K accept 0   0:00  0.00% admin_portal.fcgi 57017 www  11  44    0 45048K 35232K

Re: [Wt-interest] Loading.... indicator and web server stuck

2009-08-23 Thread Koen Deforche
Daniel, Andrii, 2009/8/23 Daniel Derr daniel.d...@aheh.com: Koen, We have also noticed this issue when using blocking dialogs in fastcgi. They block everything, including new sessions. We converted our dialogs to use show/hide, which seems to work and also be a better implementation.. Just

Re: [Wt-interest] passing a parameter to the web appliction

2009-08-25 Thread Koen Deforche
Hey Zeev, 2009/8/25 zeev mintz zeevmi...@yahoo.com: hi, is there a way to pass a parameter from the function that creates the WServer to web application or vice versa? Good question, and we have never thought of this. I can see why this would be useful. The proper solution is probably to

Re: [Wt-interest] Java applet and XML parser in Wt

2009-08-28 Thread Koen Deforche
Hey Andrii, 2009/8/28 Andrii Arsirii un...@streamco.org.ua: I have a Java applet. And I configure it with XML configuration (configuration is made by the user).    std::ostringstream os;     os applet code='MyApplet.class' name='topology_editor' cache_archive='topology_editor.jar'

Re: [Wt-interest] Apache processes hanging if /var/run/wt is missing?

2009-08-28 Thread Koen Deforche
Hey Pau, 2009/8/28 Pau Garcia i Quiles pgqui...@elpauer.org: On Fri, Aug 28, 2009 at 1:48 PM, Lasse Kärkkäinentronic+4...@trn.iki.fi wrote: We have had an issue on our server: Wt apparently hangs and causes a large number of Apache processes to appear when the /var/run/wt folder is missing.

Re: [Wt-interest] Apache processes hanging if /var/run/wt is missing?

2009-08-28 Thread Koen Deforche
Hey Pau, 2009/8/28 Pau Garcia i Quiles pgqui...@elpauer.org: Does any process have the rights to write there, then ? No, /var/run is root-only. I can think of two solutions: - Have a /etc/init.d/wt init script which creates /var/run/wt and does nothing more, because there's no other need.

Re: [Wt-interest] Java applet and XML parser in Wt

2009-08-28 Thread Koen Deforche
Hey Pau, Andrii, 2009/8/28 Pau Garcia i Quiles pgqui...@elpauer.org: He is already using XHTMLUnsafeText, see the last line in his code: new Wt::WText(os.str(), Wt::XHTMLUnsafeText, table-currentCell()); Weird. Oops, and I get it now. 'amp;' is replaced by '' after the browser has

[Wt-interest] Wt 2.99.4 and JWt 2.99.4

2009-08-28 Thread Koen Deforche
Hey all, We have released new versions of Wt (and JWt). The most visible new feature is the progressive bootstrap method, which will initially render a plain HTML page, and later upgrade to AJAX. It is disabled by default, and may be enabled from the configuration file. The homepage is now

Re: [Wt-interest] click on a WMenuItem

2009-08-29 Thread Koen Deforche
Hey, 2009/8/29 Jean-Michel Caricand jean-michel.caric...@lifc.univ-fcomte.fr: Hello, I want to simulate a click on a WMenuItem from a method. How to make it ? Would you like anything else to happen other than it being selected using WMenu::select() ? Regards, koen

Re: [Wt-interest] Internal errors etc.

2009-08-29 Thread Koen Deforche
Hey Lasse, 2009/8/28 Lasse Kärkkäinen tronic+4...@trn.iki.fi: I upgraded the application to Ubuntu packaged version of Wt (2.2.4-2) and now I am getting errors and ugly URLs when e.g. browsing the menu. Wt internal error: TypeError: Cannot read property 'parentNode' of null, code: undefined,

<    1   2   3   4   5   6   7   8   9   10   >