Hi,
I'm trying to read some configuration values in my GinModule. I want
to bind specific components according to this configuration. The
configuration is set up during maven build according, influenced by
the maven profile.
I started with the obvious solution adding some
configuration.properties
What's about rpc-prefetching?
http://development.lombardi.com/?p=1329
HTH
Michael
On May 20, 3:16 pm, mariyan nenchev wrote:
> You need to create some .properties file on the server side. And every
> client must make request for it. If it is on the client side it could be
> loaded as TextResour
You need to create some .properties file on the server side. And every
client must make request for it. If it is on the client side it could be
loaded as TextResource, but on every change the gwt project must be
recompiled, which does not make it very dynamic. I recommend you to use
server side .pr
You would simply write out, server side, a Dictionary JS object and then
pick that up in the GWT code.
See
http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/i18n/client/Dictionary.htmlfor
more details.
Regards
On Thu, May 20, 2010 at 1:46 PM, Mike Noordermeer wrote:
> Hi,
Hi,
What is a good way to get dynamic configuration information to the client?
I've an application that has some configuration parameters that we
need client side, which include:
- Configurable dates fetched from a database.
- Certain interface heights/widths, preferably configured in some easy
dear all!
i just learned this:
which takes me to ask the question:
is there anywhere a complete list of supported configuration
properties?
or
which configuration properties do you use/know?
google (search) could not find much :(
thanks
Michael
--
You received this message because you are
Gregor,
I was able to get around it by what Joe Cole mentioned above by just
overwriting the GWT applications generated web.xml. It works fine. I
even created a subdirectory called lib under WEB-INF and put my third
party server side JARs there. The seems the way to go if you need to
start up si
Hi Gregor,
We don't hack the web.xml in the jar file, but that's a good idea!
Obviously the only pitfall is when gwt versions change or you checkout
on another computer and gwt overwrites the web.xml - you just have to
remember to update it. Our structure of the tomcat/webapps/ROOT/WEB-
INF direc
Oh, I see now what Joe's done. Hack the web.xml in the gwt-dev-xxx
jar. Make sure to do it again when you upgrade GWT versions. That's a
cool way to get round it.
On Jan 7, 1:36 am, gregor wrote:
> Hi Scott,
>
> If you want to use features like this kicked off from web.xml then you
> probably ne
Hi Scott,
If you want to use features like this kicked off from web.xml then you
probably need to run hosted mode with the -noserver option. You cannot
access and modify web.xml for hosted mode embedded Tomcat. To run
using -noserver efectively you just need an Ant build file you can
easily run f
To answer my own question. It works fine with existing web.xml file.
Just copy them over the generated file as mentioned above.
On Jan 6, 6:42 pm, "sjn...@gmail.com" wrote:
> It's great we got this figured out, but how come GWT hosted mode
> doesnt work with exisitng web.xml files so we dont hav
It's great we got this figured out, but how come GWT hosted mode
doesnt work with exisitng web.xml files so we dont have to code
special configuration for development and production deployment?
Scott
On Dec 12 2008, 4:26 pm, Joe Cole
wrote:
> Oh, and in your web.xml's that you ship to your prod
Hi Joe,
This is exactly what I am looking for.
I also need to setup connection pooling, so this will get me going quickly.
Thank you very much..
Mike Warne.
Opihi Systems.
On Fri, Dec 12, 2008 at 12:00 PM, Joe Cole wrote:
>
> Here is our way:
>
> In:
> tomcat/webapps/ROOT/WEB-INF/web.xml
>
>
>
Oh, and in your web.xml's that you ship to your production environment
you would have a different listener setup.
com.yourcompany.ProductionConfiguration
On Dec 13, 11:00 am, Joe Cole wrote:
> Here is our way:
>
> In:
> tomcat/webapps/ROOT/WEB-INF/web.xml
>
>
> jdbc/dbsource
> jav
Here is our way:
In:
tomcat/webapps/ROOT/WEB-INF/web.xml
jdbc/dbsource
javax.sql.DataSource
Container
com.yourcompany.LocalConfiguration
The only gotcha with this is that when you upgrade gwt it changes the
web.xml - we just revert it from version control and all works well.
Th
Hi,
I am trying to figure out the best way to add an application config
file. This file will contain things like database connection
information, and other app parameters.
I will be using Tomcat as the servlet container. I would like this
config file to be readable by the Servlet in the Hosted
16 matches
Mail list logo