Re: [Wt-interest] Build from latest git fails on Darwin.

2010-03-23 Thread Koen Deforche
Hey Dmitriy, 2010/3/22 Dmitriy Igrishin dmit...@gmail.com: Hey, Building from latest git on Mac OS X finishes abnormaly with following output: The latest git version should fix this. Regards, koen -- Download

Re: [Wt-interest] JS domain-specific embedded language

2010-03-23 Thread Koen Deforche
Hey all, 2010/3/23 OvermindDL1 overmind...@gmail.com: On Mon, Mar 22, 2010 at 11:57 AM, Zoran Angelov bald...@gmail.com wrote: Hi to all, Have anyone considered using boost.proto library to develop DSEL ( c++ expressions can be translated to JScript transparently ) for JScript part of Wt?

Re: [Wt-interest] Wt::Dbo design, problems with the myqsl backend

2010-03-23 Thread Koen Deforche
Hey Mobi, 2010/3/22 mobi phil m...@mobiphil.com: Another serious design issue is that you make db equivalent of any std::string or WString the TEXT. TEXT can have up to gigantesc sizes, like in mysq, and you cannot predict the size of the field untill you retrieve an element. As I see this is

Re: [Wt-interest] critics of the Dbo changes

2010-03-24 Thread Koen Deforche
Hey Mobi, 2010/3/23 mobi phil m...@mobiphil.com: besides that however with a fast look at git changes, the create table issue is still there. (probably I did not mention it clearly). Why? The idea was that Wt::Dbo asks the driver's opinion on some static function about types that should be

Re: [Wt-interest] potential bug in WString?

2010-03-29 Thread Koen Deforche
Hey Mobi, 2010/3/28 mobi phil m...@mobiphil.com: If it is not the case, please ignore, if yes pls. correct description: the documentation says: bool Wt::WString::refresh       (                ) Refreshes the string. For a localized string, its value is resolved again. Returns

Re: [Wt-interest] adding a search path

2010-03-29 Thread Koen Deforche
Hey Hadass, 2010/3/28 hadass yaari hadassya...@gmail.com: Hi, I need to add a search directory path + lib for the linker, to the build configuration of wt. can you please tell me how to do this? You can add them to the 'CMAKE_MODULE_LINKER_FLAGS' variable in your CMakeCache.txt, inside the

Re: [Wt-interest] dragAndDrop from one line of a WSelectionBox?

2010-03-29 Thread Koen Deforche
Hey Joseph, 2010/3/26 Joseph VanAndel vanan...@ucar.edu: I am writing a user interface where I want allow a user to select a single item from one of three lists, and add it to another list.  If I apply selectionBox-setDraggable(mimeType, NULL, false) to a WSelectionBox, I can drag the

[Wt-interest] Wt 3.1.2, JWt 3.1.2

2010-03-29 Thread Koen Deforche
Hey all, We've packaged and released the latest state of git affairs as Wt and JWt 3.1.2. Read about it at: http://www.webtoolkit.eu/jwt#/blog/2010/03/29/wt_3_1_2__jwt_3_1_2 Regards, koen -- Download Intel#174;

Re: [Wt-interest] Timeout: expiring : application object is deleted

2010-04-06 Thread Koen Deforche
Hey Joseph, 2010/4/3 Joseph VanAndel vanan...@ucar.edu: If I leave my Wt application running long enough, and don't click something on the browser window for 10+ minutes, eventually I see a message on the console like: [2010-Apr-02 16:45:18.470350] 15548 [/ kmUNnsgToijqQ3mL] [notice]

Re: [Wt-interest] WSortFilterProxyModel and adding rows to the source model

2010-04-12 Thread Koen Deforche
Hey Mike, 2010/4/11 Mike Teehan mike.tee...@gmail.com: Hello everyone, I am very interested in getting WSortFilterProxyModel to work when you add or remove rows to the source model.  I did some great work in my app using them, before I realized that limitation.  I'd really hate to go back

Re: [Wt-interest] FindWt.cmake doesn't find dbo + patch

2010-04-19 Thread Koen Deforche
Hey Mike, Pau, 2010/4/14 Pau Garcia i Quiles pgqui...@elpauer.org: Hello, Looks good to me. Same for me... I am applying the patch to my tree... There are a couple of things missing in FindWt.cmake but I spent the weekend backporting for Debian Lenny and playing with the OpenSuse Build

Re: [Wt-interest] Wt on Blackfin.

2010-04-19 Thread Koen Deforche
Hey Matt, 2010/4/14 Matt Gilg gilg...@gmail.com: I successfully ported Wt to blackfin about a year ago, and am in the process of updating the blackfin linux distro.  After an update to boost 1_38 and re-building Wt 3.1.2 with the new tools, I cannot get a page to display when I run the

Re: [Wt-interest] Wt and HTML5

2010-04-19 Thread Koen Deforche
Hey Diego, 2010/4/16 Diego Cantor-Rivera dcan...@imaging.robarts.ca: Cool stuff: Using the File API added to the DOM in HTML5, it's now possible for web content to ask the user to select local files, then read the contents of those files. This selection can be done by either using an HTML 

Re: [Wt-interest] Sockets and Wt

2010-04-19 Thread Koen Deforche
Hey Rutger, WSocketNotifier is a sore point of Wt... It appears that it is impossible to implement the current API properly using asio (and we blame asio, we have filed a bug on it to the asio people but they seem not to care although they have changed the related API). It would be possible to

Re: [Wt-interest] Wt on Blackfin.

2010-04-19 Thread Koen Deforche
Hey Matt, 2010/4/19 Matt Gilg gilg...@gmail.com: That was my first assumption, so I reverted to the older versions of both the wt library and boost, to no avail.  The boost asio resolver seems to block when specifying a query to the resolve() method in order to get a asio::ip::tcp::endpoint

Re: [Wt-interest] Wt on Blackfin.

2010-04-19 Thread Koen Deforche
Hey Matt, 2010/4/19 Matt Gilg gilg...@gmail.com: I could, but if it is true that the purpose of the resolver object is to resolve a hostname to an address, it would break this functionality.  If this was never supported, it may be worth changing the implementation.  I'd need to hack for a

Re: [Wt-interest] Sockets and Wt

2010-04-20 Thread Koen Deforche
Hey Rutger, 2010/4/20 Rutger ter Borg rut...@terborg.net: WSocketNotifier is a sore point of Wt... It appears that it is impossible to implement the current API properly using asio (and we blame asio, we have filed a bug on it to the asio people but they seem not to care although they have

Re: [Wt-interest] how to execute javascript function on OnLoad js event

2010-04-20 Thread Koen Deforche
Hey all, You are all correct though... Wt will only render the JavaScript set with doJavaScript() only after the application has been loaded, thus explicitly doing this using jquery is not necessary. And btw, Wt includes jquery (since the last 2 releases), so you do not require jquery either.

Re: [Wt-interest] examples/blog - 404 error for '/'

2010-04-22 Thread Koen Deforche
Hey Joseph, 2010/4/21 Joseph VanAndel vanan...@ucar.edu: $ ./blog.wt --docroot . --http-address 0.0.0.0 --http-port 8080 [2010-Apr-21 10:40:09.331128] 48146 - [notice] Wt: initializing built-in httpd [2010-Apr-21 10:40:09.331630] 48146 - [notice] Reading Wt config file:

Re: [Wt-interest] mostly fixed: examples/blog - 404 error for '/'

2010-04-22 Thread Koen Deforche
Hey Joseph, 2010/4/22 Joseph VanAndel vanan...@ucar.edu: Could not execute asciidoc That is strange. Are you able to run asciidoc from the commandline on a sample asciidoc file ? Yes, I can run it from the command line.  I even created a symbolic link asciidoc can be run as

Re: [Wt-interest] signal / slot

2010-04-23 Thread Koen Deforche
Hey Sven, 2010/4/23 Sven Knoblich sven.knobl...@gmx.de: Hello, im trying to create my own EventSignal. Here is my code which is in my own WContainerWidget. //initialize EventSignal* myEvent = voidEventsignal( TEST,true); myEvent-connect( SLOT( this, MyClass::VoidMethod)); //call

Re: [Wt-interest] WTimer::singleShot(...) with boost::bind

2010-04-28 Thread Koen Deforche
Hey all, 2010/4/27 OvermindDL1 overmind...@gmail.com: On Mon, Apr 26, 2010 at 8:25 AM, Sven Knoblich sven.knobl...@gmx.com wrote: Hello all, i have a problem by using WTimer::singleShot(..) with boost::bind. This is indeed an omission. While we support boost::bind() style slot connection for

Re: [Wt-interest] WApplication::instance() returns NULL in threads other than the session's main thread

2010-04-28 Thread Koen Deforche
Hey Marcus, 2010/4/28, Fleischer Marcus marcus.fleisc...@brukeroptics.de: we are developing a multi-threaded web-application using the Wt Web Toolkit; for all multi-threading related purposes, we are using the appropriate classes from boost (thread, mutex etc.). Now here is our problem:

Re: [Wt-interest] Methods to create widgets. Points of view.

2010-04-30 Thread Koen Deforche
Hey Dmitriy, 2010/4/29 Dmitriy Igrishin dmit...@gmail.com: Yes, the inheritance is likely to be preferable. But from what class? Personally, I think that WContainerWidget in most cases is only an implementation detail. Therefore, the use of public inheritance to create a new widget if that

Re: [Wt-interest] app crashes during recursive event loop

2010-05-11 Thread Koen Deforche
Hey David, 2010/5/8 David Galicia dgalici...@gmail.com: I have a TreeView widget inside a WContainerWidget. When I double click an item in TreeView, a WDialog popups and starts a recursive event loop. Basically, if I modify the treeview-dragdrop example to use exec() instead of show() for the

[Wt-interest] Wt 3.1.3, JWt 3.1.3

2010-05-21 Thread Koen Deforche
Hey all, We've packaged and released the latest state of git affairs as Wt and JWt 3.1.3. Read about it at: http://www.webtoolkit.eu/wt#/blog/2010/05/21/wt_3_1_3__jwt_3_1_3 Thanks to everyone who contributed ! Regards, koen

Re: [Wt-interest] WContainerWidget and UnitTest

2010-05-21 Thread Koen Deforche
Hey Sven, 2010/5/21 Sven Knoblich sven.knobl...@gmx.com: Hello all, currently we start to write tests for our classes. On class we want to test is 'Page' with inherits from WContainerWidget. The problem occure during the cleanup (DTOR) from WWidget. Because of we write unittests without any

Re: [Wt-interest] Different CSS styles for IE

2010-05-27 Thread Koen Deforche
Hey Dushan, 2010/5/27 Dushan Savich dushansav...@gmail.com: Hi all, How can I  apply different CSS style when the client browser is IE ? You can check this in the code, based on WEnvironment::userAgent(), or (in current git / next release: usen WEnvironment::agentIsIE()). Alternatively, you

Re: [Wt-interest] suppressing POST messages?

2010-05-27 Thread Koen Deforche
Hey Joseph, 2010/5/26 Joseph VanAndel vanan...@ucar.edu: As I run my Wt application, I see lots of messages of the form: 128.117.85.129 - - [2010-May-26 18:39:29.045502] POST /?wtd=bwO2QMjSMf1d7HFtrand=6845 HTTP/1.1 200 0 Is there any way to suppress these messages?  (I've checked the FAQ

Re: [Wt-interest] Wt 3.1.3 soversions

2010-05-29 Thread Koen Deforche
Hey Pau, 2010/5/29 Pau Garcia i Quiles pgqui...@elpauer.org: Hello, Wt 3.1.3 sets soversion 22 for all the libraries. What's the reason for that? I have not looked into the changes but I'd say this would have been more correct: I believe we had a discussion about this a few months ago, and

Re: [Wt-interest] Wt 3.1.3 crashes my app

2010-06-02 Thread Koen Deforche
Hey Daniel, 2010/6/2 Ginsburg, Daniel daniel.ginsb...@childrens.harvard.edu: Thanks.  That was indeed the problem.  I did not know that I had progressive-bootstrap turned on (I guess I enabled it at some point, but I have no recollection of why unless it was at one time a default in

Re: [Wt-interest] Wt 3.1.3: still some IE8 rendering issues

2010-06-08 Thread Koen Deforche
Hey Daniel, 2010/6/2 Ginsburg, Daniel daniel.ginsb...@childrens.harvard.edu: I have upgraded to Wt 3.1.3, but am still seeing an issue related to this bug that I filed (http://redmine.webtoolkit.eu/issues/354).  One issue is that if I have text in the DisplayRole of the WTreeView elements

Re: [Wt-interest] Issue With OverflowAuto Inside Multiple WContainerWidgets

2010-06-10 Thread Koen Deforche
Dear Janne, 2010/6/4 Janne Rönkkö janne.ron...@vincit.fi: I'm having an issue with Internet Explorer (6-8) when using setOverflow( OverflowAuto ) inside multiple WContainerWidgets (I'm using Wt 3.1.3). The attached scroll.html is handwritten and it should be quite near of what Wt has

Re: [Wt-interest] Small demo of WT + WebGL

2010-06-28 Thread Koen Deforche
Hey Diego, Really cool! Just what I hoped to find when returning from vacation :-) What other JavaScript libraries on top of WebGL did you use, if any ? W.r.t. to the macros: yes, the WT_JS() trick does not work when inserting other arguments. A work-around is to use WT_JS() to define an

Re: [Wt-interest] Treelist exemple problem

2010-06-28 Thread Koen Deforche
Hey all, This was a deployment problem -- the homepage was still running an old version which contained a bug. I've deployed the latest version and the problem is fixed. Regards, koen 2010/6/28 OvermindDL1 overmind...@gmail.com: On Sat, Jun 26, 2010 at 12:11 PM, Christophe Meessen

Re: [Wt-interest] WValidator::fixup() is not very useful.

2010-06-28 Thread Koen Deforche
Hey Dmitriy, 2010/6/17 Dmitriy Igrishin dmit...@gmail.com: Hey all, I think that the current WValidator::fixup(WString input) is not very useful. Suppose I've reimplemented WValidator::validate(WString input) const (note, WString input, not const WString input) and after the validation

Re: [Wt-interest] unable to disable Wt::WAbstractToggleButton

2010-06-28 Thread Koen Deforche
Hey Thomas, Ooops... an oversight on our part. I couldn't imagine properties that would need to apply to the input element instead of the out wrapper... but you are right about these two ! I've created a bug report: http://redmine.webtoolkit.eu/issues/423 Regards, koen 2010/6/17 Thomas Kurz

Re: [Wt-interest] WSuggestionPopup

2010-06-28 Thread Koen Deforche
Hey Guy, 2010/6/25 Guy Deleeuw g.de_le...@eurofer.be: Hello I use a WSuggestionPopout with a model. How I can retrieve the row selected directly from the model ? WSuggestionPopup assists in entering text; currently you cannot do this except by searching the model for the entered text again

Re: [Wt-interest] Wt::WMessageResourceBundle - iteration trough keys

2010-06-28 Thread Koen Deforche
Hey Dushan, 2010/6/25 Dushan Savich dushansav...@gmail.com: Hi all, I really would not like  to have  my translators  messing  with the message resource XMLs  for my next project, and because of that , I'm planning to create  small , specialized,   Wt application  for translators. It would

Re: [Wt-interest] Treelist example

2010-06-28 Thread Koen Deforche
Hey Christophe, 2010/6/26 Christophe Meessen christo...@meessen.net: Hello, Looking at the treelist example, I see there is no destructor. http://www.webtoolkit.eu/wt/doc/reference/html/example.html Has it been discarded for brevity or is it required ? Except for management of additional

Re: [Wt-interest] Hiding a WTabWidget for printing

2010-06-28 Thread Koen Deforche
Hey Mike, 2010/6/22 Mike Teehan mike.tee...@gmail.com: Hello Everyone, I am trying to find a way to use CSS to hide the WTabWidget at the top of my app's interface when I print it from the web browser. I've done similar things in html, I'm just having a hard time telling Wt to use different

Re: [Wt-interest] Treelist exemple problem

2010-06-28 Thread Koen Deforche
Hey Christophe, 2010/6/28 Christophe Meessen christo...@meessen.net: Excellent ! It now works perfectly with an identical look and feel on iPad, Android and firefox. It is a very impressive example because the code is very concise and easy to understand. There is a little difference between

Re: [Wt-interest] USe of WEnvironement::internalPath() ?

2010-06-28 Thread Koen Deforche
Hey Christophe, 2010/6/28 Christophe Meessen christo...@meessen.net: Hello, I just ran the wt hello world example with success using QtCreator. I'm using the built in http server with command line options --http-address 0.0.0.0 --hettp-port 12345 --docroot . I added code to display the

Re: [Wt-interest] WSuggestionPopup

2010-06-28 Thread Koen Deforche
Hey Guy, 2010/6/28 Guy Deleeuw g.de_le...@eurofer.be: Hello Koen, Also, I cannot remove all rows from the model with this widget. Looking at the WSuggestionPopup implementation, I can see there is a bug related to this. Are you seeing a crash when removing rows from the model ? You mentioned

Re: [Wt-interest] Treelist exemple problem

2010-06-28 Thread Koen Deforche
Hey Christophe, 2010/6/28 Christophe Meessen christo...@meessen.net: I now see it. When I expand TreeList- IconPair and then collapse-expand TreeList, IconPair appears collapsed. What confused me is that it doesn't apply to the Examples node. When Examples is collapsed and expanded, its

Re: [Wt-interest] jWT: WApplication.enableupdates() keeps refreshing

2010-06-28 Thread Koen Deforche
Hey Jan, 2010/6/28 Jan Meskens meskens...@gmail.com: Dear all, I just modified the jWt helloworld example. It should now update a selectionbox whenever data is received from a socket. For this reason, I turned on 'enableUpdates()'. Oops. Somehow these methods have slipped into the latest

Re: [Wt-interest] WWebWidget::addStyleClass() and WWebWidget::removeStyleClass() does not works.

2010-06-28 Thread Koen Deforche
Hey Dmitriy, 2010/6/21 Dmitriy Igrishin dmit...@gmail.com: Hey all, addStyleClass() and removeStyleClass() of WWebWidget when called with force = true argument does not update the corresponding property of the DOM element. The flag BIT_STYLECLASS_CHANGED should be always set when we set

Re: [Wt-interest] Looking for volunteers for a Wt extension

2010-06-28 Thread Koen Deforche
Hey Omer, 2010/6/2 omer katz o...@cinex.co.il: Hello, I had been thinking about a way to automate even more the process of creating user interfaces in Wt. If we could define widgets on the XML file like this for example: Widget type=WTextEdit name=foo value=bar / It would make

Re: [Wt-interest] WSuggestionPopup

2010-06-30 Thread Koen Deforche
Hey Guy, I think I found the problem+test case you refer to, it was one I got just before taking the plane to Texas and it had slipped my attention. I have changed the test case so that I use the box-layout property for controlling the initial width of the left treeview. Would that work for you

Re: [Wt-interest] manipulating scroll bars?

2010-07-02 Thread Koen Deforche
Hey Joseph, 2010/6/28 Joseph VanAndel vanan...@ucar.edu: Is is possible for a program to set the state of Wt scroll bars? 1) I have a log window, built from a WTextArea.  When I add messages to the bottom, I'd like to insure the text at the bottom of the window is visible.   I don't see any

Re: [Wt-interest] Bug which has appeared at usage of WPopupMenu.

2010-07-02 Thread Koen Deforche
Hey Dmitriy, 2010/5/11 Dmitriy Igrishin dmit...@gmail.com: Strange bug founded. Assume we have the code below: snip When the button test clicked for a first time all works fine. Subsequent clicks does not pop up the menu. We tried to investigate the problem and find out that the method

Re: [Wt-interest] Lots of Widgets on the Screen

2010-07-05 Thread Koen Deforche
Hey David, 2010/7/4 David Galicia dgalici...@gmail.com: The grid layout represent the tiles of the data center; the tree views are the client cabinets. I attached a screen-shot of the program to show how I'm using them. In the screenshot, I can drag and drop client data from the tool-bar to

Re: [Wt-interest] Example broken in latest master

2010-07-05 Thread Koen Deforche
Hey dushan, 2010/7/4 Dushan Savich dushansav...@gmail.com: Indeed, Koen, this will take you only around 50 ms to fix :-) That's true now indeed :-) Regards, koen -- This SF.net email is sponsored by Sprint What will

Re: [Wt-interest] Wt standalone server deadlocks under load.

2010-07-05 Thread Koen Deforche
Hey, I can confirm the same behavior on a Win2003r2/32bit sytem. I haven't dug into this too much though. I am using Visual Studio 2005 Standard for note, and although I have a deadlock detector, I do not have one that can identify them ahead of time nor what causes them.  I might try to

Re: [Wt-interest] Wt standalone server deadlocks under load.

2010-07-06 Thread Koen Deforche
Hey, 2010/7/6 OvermindDL1 overmind...@gmail.com: It definitely seems to be a problem in ASIO on WinXP.  I found someone else on the Boost mailing list who seemingly has the exact same issue, we are now posting on the ASIO specific mailing list, but having issues reducing the issue into a

Re: [Wt-interest] Issue with accessing fields() in QueryModel

2010-07-07 Thread Koen Deforche
zztesABC::requery(void) (?requ...@zztesabc@@AAEXXZ) Sorry. It seems we overlooked the implementation of this accessor method. The (smalll) patch in attachment solves this. Regards, koen commit 90c8313397b8fb30619a63d2051623d22ef8b660 Author: Koen Deforche k...@emweb.be Date: Wed Jul 7 15:55:40

Re: [Wt-interest] WTabWidget???

2010-07-07 Thread Koen Deforche
Hey, 2010/7/6 yufeng yufeng...@sina.com: hi: In wt 3.1.3 ,why WTabWidget contents place the tab bar right? see a Have you verified that you are using the resources/ from Wt 3.1.3 ? You mean to say that in your case, the contents is incorrectly rendered besides the tab bar, not below ?

Re: [Wt-interest] WTableView question

2010-07-12 Thread Koen Deforche
Hey Jean-Michel, 2010/7/11 jean-michel.caric...@lifc.univ-fcomte.fr: Hello, A very simple question :) Is it possible to hide a column in WTableView class as Wt::Ext::TableView ? No, not yet. This is a sorely lacking functionality currently in WTableView, and there is an open ticket for it:

Re: [Wt-interest] What can freeze HTTP request parsing

2010-07-13 Thread Koen Deforche
Hey Ilya, 2010/7/13 Ilya Biin biini...@gmail.com: I have multiple WResource classes handling requests. Once there happened a situation when wthttpd stopped serving requests. The server is still listening its port but rejects connections. So I want to ask, what can turn wthttpd to such strange

Re: [Wt-interest] about WTextEdit and tinyMCE

2010-07-13 Thread Koen Deforche
Hey, 2010/7/11 yufeng yufeng...@sina.com: hi:  I change   WTextEdit.C,and unzip tinymce_lang_pack.zip(chinese language)  to resources\tiny_mce fold,but tinymce no show chinese here is my change code:  // app-doJavaScript(tinyMCE.init();, false); app-doJavaScript(tinyMCE.init({language

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

2010-07-20 Thread Koen Deforche
Hey Diego, 2010/7/19 Diego diego.can...@gmail.com: Hello again, I am aware that the configuration options are slightly different when you use FCGI or FastCGI. Either way... could anyone please guide me on what needs to be configured (FCGI or FastCGI) in the apache server? I made some

Re: [Wt-interest] WTreeNode insertChildNode

2010-07-20 Thread Koen Deforche
Hey Aleksey, 2010/7/15 Aleksey Chirkin a4ir...@gmail.com: Hello! How about add new method insertChildNode(int index, WTreeNode* node) in WTreeNode? I think it will be useful, at least for me. I agree, and since it was less time to implement than to submit it to redmine, it's there in git.

Re: [Wt-interest] CMake WT Builder cannot find boost filesystem

2010-07-20 Thread Koen Deforche
Hey, 2010/7/19 OvermindDL1 overmind...@gmail.com: I am re-updating Wt again and building it, and I have been curious about this issue I always see: [ F:/Program Files/CMake 2.8/share/cmake-2.8/Modules/FindBoost.cmake:366 ] boost 1.44.0 is already in the cache.  For debugging messages,

Re: [Wt-interest] Another CMake build problem.

2010-07-20 Thread Koen Deforche
Hey, 2010/7/19 OvermindDL1 overmind...@gmail.com: I think I found another CMake build problem.  When I put the ascidoc location in the CMake configuration, it then tries to build *two* doc projects, when there is already a doc project in the solution.  In the root directory CMakeList.txt

Re: [Wt-interest] Wt standalone server deadlocks under load.

2010-07-22 Thread Koen Deforche
Hey, 2010/7/19 OvermindDL1 overmind...@gmail.com: I am having a terribly tough time figuring out a reduced test-case, everything that I poke indicates that it should be something so simple, but there is just so much interacting all together, unsure whether wthttp is holding on to something

Re: [Wt-interest] Migrating schema

2010-07-22 Thread Koen Deforche
Hey Sohail, 2010/7/19 Sohail Somani soh...@taggedtype.net: I was doing something similar before when I would hand write my SQL. I guess I'll still be doing that! I heard the Ruby people have some sort of tool that helps them migrate the schemas. Here is the Ruby thing I was thinking of:

Re: [Wt-interest] about wt Performance deploy

2010-07-23 Thread Koen Deforche
Hey yufeng, 2010/7/23 yufeng yufeng...@sina.com: hi:   http://www.lgys.9966.org  ,this my  web write with wt 3.1.3.     in wt_config.xml,  I modify this ...     shared-process     num-processes10/num-processes     /shared-process     num-threads10/num-threads when I change

Re: [Wt-interest] dbo hierarchy

2010-07-25 Thread Koen Deforche
Hey, 2010/7/24 E L crc1...@gmail.com: Is it possible to specify a data structure where the hierarchy is the same table?  For example, a bill of material has parts contain other parts, but all the parts are still in the same table.  I tried to specify the dbo class as shown below, but that

Re: [Wt-interest] Wt 3.1.3 soversions

2010-07-26 Thread Koen Deforche
Hey Pau, 2010/7/23 Pau Garcia i Quiles pgqui...@elpauer.org: I believe we had a discussion about this a few months ago, and then we concluded that whenever one library gets bumped, all dependent libraries should be bumped too. And then we can just as well bump them all to the same version. A

Re: [Wt-interest] Latest WT Trunk is not compiling.

2010-07-26 Thread Koen Deforche
Hey, 2010/7/25 OvermindDL1 overmind...@gmail.com: On Sat, Jul 24, 2010 at 7:21 PM, OvermindDL1 overmind...@gmail.com wrote: On Sat, Jul 24, 2010 at 7:11 PM, OvermindDL1 overmind...@gmail.com wrote: I am attempting to compile the latest Wt trunk, but I have build errors: /* snip */ [ 82%]

Re: [Wt-interest] dbo hierarchy

2010-07-26 Thread Koen Deforche
Hey, 2010/7/26 E L crc1...@gmail.com: On Sun, Jul 25, 2010 at 1:44 AM, Koen Deforche k...@emweb.be wrote: Hey, Also, is is possible to place a NULL value in the database using wt::dbo? Yes, use boost::optionalT There appears to be an error in the StdSqlTraits file pertaining to boost

Re: [Wt-interest] when delete parent table in Wt::dbo

2010-07-28 Thread Koen Deforche
Hey, 2010/7/28 changwon lee bos...@nexgeo.com: after creating one user and add child post and flushing session,     User *user2 = new User();     user2-name = Daisy;     user2-password = Secret2;     user2-role = User::Visitor;     user2-karma = 12;     dbo::ptrUser user2Ptr =

Re: [Wt-interest] treeview-dragdrop example segmentation fault

2010-07-28 Thread Koen Deforche
Hey, 2010/7/28 OvermindDL1 overmind...@gmail.com: 2010/7/26 OvermindDL1 overmind...@gmail.com: As the title says.  I have been trying the various examples on this linux system, and the treeview-dragdrop example loads, but the second the browser connects to it, a segmentation fault occurs, no

Re: [Wt-interest] when delete parent table in Wt::dbo

2010-07-28 Thread Koen Deforche
Hey Sohail, 2010/7/28 Sohail Somani soh...@taggedtype.net: On 10-07-28 3:42 AM, Koen Deforche wrote: IMO, Wt::Dbo should not automatically delete the dependent objects. FWIW, I disagree with this. Cascading deletes are important to the integrity of the data. But forcing integrity is a job

Re: [Wt-interest] Bug in gitview.wt on chrome?

2010-07-29 Thread Koen Deforche
Hey Ross, 2010/7/29 Ross Rogers ross.rog...@gmail.com: I was browsing one of your examples: http://www.webtoolkit.eu/wt/examples/gitmodel/gitview.wt When I select one of the files in the browser and then hit up arrow or down arrow on my keyboard, the space between the tree view and the source

Re: [Wt-interest] bug report in language handling

2010-07-29 Thread Koen Deforche
Hey Kilian, 2010/7/21 Kilian Singer kilian.sin...@uni-mainz.de: Thanks. I've made a ticket: http://redmine.webtoolkit.eu/issues/453 Regards, koen -- The Palm PDK Hot Apps Program offers developers who use the Plug-In

Re: [Wt-interest] Problem with models shared between multiple applications

2010-07-29 Thread Koen Deforche
Hey Mike, 2010/7/29 Mike Teehan mike.tee...@gmail.com: Hello Everyone, My application creates a global data model in main() and createApplication() passes a pointer to the model into each application.  When a change is made to the model (properly mutex'd, of course), the changes immediately

Re: [Wt-interest] What is the correct way to update a WImage?

2010-07-29 Thread Koen Deforche
Hey Alex, 2010/7/29 Alex Sadovsky alexey...@gmail.com: Hello! I use WMemoryResource and WImage to render dynamically generated images. Then, I use WTimer to generate time events once per second and need to update WImage picture in the timer callback. I do it like this: initialization: res

Re: [Wt-interest] Problem with models shared between multiple applications

2010-07-30 Thread Koen Deforche
Hey Mike, 2010/7/29 Mike Teehan mike.tee...@gmail.com: Koen, If I understand you correctly, the global model needs to register each app that connects to its signals, and then propagate those signals individually to each instance, while holding its updatelock, and then calling its

Re: [Wt-interest] Compile Error in latest trunk head.

2010-08-02 Thread Koen Deforche
Hey, 2010/8/1 OvermindDL1 overmind...@gmail.com: On Sat, Jul 31, 2010 at 5:20 PM, OvermindDL1 overmind...@gmail.com wrote: Error is: 1s:\sdks\wt\wt\src\web\WebSession.h(300) : error C2354: 'Wt::WEvent::handler' : initialization of reference member requires a temporary variable 1        

Re: [Wt-interest] WDialog close buttons

2010-08-02 Thread Koen Deforche
Hey Aleksey, 2010/7/26 Aleksey Chirkin a4ir...@gmail.com: Yes, because there is no other way of closing dialog, except that the global escapePressed (which does not always work). Add own button in dialog title is not easy. A first thing that I decided to do is add a titleBar() method which

Re: [Wt-interest] how to get plainText from WTextEdit?

2010-08-02 Thread Koen Deforche
Hey, 2010/7/28 yufeng yufeng...@sina.com: hi: In QT , QTextEdit has a plainText(), In Wt,WTextEdit has not a plainText(),how to get  plainText from WTextEdit? Stripping XHTML formatting tags is indeed not implemented. You also probably want to interpret to some degree to have new lines,

Re: [Wt-interest] Adsense status??

2010-08-02 Thread Koen Deforche
Hey Brad, 2010/8/1 Brad Hubbard w...@brand-hubs.com: Can someone update me on the current status of Adsense style javascript within witty application pages? I have a new project in the planning stages and I was thinking of using the wt blog example code as a starting point but a

Re: [Wt-interest] Error: 'timer' is null by using Wt::Ext::Button

2010-08-05 Thread Koen Deforche
cbe8e5a11604a3e5174f7f521011cce5b13494db Author: Koen Deforche k...@emweb.be Date: Thu Aug 5 15:40:01 2010 +0200 fix WTimer javascript trouble diff --git a/src/Wt/Ext/Container.C b/src/Wt/Ext/Container.C index 4c8c0ae..a160ca7 100644 --- a/src/Wt/Ext/Container.C +++ b/src/Wt/Ext/Container.C @@ -209,6 +209,9 @@ void

Re: [Wt-interest] WTableRow::setStyleClass

2010-08-05 Thread Koen Deforche
, thanks for the test case. In attachment is a patch (which should apply against Wt 3.1.3 and is also available in latest git) that fixes this, and makes some other improvements to WTable incremental rendering. Regards, koen commit 7533aff617d04408151bbcc7ce69543c6376e4b0 Author: Koen Deforche k

Re: [Wt-interest] Removing final WMenuItem from WMenu

2010-08-05 Thread Koen Deforche
Hey Calvin, 2010/8/2 Calvin calvin@toumaz.com: I have found that if there is only one last WMenuItem linked to a WMenu object, calling WMenu::removeItem() would fail as a result of the select call after removing that last WMenuItem. Is this the intended behaviour? Certainly that would not

Re: [Wt-interest] have browser recognize login attempt

2010-08-13 Thread Koen Deforche
Hey, 2010/8/12 E L crc1...@gmail.com: I am working on an application that has the standard style login: username, password, and login button.  When javascript is enabled, the browser (firefox) does not ask if I would like to 'remember password for user on site 127.0.0.1'.  When javascript is

Re: [Wt-interest] Ext::Splitter within WStackedWidget

2010-08-17 Thread Koen Deforche
Hey Gabor, 2010/8/16 Gabor E. Tusnady t...@enzim.hu: Dear List! I am currently started to learn Wt, which is a powerful tool for producing complete web pages. Now I bumped into a problem, I could not display Ext::Splitter widget within a WStacketWidget. Is it a feature or bug? The program

Re: [Wt-interest] WGoogleMap

2010-08-17 Thread Koen Deforche
Hey Calvin, 2010/8/16 Calvin calvin@toumaz.com: Do you have a complete compilable example of both issues? Hi overmindDL1 Sorry for the delay--I was out the whole of last week. Anyway, the easiest test case would be to use the blog.wt example that is available from the Wt 3.1.3

Re: [Wt-interest] Applying constraints to table fields in Dbo

2010-08-17 Thread Koen Deforche
Hey all, 2010/8/17 Alan Alvarez aalva...@aliensoft.net: On Tue, Aug 17, 2010 at 3:21 PM, Sohail Somani soh...@taggedtype.net wrote: On 10-08-17 1:40 PM, Alan Alvarez wrote: Hello,      I'm new to using Wt and Dbo. I was wondering what the best way would be to apply constraints (such

Re: [Wt-interest] WGoogleMap

2010-08-18 Thread Koen Deforche
Hey, 2010/8/17 Calvin calvin@toumaz.com: I have tried the test case on my system with IE8, Chrome 5.0.375 and Firefox 3.6.8 with the recent 3.1.4 release using the same instance of the blog.wt server. All is well and I no longer see the issue that was reported with 3.1.3; but only for IE8

Re: [Wt-interest] WGoogleMap

2010-08-19 Thread Koen Deforche
Hey Calvin, 2010/8/19 Calvin calvin@toumaz.com: Hi Koen Koen Deforche k...@emweb.be 在郵件 That suggests that there was a JavaScript error. Can you open the Developer Tools (right click - inspect element), switch to Console, and reload the page ? What is the version of Chrome and on what

Re: [Wt-interest] WGoogleMap

2010-08-20 Thread Koen Deforche
Hey Calvin, 2010/8/20 Calvin calvin@toumaz.com: Hi Koen I will assume that comes from the google.load() statement, done by the WGoogleMap. Can you try two things (independently):  - see if it works with a progressive-bootstrap ? (you need to enable this in your /ect/wt/wt_config.xml

Re: [Wt-interest] WDatePicker in Wt-3.1.4

2010-08-31 Thread Koen Deforche
2010/8/31 jhig j...@dreibier.net: hi, when i add a WDatePicker class, the WLineEdit and the Icon is shown but the WCalendar widget doesn't pop up correctly. Only th upper left part of this widget is visible. I neither can pick a date from WCalendar nor put a Date into the WLineEdit (stays

Re: [Wt-interest] CSS updating

2010-09-01 Thread Koen Deforche
Hey Aleksey, 2010/9/1 Aleksey Chirkin a4ir...@gmail.com: Hello! I noticed a strange delay in updating css files in some browsers. Any changes to the css not visible for a long time in Safari, IE. Very strange, but in Firefox everything is working correctly. Maybe I can set the time of

Re: [Wt-interest] WDatePicker in Wt-3.1.4

2010-09-01 Thread Koen Deforche
Hey, 2010/9/1 jhig j...@dreibier.net: updating the resources didn't change anything. I think it's like koen says, that some other widget is cliping the WDatePicker. Can i change something in my code to solve this? Can you use Firebug to see what widget is causing the overflow: hidden setting

Re: [Wt-interest] XML output?

2010-09-01 Thread Koen Deforche
Hey Martin, 2010/9/1 Martin Dietze d...@fh-wedel.de: Something I did not find in the docs on the fly (sorry if it actually is there) - I'd like to use WT to produce XML output? Background is I'd like to provide an XML interface of my application so that it can be used by another service.

Re: [Wt-interest] my own wt_config.xml (apache config)

2010-09-01 Thread Koen Deforche
Hey Richard, 2010/8/31 Richard Ulrich ri...@paraeasy.ch: I'm still in the process of debianizing my application. So far, I had a script that added my application settings to /etc/wt/wt_config.xml I didn't really like that solution, as the file belongs to the libwt package. So, I found out

Re: [Wt-interest] CSS updating

2010-09-01 Thread Koen Deforche
Hey Aleksey, Yes you can put anything behind the '?' 2010/9/1 Aleksey Chirkin a4ir...@gmail.com: 'Cache-Control: max-age = 10', for example. That will work for some browsers, but is not as fail-safe: caching of files (and related parameters) is a sore point in cross browser implementation

Re: [Wt-interest] multiple refresh for widgets bound in a WTemplate

2010-09-02 Thread Koen Deforche
Hey, That's indeed a bug although it is not directly clear to me which of the two invocations to keep... probably the loop inside WTemplate::refresh() is not needed. I've fixed this in the latest git. Regards, koen

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