ScriptEngineManager throws an Error but works... why?

2012-06-14 Thread Jepse
Hi there and hello to this group! (First Post) First i have to say gwt changed my programmer-life ;) Thanks for that! My Question: I'm using SctriptEngineManager in gwt shared package on client side to evaluate String based Conditions (42?) or formulas. Every time GWT executes the code, i

ScriptEngineManager

2012-06-14 Thread Jepse
Hi there, I'm curious about the gwt behavior with ScriptEngineManager. Everytime it comes over this class it throws an error in development console. But it works fine - feels more like a warning in this case: *No source code is available for type javax.script.ScriptEngineManager; did you

Re: ScriptEngineManager throws an Error but works... why?

2012-07-03 Thread Jepse
i dind't find a native soloution for evaluating Stings-Formulars. The thing what i have been curious about was, that the development mode throwed an error but still works on client side. Am Dienstag, 12. Juni 2012 12:26:52 UTC+2 schrieb Jepse: Hi there and hello to this group! (First Post

productive mode results undefinded NaN

2012-07-03 Thread Jepse
Hi there, i'm using a simple JSNI Function: public static native boolean evalBoolean(String arg) /*-{ return eval(arg); }-*/; public static native double evalCalculation(String arg) /*-{ return eval(arg); }-*/; in development mode

Re: productive mode results undefinded NaN

2012-07-04 Thread Jepse
I heard about that. for now, itts my only soloution to parse a simple formular. Or should i compose a JSNI like the following: public static native boolean evalBoolean(String arg) /*-{ var i = arg; return i; }-*/; -- You received this message because you

log4j in gwt app

2012-08-15 Thread Jepse
files; dbconnection etc). But i guess gwt ignores this one file. all other depending files are obviously in use. does anybody knows how to setup gwt for configuring log4j, even if its just used implicit? This logging kils my app performance. Thanks!! Jepse -- You received this message because

log4j in gwt app; how to enable setting in log4j.properties

2012-08-15 Thread Jepse
files; dbconnection etc). But i guess gwt ignores this one file. all other depending files are obviously in use. does anybody knows how to setup gwt for configuring log4j, even if its just used implicit? This logging kils my app performance. Thanks!! Jepse -- You received this message because

Re: log4j in gwt app; how to enable setting in log4j.properties

2012-08-23 Thread Jepse
Hi!!! The soloution is so easy. Its necessary to place a log4j.jar into lib folder. That means the log4j component within my dependency-lib cayenne is just a lightweight log4j. the log4j.properties file is to place in src folder Cheers, Philippe -- You received this message because you are