Koen Deforche | 1 Feb 19:37 2009
Picon

Re: Ext::ComboBox::setModel()

Hey David,

2009/1/30 David Galicia <d.galicia89@...>:
> A newbie question: Is Ext::ComboBox::setModel() suppose to change and update
> an item model like Ext::TableView::setModel()? I tried to do this for Wt
> 2.2.2 but it changes/updates the model only once, not multiple times like
> Ext::TableView. I haven't tried the new version of Wt though. My program

It's a bug, I have fixed it now in CVS.

> makes changes to an item model and I would like the widget to reflect that.
> I can always find a work-around though. =|

Changes to a model are automatically reflected in views, you do not
need to reset the model in a view.

You should use setModel() only to use a different model.

> BTW, Wt's documentation is awesome and the api is sexy to use!

You should see the code! :-)

koen

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
(Continue reading)

Koen Deforche | 1 Feb 19:46 2009
Picon

Re: valid xhtml1-strict?

Hey scippio,

2009/1/30 scippio <scippio@...>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello,
>
> is possible have valid xhtml1-strict?

That would be possible if you are willing to lose some features ?

Some features require frames which for random reasons have been
removed in xhtml1-strict. Classes that are directly affected are
WFileUpload and WTextEdit. I am not entirely sure about other smaller
problems.

If that makes sense to you, we could offer it as a configuration option ?

Regards,
koen

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
Koen Deforche | 1 Feb 20:15 2009
Picon

Re: google maps

Hey Richard,

2009/1/29 Richard Ulrich <richi@...>:
> So I started playing with the GoogleMaps widget.
>
> But I can't seem to get it running.
> Here I what I do :

Thanks for the start!

I moved some things around, and made the following changes:
 - the widget is created but not yet inserted in the widget tree by
only doing the JavaScript as soon as the widget is load()ed
 - there is no need for onLoadCallback: this is integrated in Wt --
JavaScript is only run when a library is loaded
 - make sure that the map is rerendered when the session is refreshed

And that seems to work!

Regards,
koen

Here is my test program:

#include <Wt/WApplication>
#include <Wt/WContainerWidget>
#include <Wt/WText>

#include <string>
#include <sstream>
(Continue reading)

Koen Deforche | 1 Feb 20:23 2009
Picon

Re: objectName findChild and findChildren

Hey Cosntantino,

2009/1/28 Costantino Giuliodori <costantino.giuliodori@...>:
> I asked the question to know if I have some system to identify at
> runtime a widget.
> For my model/view binding experiments, the widget ID would be

the widget ID, as in WObject::id() ?

> *perfect*, but in general I see that WLayout don't have it.
> Looking at uic I thought that I could use objectName to bind between
> model and view at runtime.

Then, would your problem be solved if we made WLayout a WObject ?

Regards,
koen

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
misi e | 1 Feb 21:20 2009

alternative for the hardcoded configuration file

Hello,

is there any way to specify the configuration file at runtime? As far as I know, the configuration file path is frozen at build time.

Would be nice to be able to specify it as command line parameter or environment variable.




Thanks
Misi

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
witty-interest mailing list
witty-interest@...
https://lists.sourceforge.net/lists/listinfo/witty-interest
Wim Dumon | 1 Feb 21:58 2009
Picon

Re: alternative for the hardcoded configuration file

Hello misi,

Good news, this was requested (and implemented) a couple of months ago:

-c [ --config ] arg
location of wt_config.xml. If unspecified, WT_CONFIG_XML is searched
in the environment, if it does not exist then the compiled-in default
(c:/witty/wt_config.xml) is tried. If the default does not exist, we
revert to default values for all parameters.

It is also shortly mentioned in the reference documentation:
http://www.webtoolkit.eu/wt/doc/reference/html/overview.html#configuration_sec

Best regards,
Wim.

2009/2/1 misi e <misi.aaaa@...>:
> Hello,
>
> is there any way to specify the configuration file at runtime? As far as I
> know, the configuration file path is frozen at build time.
>
> Would be nice to be able to specify it as command line parameter or
> environment variable.
>
>
>
>
> Thanks
> Misi
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> witty-interest mailing list
> witty-interest@...
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
>

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
misi e | 1 Feb 21:58 2009

GLIBC_2.7' not found required by libhttp.so, GLIBC_2.4' not found, required by libWt.so

Hello,

I am building on a ubuntu 8.10, and trying to run on a webhosters server thar has debian etch. and get the errors. (latest debian has only GLIBC 2.3, and I cannot compile there...)

GLIBC_2.7' not found required by libhttp.so, GLIBC_2.4' not found, required by libWt.so


I got a hint to compile with -fno-stack-protector to avoid dependency on GLIBC_2.4, but does not work.



any suggestions for compiler flags, to avoid dependency on GLIBC higher than 2.3?



Regards

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
witty-interest mailing list
witty-interest@...
https://lists.sourceforge.net/lists/listinfo/witty-interest
misi e | 1 Feb 22:12 2009

Re: alternative for the hardcoded configuration file

fine, thanks, sorry for the overhead :) for a couple of month, I was not receiving the mails from the list

sometimes maybe it is not bad to repeat such key things, users might forget :)

Misi

2009/2/1 Wim Dumon <wim-fsvWVe5cvas@public.gmane.org>
Hello misi,

Good news, this was requested (and implemented) a couple of months ago:

-c [ --config ] arg
location of wt_config.xml. If unspecified, WT_CONFIG_XML is searched
in the environment, if it does not exist then the compiled-in default
(c:/witty/wt_config.xml) is tried. If the default does not exist, we
revert to default values for all parameters.

It is also shortly mentioned in the reference documentation:
http://www.webtoolkit.eu/wt/doc/reference/html/overview.html#configuration_sec

Best regards,
Wim.

2009/2/1 misi e <misi.aaaa-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>:
> Hello,
>
> is there any way to specify the configuration file at runtime? As far as I
> know, the configuration file path is frozen at build time.
>
> Would be nice to be able to specify it as command line parameter or
> environment variable.
>
>
>
>
> Thanks
> Misi
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> witty-interest mailing list
> witty-interest-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
>

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
witty-interest mailing list
witty-interest-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/witty-interest

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
witty-interest mailing list
witty-interest@...
https://lists.sourceforge.net/lists/listinfo/witty-interest
Wim Dumon | 1 Feb 23:47 2009
Picon

Re: GLIBC_2.7' not found required by libhttp.so, GLIBC_2.4' not found, required by libWt.so

Hello misi,

The best protection against .so dependency failures is to avoid it
alltogether by compiling to a static version of the libraries.

Similarly, did you consider to copy a version of your libc .so's to
(and possibly other dependency libraries) the hosting machine and use
LD_LIBRARY_PATH to ensure that you're using the intended versions? I
haven't really thought this through, I may have overlooked unpleasant
side effects...

Regards,
Wim.

2009/2/1 misi e <misi.aaaa@...>:
> Hello,
>
> I am building on a ubuntu 8.10, and trying to run on a webhosters server
> thar has debian etch. and get the errors. (latest debian has only GLIBC 2.3,
> and I cannot compile there...)
>
> GLIBC_2.7' not found required by libhttp.so, GLIBC_2.4' not found, required
> by libWt.so
>
>
> I got a hint to compile with -fno-stack-protector to avoid dependency on
> GLIBC_2.4, but does not work.
>
>
>
> any suggestions for compiler flags, to avoid dependency on GLIBC higher than
> 2.3?
>
>
>
> Regards
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> witty-interest mailing list
> witty-interest@...
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
>

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
Richard Ulrich | 2 Feb 00:04 2009
Picon

Re: google maps

Hi Koen, 

thanks for your help. 

The WGoogleMap widget works for me only with a simple test application
where it sits directly on the app root.
But if I use it inside a real application within other widgets it
doesn't display anything. In this context, the debugger doesn't get into
WGoogleMap::refresh().
Any idea why that could be?

Then another question: If I later want to modify the map. How do I
reference the google maps javascript object from within c++ code?

Rgds
Richard

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword

Gmane