Re: Errors migrating to GWT 2.7.0 . Can someone please help me ?

2015-09-28 Thread Srinivasarao Makkena

I could get past it by removing *.gwtar from gwt-user-2.5.0.jar which are 
supposed to be loaded by gwt for increased performance.
Along with it removed gwt-Unit cache and complied...it rebuilt entire jar 
and worked fine.
--sri


On Thursday, February 12, 2015 at 11:08:07 PM UTC, Jens wrote:
>
> Its a JVM parameter for defining a system property and not a GWT 
> compiler/DevMode parameter.
>
> -- J.
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Errors migrating to GWT 2.7.0 . Can someone please help me ?

2015-02-12 Thread Juan Pablo Gardella
Which GWT compiler are you using? Eclipse 4.3 recommends JRE 1.6
https://wiki.eclipse.org/Eclipse/Installation, but you can add a
different JDK in Eclipse from from Windows-preference-Java-Installed
JRE. Then in your project you can use it (right click in the project,
properties- Java-built path and choose the JDK).

On 12 February 2015 at 17:53, ehod...@usdataworks.com wrote:

 I said I'm compiling with Oracle's 1.7.0.u45 JDK, but I'm not quite
 sure.  Does the Eclipse (4.3) plugin's GWT compiler use the current Eclipse
 default JRE?  Is there something I need to do to configure it?

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to google-web-toolkit+unsubscr...@googlegroups.com.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-web-toolkit.
 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Errors migrating to GWT 2.7.0 . Can someone please help me ?

2015-02-12 Thread ehodges
Which GWT compiler I'm using:  The one that runs when I right click on a 
project containing a GWT module and select Google - GWT Compile.  I just 
installed the latest from https://dl.google.com/eclipse/plugin/4.3.

I used to have launch configurations to compile GWT, but they all seem to 
have been erased.  No warning given.

I have my default JRE in Eclipse set to 1.7.0.u45.  The project that 
contains my GWT module doesn't override that.

On Thursday, February 12, 2015 at 3:04:36 PM UTC-6, Juan Pablo Gardella 
wrote:

 Which GWT compiler are you using? Eclipse 4.3 recommends JRE 1.6 
 https://wiki.eclipse.org/Eclipse/Installation, but you can add a 
 different JDK in Eclipse from from Windows-preference-Java-Installed 
 JRE. Then in your project you can use it (right click in the project, 
 properties- Java-built path and choose the JDK).

 On 12 February 2015 at 17:53, eho...@usdataworks.com javascript: 
 wrote:

 I said I'm compiling with Oracle's 1.7.0.u45 JDK, but I'm not quite 
 sure.  Does the Eclipse (4.3) plugin's GWT compiler use the current Eclipse 
 default JRE?  Is there something I need to do to configure it?

 -- 
 You received this message because you are subscribed to the Google Groups 
 Google Web Toolkit group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to google-web-toolkit+unsubscr...@googlegroups.com javascript:.
 To post to this group, send email to google-we...@googlegroups.com 
 javascript:.
 Visit this group at http://groups.google.com/group/google-web-toolkit.
 For more options, visit https://groups.google.com/d/optout.




-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Errors migrating to GWT 2.7.0 . Can someone please help me ?

2015-02-12 Thread Jens
Should be the JRE/JDK you have configured for your project and not the one 
you launched Eclipse with.

I am on Mac OS and use Oracle JDK 1.7 and haven't seen any gwtar issues 
yet. Maybe you accidentally have two different GWT versions on classpath?

But as Thomas already said, if you have trouble with the gwtar files you 
can always use -Dgwt.usearchives=false to disable them.

-- J.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Errors migrating to GWT 2.7.0 . Can someone please help me ?

2015-02-12 Thread ehodges
That fails like this:

Unknown argument: -Dgwt.usearchives=false
Google Web Toolkit 2.7.0
Compiler [-logLevel level] [-workDir dir] [-[no]compileReport] 
[-X[no]checkCasts] [-X[no]classMetadata] [-[no]draftCompile] 
[-[no]checkAssertions] [-X[no]closureCompiler] [-XfragmentCount 
numFragments] [-XfragmentMerge numFragments] [-gen dir] 
[-[no]incrementalCompileWarnings] [-XjsInteropMode [NONE, JS, CLOSURE]] 
[-missingDepsFile file] [-Xnamespace PACKAGE, NONE] [-optimize level] 
[-[no]overlappingSourceWarnings] [-[no]saveSource] [-style style] 
[-[no]failOnError] [-X[no]enforceStrictResources] [-[no]validateOnly] 
[-sourceLevel [auto, 1.6, 1.7]] [-localWorkers count] [-[no]incremental] 
[-war dir] [-deploy dir] [-extra dir] [-saveSourceOutput dir] 
[-XmethodNameDisplayMode NONE | ONLY_METHOD_NAME | ABBREVIATED | FULL] 
module[s] 

where 
  -logLevelThe level of logging detail: ERROR, 
WARN, INFO, TRACE, DEBUG, SPAM, or ALL
  -workDir The compiler's working directory for 
internal use (must be writeable; defaults to a system temp dir)
  -[no]compileReport   Compile a report that tells the Story 
of Your Compile. (defaults to OFF)
  -X[no]checkCasts EXPERIMENTAL: Insert run-time checking 
of cast operations. (defaults to ON)
  -X[no]classMetadata  EXPERIMENTAL: Include metadata for some 
java.lang.Class methods (e.g. getName()). (defaults to ON)
  -[no]draftCompileCompile quickly with minimal 
optimizations. (defaults to OFF)
  -[no]checkAssertions Include assert statements in compiled 
output. (defaults to OFF)
  -X[no]closureCompilerEXPERIMENTAL: Compile output Javascript 
with the Closure compiler for even further optimizations. (defaults to OFF)
  -XfragmentCount  EXPERIMENTAL: Limits of number of 
fragments using a code splitter that merges split points.
  -XfragmentMerge  DEPRECATED (use -XfragmentCount 
instead): Enables Fragment merging code splitter.
  -gen Debugging: causes normally-transient 
generated types to be saved in the specified directory
  -[no]incrementalCompileWarnings  Whether to show warnings during 
monolithic compiles for issues that will break in incremental compiles 
(strict compile errors, strict source directory inclusion, missing 
dependencies). (defaults to OFF)
  -XjsInteropMode  Specifies JsInterop mode, either NONE, 
JS, or CLOSURE (defaults to NONE)
  -missingDepsFile Specifies a file into which detailed 
missing dependency information will be written.
  -Xnamespace  Puts most JavaScript globals into 
namespaces. Default: PACKAGE for -draftCompile, otherwise NONE
  -optimizeSets the optimization level used by the 
compiler.  0=none 9=maximum.
  -[no]overlappingSourceWarnings   Whether to show warnings during 
monolithic compiles for overlapping source inclusion. (defaults to OFF)
  -[no]saveSource  Enables saving source code needed by 
debuggers. Also see -debugDir. (defaults to OFF)
  -style   Script output style: OBF[USCATED], 
PRETTY, or DETAILED (defaults to OBF)
  -[no]failOnError Fail compilation if any input file 
contains an error. (defaults to OFF)
  -X[no]enforceStrictResources EXPERIMENTAL: Avoid adding implicit 
dependencies on client and public for modules that don't define any 
dependencies. (defaults to OFF)
  -[no]validateOnlyValidate all source code, but do not 
compile. (defaults to OFF)
  -sourceLevel Specifies Java source level (defaults to 
auto:1.6)
  -localWorkersThe number of local workers to use when 
compiling permutations
  -[no]incremental Compiles faster by reusing data from the 
previous compile. (defaults to OFF)
  -war The directory into which deployable 
output files will be written (defaults to 'war')
  -deploy  The directory into which deployable but 
not servable output files will be written (defaults to 'WEB-INF/deploy' 
under the -war directory/jar, and may be the same as the -extra 
directory/jar)
  -extra   The directory into which extra files, 
not intended for deployment, will be written
  -saveSourceOutputOverrides where source files useful to 
debuggers will be written. Default: saved with extras.
  -XmethodNameDisplayMode  Emit extra information allow chrome dev 
tools to display Java identifiers in many places instead of JavaScript 
functions.
and 
  module[s]Specifies the name(s) of the module(s) 
to compile


On Thursday, February 12, 2015 at 4:54:15 PM UTC-6, Jens wrote:

 Should be the JRE/JDK you have configured for your project and not the one 
 you launched Eclipse with.

 I am on Mac OS and use Oracle JDK 1.7 

Re: Errors migrating to GWT 2.7.0 . Can someone please help me ?

2015-02-12 Thread Thomas Broyer
It's not a compiler argument, it's a JVM one (setting a system property)

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Errors migrating to GWT 2.7.0 . Can someone please help me ?

2015-02-12 Thread Jens
Its a JVM parameter for defining a system property and not a GWT 
compiler/DevMode parameter.

-- J.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Errors migrating to GWT 2.7.0 . Can someone please help me ?

2015-02-12 Thread ehodges
Same problem here.  I'm compiling with Oracle's 1.7.0.u45 JDK.  I get a 
bunch of warnings like this:

   [WARN] Unable to read: 
jar:file:/C:/gwt-2.7.0/gwt-user.jar!/com/google/gwt/core/Core.gwtar. 
Skipping: java.io.InvalidClassException: 
com.google.gwt.dev.jjs.SourceOrigin$1; local class incompatible: stream 
classdesc serialVersionUID = -2407201776821563037, local class 
serialVersionUID = 4713379764594032837

before my compile terminates with this:

   Adding '1' new generated units
  Compiling...
 Compilation completed in 0.01 seconds
  Removing invalidated units
   [ERROR] Unexpected internal compiler error
java.lang.RuntimeException: Unexpected IOException on in-memory stream
at 
com.google.gwt.dev.javac.CompilationUnit.getTypes(CompilationUnit.java:383)
at 
com.google.gwt.dev.jjs.impl.UnifyAst.assimilateSourceUnit(UnifyAst.java:999)
at com.google.gwt.dev.jjs.impl.UnifyAst.internalFindType(UnifyAst.java:1595)
at com.google.gwt.dev.jjs.impl.UnifyAst.addRootTypes(UnifyAst.java:733)
at 
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$Precompiler.unifyJavaAst(JavaToJavaScriptCompiler.java:1291)
at 
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$Precompiler.constructJavaAst(JavaToJavaScriptCompiler.java:1038)
at 
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$Precompiler.precompile(JavaToJavaScriptCompiler.java:954)
at 
com.google.gwt.dev.jjs.MonolithicJavaToJavaScriptCompiler.precompile(MonolithicJavaToJavaScriptCompiler.java:303)
at 
com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:38)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:286)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:229)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:145)
at com.google.gwt.dev.Compiler.run(Compiler.java:206)
at com.google.gwt.dev.Compiler.run(Compiler.java:158)
at com.google.gwt.dev.Compiler$1.run(Compiler.java:120)
at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:55)
at 
com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:50)
at com.google.gwt.dev.Compiler.main(Compiler.java:127)
Caused by: java.io.InvalidClassException: 
com.google.gwt.dev.jjs.SourceOrigin$1; local class incompatible: stream 
classdesc serialVersionUID = -2407201776821563037, local class 
serialVersionUID = 4713379764594032837
at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:632)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1600)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1513)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1749)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1964)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1888)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1770)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346)
at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1964)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1888)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1770)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:365)
at java.util.ArrayList.readObject(ArrayList.java:731)
at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1044)
at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1866)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1770)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:365)
at 
com.google.gwt.dev.jjs.ast.JDeclaredType.readMembers(JDeclaredType.java:412)
at com.google.gwt.dev.jjs.ast.JProgram.deserializeTypes(JProgram.java:229)
at 
com.google.gwt.dev.javac.CompilationUnit.getTypes(CompilationUnit.java:381)
... 17 more


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Errors migrating to GWT 2.7.0 . Can someone please help me ?

2015-02-12 Thread ehodges
I said I'm compiling with Oracle's 1.7.0.u45 JDK, but I'm not quite sure. 
 Does the Eclipse (4.3) plugin's GWT compiler use the current Eclipse 
default JRE?  Is there something I need to do to configure it?

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Errors migrating to GWT 2.7.0 . Can someone please help me ?

2015-01-21 Thread ssg
] at 
com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:50)
 [java] at com.google.gwt.dev.Compiler.main(Compiler.java:127)
 *[java] Caused by: java.io.InvalidClassException: 
com.google.gwt.dev.jjs.SourceOrigin$1; local class incompatible: stream 
classdesc serialVersionUID = -2407201776821563037, local class 
serialVersionUID = 4713379764594032837*
 [java] at 
java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:619)
 [java] at 
java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1606)
 [java] at 
java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1501)
 [java] at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1755)
 [java] at 
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1334)
 [java] at 
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1976)
 [java] at 
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1900)
 [java] at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1782)
 [java] at 
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1334)
 [java] at 
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1976)
 [java] at 
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1900)
 [java] at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1782)
 [java] at 
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1334)
 [java] at 
java.io.ObjectInputStream.readObject(ObjectInputStream.java:353)
 [java] at java.util.ArrayList.readObject(ArrayList.java:731)
 [java] at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown 
Source)
 [java] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 [java] at java.lang.reflect.Method.invoke(Method.java:600)
 [java] at 
java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1028)
 [java] at 
java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1878)
 [java] at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1782)
 [java] at 
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1334)
 [java] at 
java.io.ObjectInputStream.readObject(ObjectInputStream.java:353)
 [java] at 
com.google.gwt.dev.jjs.ast.JDeclaredType.readMembers(JDeclaredType.java:412)
 [java] at 
com.google.gwt.dev.jjs.ast.JProgram.deserializeTypes(JProgram.java:229)
 [java] at 
com.google.gwt.dev.javac.CompilationUnit.getTypes(CompilationUnit.java:381)
 [java] ... 32 more

BUILD FAILED
C:\APPNAME WrkSpc\AppnameApp\build.xml:64: Java returned: 1
Endof
 
ERROR


On Friday, January 16, 2015 at 12:12:14 PM UTC-5, Thomas Broyer wrote:



 On Friday, January 16, 2015 at 6:02:18 PM UTC+1, ssg wrote:

 Thomas, Thanks a lot for your response.
 I am using JDK1.6. I am also new to GWT.

 1) Can you please help me how  where to add *-Dgwt.usearchives=false* ?


 In your Ant build, where you call the GWT Compiler, add a sysproperty 
 key=gwt.usearchives value=false / to your java task.
  

 2) Are you suggesting me to use GWT 2.8 instead of 2.7 now?


 No!
 (GWT 2.8 will require Java 7+ anyway)


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Errors migrating to GWT 2.7.0 . Can someone please help me ?

2015-01-16 Thread Thomas Broyer
What JDK are you using? If you're not using OpenJDK or Oracle's JDK (e.g. 
IBM JDK), then add -Dgwt.usearchives=false.

Note: GWT 2.8 will remove the gwtar (which are serialized precompilation 
state) so it should hopefully work out of the box with any JDK.

On Thursday, January 15, 2015 at 9:42:51 PM UTC+1, ssg wrote:

 I am getting the following error while performing Ant Build.
 *Can someone please help me ?*

 Compiling module com.acg.mmsea.gwt.Appname
  [java][WARN] Unable to read: 
 jar:file:/C:/gwt-2.7.0/gwt-user.jar!/com/google/gwt/core/Core.gwtar. 
 Skipping: java.io.InvalidClassException: 
 com.google.gwt.dev.jjs.SourceOrigin$1; local class incompatible: stream 
 classdesc serialVersionUID = -2407201776821563037, local class 
 serialVersionUID = 4713379764594032837
  [java][WARN] Unable to read: 
 jar:file:/C:/gwt-2.7.0/gwt-user.jar!/com/google/gwt/user/User.gwtar. 
 Skipping: java.io.InvalidClassException: 
 com.google.gwt.dev.jjs.SourceOrigin$1; local class incompatible: stream 
 classdesc serialVersionUID = -2407201776821563037, local class 
 serialVersionUID = 4713379764594032837
  [java][WARN] Unable to read: 
 jar:file:/C:/gwt-2.7.0/gwt-user.jar!/com/google/gwt/user/UI.gwtar. 
 Skipping: java.io.InvalidClassException: 
 com.google.gwt.dev.jjs.SourceOrigin$1; local class incompatible: stream 
 classdesc serialVersionUID = -2407201776821563037, local class 
 serialVersionUID = 4713379764594032837
  [java][WARN] Unable to read: 
 jar:file:/C:/gwt-2.7.0/gwt-user.jar!/com/google/gwt/user/DOM.gwtar. 
 Skipping: java.io.InvalidClassException: 
 com.google.gwt.dev.jjs.SourceOrigin$1; local class incompatible: stream 
 classdesc serialVersionUID = -2407201776821563037, local class 
 serialVersionUID = 4713379764594032837
  [java][WARN] Unable to read: 
 jar:file:/C:/gwt-2.7.0/gwt-user.jar!/com/google/gwt/user/RemoteService.gwtar. 
 Skipping: java.io.InvalidClassException: 
 com.google.gwt.dev.jjs.SourceOrigin$1; local class incompatible: stream 
 classdesc serialVersionUID = -2407201776821563037, local class 
 serialVersionUID = 4713379764594032837
  [java][WARN] Unable to read: 
 jar:file:/C:/gwt-2.7.0/gwt-user.jar!/com/google/gwt/xml/XML.gwtar. 
 Skipping: java.io.InvalidClassException: 
 com.google.gwt.dev.jjs.SourceOrigin$1; local class incompatible: stream 
 classdesc serialVersionUID = -2407201776821563037, local class 
 serialVersionUID = 4713379764594032837
  [java]Ignored 2 units with compilation errors in first pass.

 [ERROR] Unexpected internal compiler error
  [java] java.lang.RuntimeException: Unexpected IOException on 
 in-memory stream
  [java] at 
 com.google.gwt.dev.javac.CompilationUnit.getTypes(CompilationUnit.java:383)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.assimilateSourceUnit(UnifyAst.java:999)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.internalFindType(UnifyAst.java:1595)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1653)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1645)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.resolveType(UnifyAst.java:1552)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.assimilateSourceUnit(UnifyAst.java:1010)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.internalFindType(UnifyAst.java:1595)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1653)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1645)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.resolveType(UnifyAst.java:1552)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.assimilateSourceUnit(UnifyAst.java:1010)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.internalFindType(UnifyAst.java:1595)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1653)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1645)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.resolveType(UnifyAst.java:1552)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.assimilateSourceUnit(UnifyAst.java:1010)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.internalFindType(UnifyAst.java:1595)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.addRootTypes(UnifyAst.java:733)
  [java] at 
 com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$Precompiler.unifyJavaAst(JavaToJavaScriptCompiler.java:1291)
  [java] at 
 com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$Precompiler.constructJavaAst(JavaToJavaScriptCompiler.java:1038)
  [java] at 
 com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$Precompiler.precompile(JavaToJavaScriptCompiler.java:954)
  [java] at 
 com.google.gwt.dev.jjs.MonolithicJavaToJavaScriptCompiler.precompile(MonolithicJavaToJavaScriptCompiler.java:303)
  [java

Re: Errors migrating to GWT 2.7.0 . Can someone please help me ?

2015-01-16 Thread ssg
Thomas, Thanks a lot for your response.
I am using JDK1.6. I am also new to GWT.

1) Can you please help me how  where to add *-Dgwt.usearchives=false* ?
2) Are you suggesting me to use GWT 2.8 instead of 2.7 now?

Thanks in advance.

On Friday, January 16, 2015 at 4:15:32 AM UTC-5, Thomas Broyer wrote:

 What JDK are you using? If you're not using OpenJDK or Oracle's JDK (e.g. 
 IBM JDK), then add -Dgwt.usearchives=false.

 Note: GWT 2.8 will remove the gwtar (which are serialized precompilation 
 state) so it should hopefully work out of the box with any JDK.

 On Thursday, January 15, 2015 at 9:42:51 PM UTC+1, ssg wrote:

 I am getting the following error while performing Ant Build.
 *Can someone please help me ?*

 Compiling module com.acg.mmsea.gwt.Appname
  [java][WARN] Unable to read: 
 jar:file:/C:/gwt-2.7.0/gwt-user.jar!/com/google/gwt/core/Core.gwtar. 
 Skipping: java.io.InvalidClassException: 
 com.google.gwt.dev.jjs.SourceOrigin$1; local class incompatible: stream 
 classdesc serialVersionUID = -2407201776821563037, local class 
 serialVersionUID = 4713379764594032837
  [java][WARN] Unable to read: 
 jar:file:/C:/gwt-2.7.0/gwt-user.jar!/com/google/gwt/user/User.gwtar. 
 Skipping: java.io.InvalidClassException: 
 com.google.gwt.dev.jjs.SourceOrigin$1; local class incompatible: stream 
 classdesc serialVersionUID = -2407201776821563037, local class 
 serialVersionUID = 4713379764594032837
  [java][WARN] Unable to read: 
 jar:file:/C:/gwt-2.7.0/gwt-user.jar!/com/google/gwt/user/UI.gwtar. 
 Skipping: java.io.InvalidClassException: 
 com.google.gwt.dev.jjs.SourceOrigin$1; local class incompatible: stream 
 classdesc serialVersionUID = -2407201776821563037, local class 
 serialVersionUID = 4713379764594032837
  [java][WARN] Unable to read: 
 jar:file:/C:/gwt-2.7.0/gwt-user.jar!/com/google/gwt/user/DOM.gwtar. 
 Skipping: java.io.InvalidClassException: 
 com.google.gwt.dev.jjs.SourceOrigin$1; local class incompatible: stream 
 classdesc serialVersionUID = -2407201776821563037, local class 
 serialVersionUID = 4713379764594032837
  [java][WARN] Unable to read: 
 jar:file:/C:/gwt-2.7.0/gwt-user.jar!/com/google/gwt/user/RemoteService.gwtar.
  
 Skipping: java.io.InvalidClassException: 
 com.google.gwt.dev.jjs.SourceOrigin$1; local class incompatible: stream 
 classdesc serialVersionUID = -2407201776821563037, local class 
 serialVersionUID = 4713379764594032837
  [java][WARN] Unable to read: 
 jar:file:/C:/gwt-2.7.0/gwt-user.jar!/com/google/gwt/xml/XML.gwtar. 
 Skipping: java.io.InvalidClassException: 
 com.google.gwt.dev.jjs.SourceOrigin$1; local class incompatible: stream 
 classdesc serialVersionUID = -2407201776821563037, local class 
 serialVersionUID = 4713379764594032837
  [java]Ignored 2 units with compilation errors in first pass.

 [ERROR] Unexpected internal compiler error
  [java] java.lang.RuntimeException: Unexpected IOException on 
 in-memory stream
  [java] at 
 com.google.gwt.dev.javac.CompilationUnit.getTypes(CompilationUnit.java:383)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.assimilateSourceUnit(UnifyAst.java:999)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.internalFindType(UnifyAst.java:1595)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1653)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1645)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.resolveType(UnifyAst.java:1552)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.assimilateSourceUnit(UnifyAst.java:1010)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.internalFindType(UnifyAst.java:1595)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1653)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1645)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.resolveType(UnifyAst.java:1552)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.assimilateSourceUnit(UnifyAst.java:1010)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.internalFindType(UnifyAst.java:1595)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1653)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1645)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.resolveType(UnifyAst.java:1552)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.assimilateSourceUnit(UnifyAst.java:1010)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.internalFindType(UnifyAst.java:1595)
  [java] at 
 com.google.gwt.dev.jjs.impl.UnifyAst.addRootTypes(UnifyAst.java:733)
  [java] at 
 com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$Precompiler.unifyJavaAst(JavaToJavaScriptCompiler.java:1291)
  [java] at 
 com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$Precompiler.constructJavaAst

Re: Errors migrating to GWT 2.7.0 . Can someone please help me ?

2015-01-16 Thread Thomas Broyer


On Friday, January 16, 2015 at 6:02:18 PM UTC+1, ssg wrote:

 Thomas, Thanks a lot for your response.
 I am using JDK1.6. I am also new to GWT.

 1) Can you please help me how  where to add *-Dgwt.usearchives=false* ?


In your Ant build, where you call the GWT Compiler, add a sysproperty 
key=gwt.usearchives value=false / to your java task.
 

 2) Are you suggesting me to use GWT 2.8 instead of 2.7 now?


No!
(GWT 2.8 will require Java 7+ anyway)

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Errors migrating to GWT 2.7.0 . Can someone please help me ?

2015-01-15 Thread ssg
I am getting the following error while performing Ant Build.
*Can someone please help me ?*

Compiling module com.acg.mmsea.gwt.Appname
 [java][WARN] Unable to read: 
jar:file:/C:/gwt-2.7.0/gwt-user.jar!/com/google/gwt/core/Core.gwtar. 
Skipping: java.io.InvalidClassException: 
com.google.gwt.dev.jjs.SourceOrigin$1; local class incompatible: stream 
classdesc serialVersionUID = -2407201776821563037, local class 
serialVersionUID = 4713379764594032837
 [java][WARN] Unable to read: 
jar:file:/C:/gwt-2.7.0/gwt-user.jar!/com/google/gwt/user/User.gwtar. 
Skipping: java.io.InvalidClassException: 
com.google.gwt.dev.jjs.SourceOrigin$1; local class incompatible: stream 
classdesc serialVersionUID = -2407201776821563037, local class 
serialVersionUID = 4713379764594032837
 [java][WARN] Unable to read: 
jar:file:/C:/gwt-2.7.0/gwt-user.jar!/com/google/gwt/user/UI.gwtar. 
Skipping: java.io.InvalidClassException: 
com.google.gwt.dev.jjs.SourceOrigin$1; local class incompatible: stream 
classdesc serialVersionUID = -2407201776821563037, local class 
serialVersionUID = 4713379764594032837
 [java][WARN] Unable to read: 
jar:file:/C:/gwt-2.7.0/gwt-user.jar!/com/google/gwt/user/DOM.gwtar. 
Skipping: java.io.InvalidClassException: 
com.google.gwt.dev.jjs.SourceOrigin$1; local class incompatible: stream 
classdesc serialVersionUID = -2407201776821563037, local class 
serialVersionUID = 4713379764594032837
 [java][WARN] Unable to read: 
jar:file:/C:/gwt-2.7.0/gwt-user.jar!/com/google/gwt/user/RemoteService.gwtar. 
Skipping: java.io.InvalidClassException: 
com.google.gwt.dev.jjs.SourceOrigin$1; local class incompatible: stream 
classdesc serialVersionUID = -2407201776821563037, local class 
serialVersionUID = 4713379764594032837
 [java][WARN] Unable to read: 
jar:file:/C:/gwt-2.7.0/gwt-user.jar!/com/google/gwt/xml/XML.gwtar. 
Skipping: java.io.InvalidClassException: 
com.google.gwt.dev.jjs.SourceOrigin$1; local class incompatible: stream 
classdesc serialVersionUID = -2407201776821563037, local class 
serialVersionUID = 4713379764594032837
 [java]Ignored 2 units with compilation errors in first pass.

[ERROR] Unexpected internal compiler error
 [java] java.lang.RuntimeException: Unexpected IOException on in-memory 
stream
 [java] at 
com.google.gwt.dev.javac.CompilationUnit.getTypes(CompilationUnit.java:383)
 [java] at 
com.google.gwt.dev.jjs.impl.UnifyAst.assimilateSourceUnit(UnifyAst.java:999)
 [java] at 
com.google.gwt.dev.jjs.impl.UnifyAst.internalFindType(UnifyAst.java:1595)
 [java] at 
com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1653)
 [java] at 
com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1645)
 [java] at 
com.google.gwt.dev.jjs.impl.UnifyAst.resolveType(UnifyAst.java:1552)
 [java] at 
com.google.gwt.dev.jjs.impl.UnifyAst.assimilateSourceUnit(UnifyAst.java:1010)
 [java] at 
com.google.gwt.dev.jjs.impl.UnifyAst.internalFindType(UnifyAst.java:1595)
 [java] at 
com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1653)
 [java] at 
com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1645)
 [java] at 
com.google.gwt.dev.jjs.impl.UnifyAst.resolveType(UnifyAst.java:1552)
 [java] at 
com.google.gwt.dev.jjs.impl.UnifyAst.assimilateSourceUnit(UnifyAst.java:1010)
 [java] at 
com.google.gwt.dev.jjs.impl.UnifyAst.internalFindType(UnifyAst.java:1595)
 [java] at 
com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1653)
 [java] at 
com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1645)
 [java] at 
com.google.gwt.dev.jjs.impl.UnifyAst.resolveType(UnifyAst.java:1552)
 [java] at 
com.google.gwt.dev.jjs.impl.UnifyAst.assimilateSourceUnit(UnifyAst.java:1010)
 [java] at 
com.google.gwt.dev.jjs.impl.UnifyAst.internalFindType(UnifyAst.java:1595)
 [java] at 
com.google.gwt.dev.jjs.impl.UnifyAst.addRootTypes(UnifyAst.java:733)
 [java] at 
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$Precompiler.unifyJavaAst(JavaToJavaScriptCompiler.java:1291)
 [java] at 
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$Precompiler.constructJavaAst(JavaToJavaScriptCompiler.java:1038)
 [java] at 
com.google.gwt.dev.jjs.JavaToJavaScriptCompiler$Precompiler.precompile(JavaToJavaScriptCompiler.java:954)
 [java] at 
com.google.gwt.dev.jjs.MonolithicJavaToJavaScriptCompiler.precompile(MonolithicJavaToJavaScriptCompiler.java:303)
 [java] at 
com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:38)
 [java] at 
com.google.gwt.dev.Precompile.precompile(Precompile.java:286)
 [java] at 
com.google.gwt.dev.Precompile.precompile(Precompile.java:229)
 [java] at 
com.google.gwt.dev.Precompile.precompile(Precompile.java:145)
 [java] at com.google.gwt.dev.Compiler.run(Compiler.java:206)
 [java

i have problem changing this to native javascript. please help me

2014-08-20 Thread anuj joshi
private native void createChart()
/*-{

$(function () {
$wnd.$(document).ready(function () {
$wnd.Highcharts.setOptions({
global: {
useUTC: false
}
});

$wnd.$('#container').highcharts({
chart: {
type: 'spline',
animation: $wnd.Highcharts.svg, // don't animate in old 
IE
marginRight: 10,
events: {
load: function () {

// set up the updating of the chart each second
var series = this.series[0];
setInterval(function () {
var x = (new Date()).getTime(), // current 
time
y = Math.random();
series.addPoint([x, y], true, true);
}, 1000);
}
}
},
title: {
text: 'Live random data'
},
xAxis: {
type: 'datetime',
tickPixelInterval: 150
},
yAxis: {
title: {
text: 'Value'
},
plotLines: [{
value: 0,
width: 1,
color: '#808080'
}]
},
tooltip: {
formatter: function () {
return 'b' + this.series.name + '/bbr/' +
$wnd.Highcharts.dateFormat('%Y-%m-%d %H:%M:%S', 
this.x) + 'br/' +
$wnd.Highcharts.numberFormat(this.y, 2);
}
},
legend: {
enabled: false
},
exporting: {
enabled: false
},
series: [{
name: 'Random data',
data: (function () {
// generate an array of random data
var data = [],
time = (new Date()).getTime(),
i;

for (i = -19; i = 0; i += 1) {
data.push({
x: time + i * 1000,
y: Math.random()
});
}
return data;
}())
}]
});
});
});

 }-*/;

}

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: can't attach text with mail using Google App engine? please help me

2011-09-14 Thread John
I didn't get any exception.  please help me. I have been waiting for
your reply for the past 8 hours.

This is My Google App Engine Log:

2011-09-13 20:47:12.758 /mailserver 200 79ms 46cpu_ms 0kb Mozilla/5.0
(Windows; U; Windows NT 5.1; en-US; rv:1.9.2.22) Gecko/20110902
Firefox/3.6.22

59.92.6.102 - - [13/Sep/2011:08:17:12 -0700] POST /mailserver HTTP/
1.1 200 0 http://dinefinemail.appspot.com/; Mozilla/5.0 (Windows;
U; Windows NT 5.1; en-US; rv:1.9.2.22) Gecko/20110902 Firefox/3.6.22
dinefinemail.appspot.com ms=80 cpu_ms=47 api_cpu_ms=0
cpm_usd=0.301408 instance=00c61b117ce578ca700cf428ae7f9245e72200

I 2011-09-13 20:47:12.708

[s~dinefinemail/1.353217802270349484].stdout: Mail Servlet is





On Sep 13, 9:11 pm, skly kvk...@gmail.com wrote:
 You can print  the exceptions to view details

 2011/9/13 John gan.tan...@gmail.com

  I don't know what mistake i did in the server side code of google app
  engine, I send my code segment to you. Thanks for advance .

  //server side code
  public class MailServlet extends HttpServlet {

         private static final long serialVersionUID = 1L;

         public void doPost(HttpServletRequest req, HttpServletResponse resp)
         {

                 Properties properties = new Properties();

                 Session session = Session.getDefaultInstance(properties,
  null);

                 String message = Welcome towww.datastoregwt.com;

                 String attachement = attachementString for testing ;

                 try
                 {

                 Message msg = new MimeMessage(session);

                 Multipart mp = new MimeMultipart();

                 MimeBodyPart bodyPart = new MimeBodyPart();

                 bodyPart.setContent(attachement, text/plain);

                 mp.addBodyPart(bodyPart);

                 msg.setFrom(new
  InternetAddress(rajaganapathiv...@gmail.com));
                 msg.addRecipient(Message.RecipientType.TO, new
  InternetAddress(gan.tan...@gmail.com));

                 msg.setSubject(Invitation fromwww.datastoregwt.com);

                 msg.setText(message);

                 msg.setContent(mp);

                 Transport.send(msg);

                 }
                 catch (AddressException e1)
                 {

                 }
                 catch (MessagingException e2)
                 {

                 }
                 catch (UnsupportedEncodingException e)
                 {
                         e.printStackTrace();
                 }
         }
  }

  --
  You received this message because you are subscribed to the Google Groups
  Google Web Toolkit group.
  To post to this group, send email to google-web-toolkit@googlegroups.com.
  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.com.
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



How to avoid user select the text from TextArea Using Mouse and KeyBord? Please help me.

2011-09-13 Thread John
TextArea content not selected by user While click and drag. I refer
the gwt 2.4.0 documentation, I used the setReadOnly() method. It is
used to content not edited by the user, but the user select the text.
how to avoid user select the text from textArea.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



can't attach text with mail using Google App engine? please help me

2011-09-13 Thread John
I don't know what mistake i did in the server side code of google app
engine, I send my code segment to you. Thanks for advance .

//server side code
public class MailServlet extends HttpServlet {

private static final long serialVersionUID = 1L;

public void doPost(HttpServletRequest req, HttpServletResponse resp)
{

Properties properties = new Properties();

Session session = Session.getDefaultInstance(properties, null);

String message = Welcome to www.datastoregwt.com;

String attachement = attachementString for testing ;

try
{

Message msg = new MimeMessage(session);

Multipart mp = new MimeMultipart();

MimeBodyPart bodyPart = new MimeBodyPart();

bodyPart.setContent(attachement, text/plain);

mp.addBodyPart(bodyPart);

msg.setFrom(new
InternetAddress(rajaganapathiv...@gmail.com));
msg.addRecipient(Message.RecipientType.TO, new
InternetAddress(gan.tan...@gmail.com));

msg.setSubject(Invitation from www.datastoregwt.com);

msg.setText(message);

msg.setContent(mp);

Transport.send(msg);

}
catch (AddressException e1)
{

}
catch (MessagingException e2)
{

}
catch (UnsupportedEncodingException e)
{
e.printStackTrace();
}
}
}

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: can't attach text with mail using Google App engine? please help me

2011-09-13 Thread skly
You can print  the exceptions to view details

2011/9/13 John gan.tan...@gmail.com

 I don't know what mistake i did in the server side code of google app
 engine, I send my code segment to you. Thanks for advance .

 //server side code
 public class MailServlet extends HttpServlet {

private static final long serialVersionUID = 1L;

public void doPost(HttpServletRequest req, HttpServletResponse resp)
{

Properties properties = new Properties();

Session session = Session.getDefaultInstance(properties,
 null);

String message = Welcome to www.datastoregwt.com;

String attachement = attachementString for testing ;

try
{

Message msg = new MimeMessage(session);

Multipart mp = new MimeMultipart();

MimeBodyPart bodyPart = new MimeBodyPart();

bodyPart.setContent(attachement, text/plain);

mp.addBodyPart(bodyPart);

msg.setFrom(new
 InternetAddress(rajaganapathiv...@gmail.com));
msg.addRecipient(Message.RecipientType.TO, new
 InternetAddress(gan.tan...@gmail.com));

msg.setSubject(Invitation from www.datastoregwt.com);

msg.setText(message);

msg.setContent(mp);

Transport.send(msg);

}
catch (AddressException e1)
{

}
catch (MessagingException e2)
{

}
catch (UnsupportedEncodingException e)
{
e.printStackTrace();
}
}
 }

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: PLEASE HELP ME

2011-09-12 Thread Sudhakar Abraham
First install the Eclipse Indigo 3.7.  Download GWT SDK from the link
http://code.google.com/webtoolkit/
download.html. Extract the gwt-2.4.0.zip file to your own directory.
In eclipse IDE choose the Project -Properties--Google-- Web
Toolkit--configure sdk tab. Point to your extracted gwt-2.4.0

S. Abraham
www.DataStoreGwt.com

On Sep 10, 9:29 pm, velihasanov hasanovv...@gmail.com wrote:
 First of all, thanks a lot for reading my email.
 I installed gwt and plugged in it to Eclipse Indigo 3.7 .
 Then I met some mistakes, because of it I'd deleted all of files about
 eclipse, and gwt.
 Now I am trying to install GWT again. But it gives an error: Such that
 You are installing software that contains unsigned content. The
 validity if this software can not e established.
 How can I solve this problem?
 Please help me as fast as you can.
 Thanks again,

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



PLEASE HELP ME

2011-09-10 Thread velihasanov
First of all, thanks a lot for reading my email.
I installed gwt and plugged in it to Eclipse Indigo 3.7 .
Then I met some mistakes, because of it I'd deleted all of files about
eclipse, and gwt.
Now I am trying to install GWT again. But it gives an error: Such that
You are installing software that contains unsigned content. The
validity if this software can not e established.
How can I solve this problem?
Please help me as fast as you can.
Thanks again,

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: PLEASE HELP ME

2011-09-10 Thread Eric Clayberg (Google)
Click OK. That isn't a problem that you need to solve.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/9LYl5QcL_fQJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Application written using GWT 2.1.1 goes belly up in 2.3 dev mode -- please help me to understand

2011-08-04 Thread Rob Tanner
Hi,

I have a production application built using GWT 2.1.1 and the Eclipse
plugin.  I've just installed Eclipse Indigo (jee edition) and the GWT
2.3 plugin.  Not wanting to break something that already works, I
created a new workspace in Eclipse and than imported the project.
When I try to bring up the project in Development mode I get lots and
lots of errors (could say all hell breaks loose).  Below is the output
I get in Eclipse.  I'm hoping there's a simple configuration solution
to this problem, but at this point I have no idea what it is.

Thanks,
Rob



[DEBUG] [accountrequest] - Validating newly compiled units
[ERROR] [accountrequest] - Errors in 'jar:file:/Users/rtanner/Java/
Eclipse-Indigo/eclipse/plugins/
com.google.gwt.eclipse.sdkbundle_2.3.0.r37v201106211634/gwt-2.3.0/gwt-
user.jar!/com/google/gwt/dom/client/CanvasElement.java'
[ERROR] [accountrequest] - Line 43: No source code is available 
for
type com.google.gwt.canvas.dom.client.Context; did you forget to
inherit a required module?
[ERROR] [accountrequest] - Line 54: No source code is available 
for
type com.google.gwt.canvas.dom.client.Context2d; did you forget to
inherit a required module?
[ERROR] [accountrequest] - Errors in 'jar:file:/Users/rtanner/Java/
Eclipse-Indigo/eclipse/plugins/
com.google.gwt.eclipse.sdkbundle_2.3.0.r37v201106211634/gwt-2.3.0/gwt-
user.jar!/com/google/gwt/dom/client/MediaElement.java'
[ERROR] [accountrequest] - Line 124: No source code is 
available for
type com.google.gwt.media.dom.client.TimeRanges; did you forget to
inherit a required module?
[ERROR] [accountrequest] - Line 178: No source code is 
available for
type com.google.gwt.media.dom.client.MediaError; did you forget to
inherit a required module?
[ERROR] [accountrequest] - Errors in 'jar:file:/Users/rtanner/Java/
Eclipse-Indigo/eclipse/plugins/
com.google.gwt.eclipse.sdkbundle_2.3.0.r37v201106211634/gwt-2.3.0/gwt-
user.jar!/com/google/gwt/dom/client/Touch.java'
[ERROR] [accountrequest] - Line 36: The method
touchGetClientX(Touch) is undefined for the type DOMImpl
[ERROR] [accountrequest] - Line 45: The method
touchGetClientY(Touch) is undefined for the type DOMImpl
[ERROR] [accountrequest] - Line 54: The method
touchGetIdentifier(Touch) is undefined for the type DOMImpl
[ERROR] [accountrequest] - Line 63: The method 
touchGetPageX(Touch)
is undefined for the type DOMImpl
[ERROR] [accountrequest] - Line 72: The method 
touchGetPageY(Touch)
is undefined for the type DOMImpl
[ERROR] [accountrequest] - Line 103: The method
touchGetScreenX(Touch) is undefined for the type DOMImpl
[ERROR] [accountrequest] - Line 112: The method
touchGetScreenY(Touch) is undefined for the type DOMImpl
[ERROR] [accountrequest] - Line 121: The method
touchGetTarget(Touch) is undefined for the type DOMImpl
[ERROR] [accountrequest] - Errors in 'jar:file:/Users/rtanner/Java/
Eclipse-Indigo/eclipse/plugins/
com.google.gwt.eclipse.sdkbundle_2.3.0.r37v201106211634/gwt-2.3.0/gwt-
user.jar!/com/google/gwt/editor/client/EditorDriver.java'
[ERROR] [accountrequest] - Line 97: No source code is available 
for
type javax.validation.ConstraintViolationT; did you forget to
inherit a required module?
[ERROR] [accountrequest] - Errors in 'jar:file:/Users/rtanner/Java/
Eclipse-Indigo/eclipse/plugins/
com.google.gwt.eclipse.sdkbundle_2.3.0.r37v201106211634/gwt-2.3.0/gwt-
user.jar!/com/google/gwt/editor/client/impl/
AbstractEditorContext.java'
[ERROR] [accountrequest] - Line 92: The method
addSubDelegate(AbstractEditorDelegate, String, Editorcapture#16-of ?
) is undefined for the type AbstractEditorDelegateT,capture#15-of ?
[ERROR] [accountrequest] - Line 93: The method getEditorChain() 
is
undefined for the type AbstractEditorDelegateT,capture#17-of ?
[ERROR] [accountrequest] - Line 129: The method
accept(EditorVisitor) is undefined for the type
AbstractEditorDelegatecapture#23-of ?,capture#24-of ?
[ERROR] [accountrequest] - Errors in 'jar:file:/Users/rtanner/Java/
Eclipse-Indigo/eclipse/plugins/
com.google.gwt.eclipse.sdkbundle_2.3.0.r37v201106211634/gwt-2.3.0/gwt-
user.jar!/com/google/gwt/editor/client/impl/BaseEditorDriver.java'
[ERROR] [accountrequest] - Line 67: No source code is available 
for
type javax.validation.ConstraintViolationT; did you forget to
inherit a required module?
[ERROR] [accountrequest] - Line 82: The method 
initialize(String, T,
E, DelegateMap) in the type AbstractEditorDelegateT,E is not
applicable for the arguments (String, E)
[ERROR] [accountrequest] - Errors in 'jar:file:/Users/rtanner/Java/
Eclipse-Indigo/eclipse/plugins/
com.google.gwt.eclipse.sdkbundle_2.3.0.r37v201106211634/gwt-2.3.0/gwt-

Re: Application written using GWT 2.1.1 goes belly up in 2.3 dev mode -- please help me to understand

2011-08-04 Thread Ioan Agopian
Hi,

It seems that GWT is no longer in the build path. Try setting it again
in the project settings under Google / Web toolkit.

Regards,
Ioan

On Aug 4, 8:20 pm, Rob Tanner caspersg...@gmail.com wrote:
 Hi,

 I have a production application built using GWT 2.1.1 and the Eclipse
 plugin.  I've just installed Eclipse Indigo (jee edition) and the GWT
 2.3 plugin.  Not wanting to break something that already works, I
 created a new workspace in Eclipse and than imported the project.
 When I try to bring up the project in Development mode I get lots and
 lots of errors (could say all hell breaks loose).  Below is the output
 I get in Eclipse.  I'm hoping there's a simple configuration solution
 to this problem, but at this point I have no idea what it is.

 Thanks,
 Rob

 [DEBUG] [accountrequest] - Validating newly compiled units
         [ERROR] [accountrequest] - Errors in 'jar:file:/Users/rtanner/Java/
 Eclipse-Indigo/eclipse/plugins/
 com.google.gwt.eclipse.sdkbundle_2.3.0.r37v201106211634/gwt-2.3.0/gwt-
 user.jar!/com/google/gwt/dom/client/CanvasElement.java'
                 [ERROR] [accountrequest] - Line 43: No source code is 
 available for
 type com.google.gwt.canvas.dom.client.Context; did you forget to
 inherit a required module?
                 [ERROR] [accountrequest] - Line 54: No source code is 
 available for
 type com.google.gwt.canvas.dom.client.Context2d; did you forget to
 inherit a required module?
         [ERROR] [accountrequest] - Errors in 'jar:file:/Users/rtanner/Java/
 Eclipse-Indigo/eclipse/plugins/
 com.google.gwt.eclipse.sdkbundle_2.3.0.r37v201106211634/gwt-2.3.0/gwt-
 user.jar!/com/google/gwt/dom/client/MediaElement.java'
                 [ERROR] [accountrequest] - Line 124: No source code is 
 available for
 type com.google.gwt.media.dom.client.TimeRanges; did you forget to
 inherit a required module?
                 [ERROR] [accountrequest] - Line 178: No source code is 
 available for
 type com.google.gwt.media.dom.client.MediaError; did you forget to
 inherit a required module?
         [ERROR] [accountrequest] - Errors in 'jar:file:/Users/rtanner/Java/
 Eclipse-Indigo/eclipse/plugins/
 com.google.gwt.eclipse.sdkbundle_2.3.0.r37v201106211634/gwt-2.3.0/gwt-
 user.jar!/com/google/gwt/dom/client/Touch.java'
                 [ERROR] [accountrequest] - Line 36: The method
 touchGetClientX(Touch) is undefined for the type DOMImpl
                 [ERROR] [accountrequest] - Line 45: The method
 touchGetClientY(Touch) is undefined for the type DOMImpl
                 [ERROR] [accountrequest] - Line 54: The method
 touchGetIdentifier(Touch) is undefined for the type DOMImpl
                 [ERROR] [accountrequest] - Line 63: The method 
 touchGetPageX(Touch)
 is undefined for the type DOMImpl
                 [ERROR] [accountrequest] - Line 72: The method 
 touchGetPageY(Touch)
 is undefined for the type DOMImpl
                 [ERROR] [accountrequest] - Line 103: The method
 touchGetScreenX(Touch) is undefined for the type DOMImpl
                 [ERROR] [accountrequest] - Line 112: The method
 touchGetScreenY(Touch) is undefined for the type DOMImpl
                 [ERROR] [accountrequest] - Line 121: The method
 touchGetTarget(Touch) is undefined for the type DOMImpl
         [ERROR] [accountrequest] - Errors in 'jar:file:/Users/rtanner/Java/
 Eclipse-Indigo/eclipse/plugins/
 com.google.gwt.eclipse.sdkbundle_2.3.0.r37v201106211634/gwt-2.3.0/gwt-
 user.jar!/com/google/gwt/editor/client/EditorDriver.java'
                 [ERROR] [accountrequest] - Line 97: No source code is 
 available for
 type javax.validation.ConstraintViolationT; did you forget to
 inherit a required module?
         [ERROR] [accountrequest] - Errors in 'jar:file:/Users/rtanner/Java/
 Eclipse-Indigo/eclipse/plugins/
 com.google.gwt.eclipse.sdkbundle_2.3.0.r37v201106211634/gwt-2.3.0/gwt-
 user.jar!/com/google/gwt/editor/client/impl/
 AbstractEditorContext.java'
                 [ERROR] [accountrequest] - Line 92: The method
 addSubDelegate(AbstractEditorDelegate, String, Editorcapture#16-of ?) is 
 undefined for the type AbstractEditorDelegateT,capture#15-of ?

                 [ERROR] [accountrequest] - Line 93: The method 
 getEditorChain() is
 undefined for the type AbstractEditorDelegateT,capture#17-of ?
                 [ERROR] [accountrequest] - Line 129: The method
 accept(EditorVisitor) is undefined for the type
 AbstractEditorDelegatecapture#23-of ?,capture#24-of ?
         [ERROR] [accountrequest] - Errors in 'jar:file:/Users/rtanner/Java/
 Eclipse-Indigo/eclipse/plugins/
 com.google.gwt.eclipse.sdkbundle_2.3.0.r37v201106211634/gwt-2.3.0/gwt-
 user.jar!/com/google/gwt/editor/client/impl/BaseEditorDriver.java'
                 [ERROR] [accountrequest] - Line 67: No source code is 
 available for
 type javax.validation.ConstraintViolationT; did you forget to
 inherit a required module?
                 [ERROR] [accountrequest] - Line 82: The method 
 initialize(String, T,
 E, DelegateMap) in the 

Re: Application written using GWT 2.1.1 goes belly up in 2.3 dev mode -- please help me to understand

2011-08-04 Thread Jeff Larsen
Are you using maven? 

This looks like you have competing versions of GWT on your classpath and the 
old one is winning :)

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/VVr-1tf30KkJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: please Help me GWT Listbox

2011-01-06 Thread Y2i
Not sure if you can do this with ListBox, but you can try constructing
this through DOM manipulation using SelectElement, OptGroupElement and
OptionElement

On Jan 5, 10:34 pm, vijay gohel vijayigo...@gmail.com wrote:
 i want aout put like

 Group1
      Item1-1
      Item1-2
      Item1-3
      Item1-4
 Group2
      Item2-1
      Item2-2
      Item2-3
      Item2-4
 etc

 for that  in HTML

 there is option in Select Tag and Option in Select Tag is
 optiongroup

 i want that's output in get list box

 thanks

 Vijay

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: please Help me GWT Listbox

2011-01-06 Thread jaybose
Vijay, if you can't figure this out using Y2i's suggestion, consider
using a Tree rather than a ListBox.

http://gwt.google.com/samples/Showcase/Showcase.html#!CwTree


On Jan 6, 2:18 am, Y2i yur...@gmail.com wrote:
 Not sure if you can do this with ListBox, but you can try constructing
 this through DOM manipulation using SelectElement, OptGroupElement and
 OptionElement

 On Jan 5, 10:34 pm, vijay gohel vijayigo...@gmail.com wrote:

  i want aout put like

  Group1
       Item1-1
       Item1-2
       Item1-3
       Item1-4
  Group2
       Item2-1
       Item2-2
       Item2-3
       Item2-4
  etc

  for that  in HTML

  there is option in Select Tag and Option in Select Tag is
  optiongroup

  i want that's output in get list box

  thanks

  Vijay

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



RE: please Help me GWT Listbox

2011-01-06 Thread nbansal...@gmail.com
Group 1


-Original Message-
From: vijay gohel
Sent:  06/01/2011 12:04:25 pm
Subject:  please Help me  GWT Listbox

i want aout put like

Group1
 Item1-1
 Item1-2
 Item1-3
 Item1-4
Group2
 Item2-1
 Item2-2
 Item2-3
 Item2-4
etc

for that  in HTML

there is option in Select Tag and Option in Select Tag is
optiongroup

i want that's output in get list box

thanks

Vijay


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



please Help me GWT Listbox

2011-01-05 Thread vijay gohel
i want aout put like

Group1
 Item1-1
 Item1-2
 Item1-3
 Item1-4
Group2
 Item2-1
 Item2-2
 Item2-3
 Item2-4
etc

for that  in HTML

there is option in Select Tag and Option in Select Tag is
optiongroup

i want that's output in get list box

thanks

Vijay


-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: please Help me GWT Listbox

2011-01-04 Thread Nirmal Patel
Not sure if I understand your requirement; but are you looking to allow the 
user select multiple options from a list??

If so, there is a GWT widget: ListBox (
http://gwt.google.com/samples/Showcase/Showcase.html#!CwListBox)

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: please Help me GWT Listbox

2011-01-04 Thread jaybose
http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/user/client/ui/ListBox.html

Based on the javadoc, you should see what you need to add elements to
a ListBox.
If this is not what you needed, please explain further.



On Jan 3, 3:57 am, vijay gohel vijayigo...@gmail.com wrote:
 hi,

 please Help Me in Listbox widget

 i want to add option Group like Select tag's Option group  in List
 box

 How it is Possible. i don't Know.

 Please Help me on it

 thanks in advance

 Regards,
 Vijay Gohel

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: please Help me GWT Listbox

2011-01-04 Thread Michael
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/548749fc1cef2ae8

On Jan 3, 10:57 am, vijay gohel vijayigo...@gmail.com wrote:
 hi,

 please Help Me in Listbox widget

 i want to add option Group like Select tag's Option group  in List
 box

 How it is Possible. i don't Know.

 Please Help me on it

 thanks in advance

 Regards,
 Vijay Gohel

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



please Help me GWT Listbox

2011-01-03 Thread vijay gohel
hi,

please Help Me in Listbox widget

i want to add option Group like Select tag's Option group  in List
box

How it is Possible. i don't Know.

Please Help me on it

thanks in advance


Regards,
Vijay Gohel

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Google GXT ListView, please help me

2010-04-30 Thread sridevi macherla
Hi,


Can anyone please provide an example for Grid as List using ListView (GXT
Component)?  Please help me in this regard

thanks
Swaroop

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Someone please help me. I met a problem when I made a RPC class

2009-12-03 Thread Leon
Hi dear developers,

I downloaded the mysql connect gwt example from
http://code.google.com/p/gwt-examples/wiki/project_MySQLConn. And I re-
configured it on my Eclipse Galileo (using gwt eclipse plugin) + XP.
When it makes rpc call and retrieves the data from mysql database, it
give me this error:

The server is running at http://localhost:8080/
Dec 3, 2009 3:13:32 PM
com.google.appengine.tools.development.ApiProxyLocalImpl log
SEVERE: [1259853212481000] javax.servlet.ServletContext log: Exception
while dispatching incoming RPC call
com.google.gwt.user.server.rpc.UnexpectedException: Service method
'public abstract com.mysql.connect.client.BibleData[]
com.mysql.connect.client.MySQLConnService.getBibleInfo()' threw an
unexpected exception: java.security.AccessControlException: access
denied (java.io.FilePermission ALL FILES execute)
at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure
(RPC.java:360)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse
(RPC.java:546)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall
(RemoteServiceServlet.java:166)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost
(RemoteServiceServlet.java:86)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
487)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter
(ServletHandler.java:1093)
at
com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter
(TransactionCleanupFilter.java:43)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter
(ServletHandler.java:1084)
at com.google.appengine.tools.development.StaticFileFilter.doFilter
(StaticFileFilter.java:124)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter
(ServletHandler.java:1084)
at org.mortbay.jetty.servlet.ServletHandler.handle
(ServletHandler.java:360)
at org.mortbay.jetty.security.SecurityHandler.handle
(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle
(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle
(ContextHandler.java:712)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:
405)
at com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle
(DevAppEngineWebAppContext.java:54)
at org.mortbay.jetty.handler.HandlerWrapper.handle
(HandlerWrapper.java:139)
at com.google.appengine.tools.development.JettyContainerService
$ApiProxyHandler.handle(JettyContainerService.java:313)
at org.mortbay.jetty.handler.HandlerWrapper.handle
(HandlerWrapper.java:139)
at org.mortbay.jetty.Server.handle(Server.java:313)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
506)
at org.mortbay.jetty.HttpConnection$RequestHandler.content
(HttpConnection.java:844)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:644)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:205)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
at org.mortbay.io.nio.SelectChannelEndPoint.run
(SelectChannelEndPoint.java:396)
at org.mortbay.thread.BoundedThreadPool$PoolThread.run
(BoundedThreadPool.java:442)
Caused by: java.security.AccessControlException: access denied
(java.io.FilePermission ALL FILES execute)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at com.google.appengine.tools.development.DevAppServerFactory
$CustomSecurityManager.checkPermission(DevAppServerFactory.java:128)
at java.lang.SecurityManager.checkExec(Unknown Source)
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at com.mysql.connect.server.DB_Conn.getServerMysqlOn(DB_Conn.java:42)
at com.mysql.connect.server.DB_Conn.init(DB_Conn.java:26)
at com.mysql.connect.server.DB_Bible.init(DB_Bible.java:20)
at com.mysql.connect.server.MySQLConnImpl.getBibleInfo
(MySQLConnImpl.java:35)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse
(RPC.java:527)
... 27 more

And the asynchronous class returns The call failed on the server; see
server log for details

Re: Error's , PLEASE HELP ME :)

2009-03-02 Thread taourirt1...@googlemail.com

kannst du bitte uns zeigen,
wie du das gemacht hast?
ich habe nämlich das gleiche
problme!!!

Gruß
taourirt1981

On 9 Jan., 17:50, King m-em...@hotmail.de wrote:
 hello guys,

 at first i thank you all for the big feedback!

 I solved the problem :) I have asked friend who helped me

 thank you all

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Browser Issues- Please help me

2009-01-22 Thread Venkat
);
flowPanel_1.setSize(100%, 100%);
flowPanel_1.clear();
String values[] = strfrndsvalue.split(delimeter);

for (int i = 0; i  values.length; i++) {

CheckBox chk = new CheckBox(values[i]);
chk.setWidth(250px);
flowPanel_1.add(chk);

}

} else if (selectedText.equals(strb)) {
flowPanel_1.setVisible(false);
textBox.setVisible(false);
friendsnameOrEmailLabel.setVisible(false);
flowPanel.setVisible(true);
scrollPanel.setWidget(flowPanel);
flowPanel.clear();
String value[] = strgrp.split(delimiter1);

for (int j = 0; j  value.length; j++) {

CheckBox chk1 = new CheckBox(value[j]);
chk1.setWidth(250px);
flowPanel.add(chk1);

}

}else if(selectedText.equals(strcontact)){

flowPanel_1.setVisible(false);
flowPanel.setVisible(false);
textBox.setVisible(false);
friendsnameOrEmailLabel.setVisible(false);
flowPanel_2.setVisible(true);
scrollPanel.setWidget(flowPanel_2);
flowPanel_2.clear();
String value[] = strfrndsvalue.split(delimiter1);

for (int j = 0; j  value.length; j++) {

CheckBox chk2 = new CheckBox(value[j]);
chk2.setWidth(250px);
flowPanel_2.add(chk2);

}
}

}

}

Please help me.

Thanks  Regards,
venkat

 FF-image.bmp
365KVisaHämta

 IE-image.bmp
365KVisaHämta
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Browser Issues- Please help me

2009-01-21 Thread Adam T
)){

             flowPanel_1.setVisible(false);
             flowPanel.setVisible(false);
             textBox.setVisible(false);
             friendsnameOrEmailLabel.setVisible(false);
             flowPanel_2.setVisible(true);
             scrollPanel.setWidget(flowPanel_2);
             flowPanel_2.clear();
             String value[] = strfrndsvalue.split(delimiter1);

             for (int j = 0; j  value.length; j++) {

                 CheckBox chk2 = new CheckBox(value[j]);
                 chk2.setWidth(250px);
                 flowPanel_2.add(chk2);

             }
         }

     }

 }

 Please help me.

 Thanks  Regards,
 venkat

  FF-image.bmp
 365KVisaHämta

  IE-image.bmp
 365KVisaHämta
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Browser Issues- Please help me

2009-01-21 Thread alex.d
);
              scrollPanel.setWidget(flowPanel);
              flowPanel.clear();
              String value[] = strgrp.split(delimiter1);

              for (int j = 0; j  value.length; j++) {

                  CheckBox chk1 = new CheckBox(value[j]);
                  chk1.setWidth(250px);
                  flowPanel.add(chk1);

              }

          }else if(selectedText.equals(strcontact)){

              flowPanel_1.setVisible(false);
              flowPanel.setVisible(false);
              textBox.setVisible(false);
              friendsnameOrEmailLabel.setVisible(false);
              flowPanel_2.setVisible(true);
              scrollPanel.setWidget(flowPanel_2);
              flowPanel_2.clear();
              String value[] = strfrndsvalue.split(delimiter1);

              for (int j = 0; j  value.length; j++) {

                  CheckBox chk2 = new CheckBox(value[j]);
                  chk2.setWidth(250px);
                  flowPanel_2.add(chk2);

              }
          }

      }

  }

  Please help me.

  Thanks  Regards,
  venkat

   FF-image.bmp
  365KVisaHämta

   IE-image.bmp
  365KVisaHämta


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Browser Issues- Please help me

2009-01-21 Thread Danny Schimke
);
   flowPanel_1.add(chk);
 
   }
 
   } else if (selectedText.equals(strb)) {
   flowPanel_1.setVisible(false);
   textBox.setVisible(false);
   friendsnameOrEmailLabel.setVisible(false);
   flowPanel.setVisible(true);
   scrollPanel.setWidget(flowPanel);
   flowPanel.clear();
   String value[] = strgrp.split(delimiter1);
 
   for (int j = 0; j  value.length; j++) {
 
   CheckBox chk1 = new CheckBox(value[j]);
   chk1.setWidth(250px);
   flowPanel.add(chk1);
 
   }
 
   }else if(selectedText.equals(strcontact)){
 
   flowPanel_1.setVisible(false);
   flowPanel.setVisible(false);
   textBox.setVisible(false);
   friendsnameOrEmailLabel.setVisible(false);
   flowPanel_2.setVisible(true);
   scrollPanel.setWidget(flowPanel_2);
   flowPanel_2.clear();
   String value[] = strfrndsvalue.split(delimiter1);
 
   for (int j = 0; j  value.length; j++) {
 
   CheckBox chk2 = new CheckBox(value[j]);
   chk2.setWidth(250px);
   flowPanel_2.add(chk2);
 
   }
   }
 
   }
 
   }
 
   Please help me.
 
   Thanks  Regards,
   venkat
 
FF-image.bmp
   365KVisaHämta
 
IE-image.bmp
   365KVisaHämta
 
 
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Error's , PLEASE HELP ME :)

2009-01-09 Thread King

hello guys,

at first i thank you all for the big feedback!

I solved the problem :) I have asked friend who helped me

thank you all
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Error's , PLEASE HELP ME :)

2008-12-30 Thread King


 This looks like the problem-tab in Eclipse. More interesting would
 be the log-window of the server when you start your project in
 hosted mode.

I get the same error message like before in hosted mode:

[ERROR] Unable to load module entry point class
se1.gwt.client.StringCounterClient (see associated exception for
details)
com.google.gwt.core.client.JavaScriptException: (TypeError):
'$wnd.Ext.StatusBar' ist Null oder kein Objekt
 number: -2146823281
 description: '$wnd.Ext.StatusBar' ist Null oder kein Objekt
at com.gwtext.client.widgets.Component.checkExtVer(Native Method)
at com.gwtext.client.widgets.Component.clinit(Component.java:108)
at se1.gwt.client.StringCounterClient.onModuleLoad
(StringCounterClient.java:22)

But i dont understand, why i get the error symbol on the public folder
in the gwt projekt... I included the file system of gwt-ext after that
i have a red, x on the icon of the public folder!


 If you're not using GWT 1.5 you should change your JDK to 1.4 BTW.

I use GWT 1.5.3 ...


 If nothing works you might consider changing the list to the
 mailing-list of GWT-Ext. They also reside at Google Groups but
 the people should be different.

how can i change it ?


thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Error's , PLEASE HELP ME :)

2008-12-30 Thread King


 This looks like the problem-tab in Eclipse. More interesting would
 be the log-window of the server when you start your project in
 hosted mode.

I get the same error message like before in hosted mode:

[ERROR] Unable to load module entry point class
se1.gwt.client.StringCounterClient (see associated exception for
details)
com.google.gwt.core.client.JavaScriptException: (TypeError):
'$wnd.Ext.StatusBar' ist Null oder kein Objekt
 number: -2146823281
 description: '$wnd.Ext.StatusBar' ist Null oder kein Objekt
at com.gwtext.client.widgets.Component.checkExtVer(Native Method)
at com.gwtext.client.widgets.Component.clinit(Component.java:108)
at se1.gwt.client.StringCounterClient.onModuleLoad
(StringCounterClient.java:22)

But i dont understand, why i get the error symbol on the public folder
in the gwt projekt... I included the file system of gwt-ext after that
i have a red, x on the icon of the public folder!


 If you're not using GWT 1.5 you should change your JDK to 1.4 BTW.

I use GWT 1.5.3 ...


 If nothing works you might consider changing the list to the
 mailing-list of GWT-Ext. They also reside at Google Groups but
 the people should be different.

how can i change it ?


thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Error's , PLEASE HELP ME :)

2008-12-29 Thread King

Hello Lothar :)

I will explain my problem in german... Maybe than we wont have this
communication problems :)

Also ich habe schon einiges versucht und gegoogelt habe ich auch
schon...

Meine Vermutung ist einfach, es stimmt was mit EntryPoint{ und
onModulLoad() .. was nicht! Die zweite Fehlermeldung kann man ja
ausser acht lassen, weil
es sich auf das erste Problem bezieht!

würde mich fruen wenn mir da jemand erklär was es so mit entrypoint
und so auf sich hat

LG

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Error's , PLEASE HELP ME :)

2008-12-29 Thread Jason Essington

Judging from the error message something in GWT is attempting to  
access an object from outside of GWT ... $wnd.Ext.StatuBar ... and  
that object does not exist ...

This is likely to mean that you have either forgotten to add the  
script tag for that external library, or the file is not where it  
was expected to be.

-jason

On Dec 26, 2008, at 5:50 PM, King wrote:


 Hello Guys,

 I get the following Error Message, if I try to run the chart example
 from the page http://www.gwt-ext.com/demo-charts/#lineChart ... I
 included the source code in my projekt , I only rename the
 source to StringCounterClient, dont ask why :) !

 The Error Message is:
 [ERROR] Unable to load module entry point class
 se1.gwt.client.StringCounterClient (see associated exception for
 details)
 com.google.gwt.core.client.JavaScriptException: (TypeError):
 '$wnd.Ext.StatusBar' ist Null oder kein Objekt
 number: -2146823281
 description: '$wnd.Ext.StatusBar' ist Null oder kein Objekt
   at com.gwtext.client.widgets.Component.checkExtVer(Native Method)
   at com.gwtext.client.widgets.Component.clinit(Component.java:108)

 the secon error Message is:
 [ERROR] Failure to load module 'se1.gwt.StringCounterClient'

 I get this messages on the the shell (Web-Browser) if i want to run
 the projekt as a gwt application
 ...

 Technical details:
 I use:
 Eclipse 3.4.1
 GWT: 1.5.3
 GWT-EXT: 2.0.5.3

 this is the source code of GWT-EXT Charts, with the changes from me on
 line 18:

 package se1.gwt.client;


 import com.google.gwt.core.client.EntryPoint;
 import com.google.gwt.i18n.client.NumberFormat;
 import com.gwtext.client.data.*;
 import com.gwtext.client.widgets.Panel;
 import com.gwtext.client.widgets.Viewport;
 import com.gwtext.client.widgets.chart.yui.LineChart;
 import com.gwtext.client.widgets.chart.yui.NumericAxis;
 import com.gwtext.client.widgets.chart.yui.SeriesDefY;
 import com.gwtext.client.widgets.form.NumberField;
 import com.gwtext.client.widgets.form.TextField;
 import com.gwtext.client.widgets.grid.*;
 import
 com.gwtext.client.widgets.grid.event.EditorGridListenerAdapter;
 import com.gwtext.client.widgets.layout.VerticalLayout;

 public class StringCounterClient implements EntryPoint {

public void onModuleLoad() {

 Panel panel = new Panel();
 panel.setPaddings(15);

panel.setLayout(new VerticalLayout(15));

 MemoryProxy proxy = new MemoryProxy(getData());
 RecordDef recordDef = new RecordDef(
 new FieldDef[]{
 new StringFieldDef(month),
 new FloatFieldDef(rent),
 new FloatFieldDef(utilities)
 }
 );

 ArrayReader reader = new ArrayReader(recordDef);
 final Store store = new Store(proxy, reader);
 store.load();

 SeriesDefY[] seriesDef = new SeriesDefY[]{

 new SeriesDefY(Rent, rent),
 new SeriesDefY(Utilities, utilities)

 };

 NumericAxis currencyAxis = new NumericAxis();
 currencyAxis.setMinimum(800);
 currencyAxis.setLabelFunction(formatCurrencyAxisLabel);
 final LineChart chart = new LineChart();
 chart.setTitle(Monthly Expenses);
 chart.setWMode(transparent);
 chart.setStore(store);
 chart.setSeries(seriesDef);
 chart.setXField(month);
 chart.setYAxis(currencyAxis);
 chart.setDataTipFunction(getDataTipText);
 chart.setExpressInstall(js/yui/assets/
 expressinstall.swf);
 chart.setWidth(500);
 chart.setHeight(400);

 panel.add(chart);


 Renderer renderer = new Renderer() {
 public String render(Object value, CellMetadata
 cellMetadata, Record record, int rowIndex, int colNum, Store store)
 {
 NumberFormat nf = NumberFormat.getCurrencyFormat();
 return nf.format(((Number) value).doubleValue());
 }
 };
 ColumnConfig monthConfig = new ColumnConfig(Month, month,
 150, true);
 TextField monthField = new TextField();
 monthField.setSelectOnFocus(true);
 monthConfig.setEditor(new GridEditor(monthField));

 NumberField rentField = new NumberField();
 rentField.setSelectOnFocus(true);

 ColumnConfig rentConfig = new ColumnConfig(Rent, rent,
 100, true);
 rentConfig.setEditor(new GridEditor(rentField));
 rentConfig.setRenderer(renderer);

 NumberField utilitiesField = new NumberField();
 utilitiesField.setSelectOnFocus(true);

 ColumnConfig utilitiesConfig = new ColumnConfig(Utilities,
 utilities, 100, true);
 utilitiesConfig.setEditor(new GridEditor(utilitiesField));
 utilitiesConfig.setRenderer(renderer);

 ColumnModel columnModel = new ColumnModel(new ColumnConfig[]
 {
 monthConfig,
 rentConfig,
 utilitiesConfig
 });


Re: Error's , PLEASE HELP ME :)

2008-12-29 Thread Lothar Kimmeringer

King schrieb:

 Also ich habe schon einiges versucht und gegoogelt habe ich auch
 schon...
 
 Meine Vermutung ist einfach, es stimmt was mit EntryPoint{ und
 onModulLoad() .. was nicht! Die zweite Fehlermeldung kann man ja
 ausser acht lassen, weil
 es sich auf das erste Problem bezieht!

Das Problem ist, dass er die Statusbar von ext nicht findet. Wenn
Du Dir das Logfenster des Servers mal ansiehst. Dort werden einige
Resourcen als nicht gefunden gemeldet.

Auf http://code.google.com/p/gwt-ext/ findet sich der Text
Ext 2.0.2 can be downloaded from http://yogurtearl.com/ext-2.0.2.zip.;

Die JS-Dateien und anderen Resourcen befinden sich darin.


Gruesse, Lothar

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Error's , PLEASE HELP ME :)

2008-12-28 Thread King



On 27 Dez., 14:12, Lothar Kimmeringer j...@kimmeringer.de wrote:
 King schrieb:

  com.google.gwt.core.client.JavaScriptException: (TypeError):
  '$wnd.Ext.StatusBar' ist Null oder kein Objekt

 Have you searched for this error-message using your search-engine
 of least mistrust? There should be a lot of threads about this.



  I use:
 [...]
  GWT-EXT: 2.0.5.3

 the wrapper-classes but not the Javscript-library of Ext...

 Regards, Lothar



which search engine do you mean ? Do mean that I habe to search in the
Internet ?... Can you explain it to me clearlear ?

I included the gwt-ext.jar file in eclipse ?


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Error's , PLEASE HELP ME :)

2008-12-28 Thread King



On 27 Dez., 14:12, Lothar Kimmeringer j...@kimmeringer.de wrote:
 King schrieb:

  com.google.gwt.core.client.JavaScriptException: (TypeError):
  '$wnd.Ext.StatusBar' ist Null oder kein Objekt

 Have you searched for this error-message using your search-engine
 of least mistrust? There should be a lot of threads about this.



  I use:
 [...]
  GWT-EXT: 2.0.5.3

 the wrapper-classes but not the Javscript-library of Ext...

 Regards, Lothar



which search engine do you mean ? Do mean that I habe to search in the
Internet ?... Can you explain it to me clearlear ?

I included the gwt-ext.jar file in eclipse ?


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Error's , PLEASE HELP ME :)

2008-12-28 Thread Lothar Kimmeringer

King schrieb:
 
 On 27 Dez., 14:12, Lothar Kimmeringer j...@kimmeringer.de wrote:
 King schrieb:

 com.google.gwt.core.client.JavaScriptException: (TypeError):
 '$wnd.Ext.StatusBar' ist Null oder kein Objekt
 Have you searched for this error-message using your search-engine
 of least mistrust? There should be a lot of threads about this.

 I use:
 [...]
 GWT-EXT: 2.0.5.3
 the wrapper-classes but not the Javscript-library of Ext...
 
 which search engine do you mean ?

The one you also use to find all the things you want to know
before you ask people actually to let them solve your problem.

 Do mean that I habe to search in the
 Internet ?...

Yes, trying to find the solution for yourself first is always
a good start. Especially this problem has been discussed also
on this list - where it's off topic because GWTExt != GWT -
where answers already have been given.

 Can you explain it to me clearlear ?

In your language: Such erst mal selbst nach einer Loesung,
bevor Du es anderen einfach so vor die Nase wirfst. Hier
sitzen die Leute nicht einfach nur herum und langweilen sich,
so dass diese ich habe keine Lust, mich damit zu beschaeftigen-
Fragen einfach eher unbeantwortet bleiben.

 I included the gwt-ext.jar file in eclipse ?

but not the Ext-project containing all the javascript-files
and other resources that are actually implementing all
the functionalies. The project-page gives you a link to the
page where you can download the library. As well there are
enough error-messages in the log-window in hosted mode showing
problems by providing resources like js- and other files.


Regards, Lothar

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Error's , PLEASE HELP ME :)

2008-12-27 Thread Lothar Kimmeringer

King schrieb:

 com.google.gwt.core.client.JavaScriptException: (TypeError):
 '$wnd.Ext.StatusBar' ist Null oder kein Objekt

Have you searched for this error-message using your search-engine
of least mistrust? There should be a lot of threads about this.

 I use:
[...]
 GWT-EXT: 2.0.5.3

the wrapper-classes but not the Javscript-library of Ext...


Regards, Lothar

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Error's , PLEASE HELP ME :)

2008-12-26 Thread King

Hello Guys,

I get the following Error Message, if I try to run the chart example
from the page http://www.gwt-ext.com/demo-charts/#lineChart ... I
included the source code in my projekt , I only rename the
source to StringCounterClient, dont ask why :) !

The Error Message is:
[ERROR] Unable to load module entry point class
se1.gwt.client.StringCounterClient (see associated exception for
details)
com.google.gwt.core.client.JavaScriptException: (TypeError):
'$wnd.Ext.StatusBar' ist Null oder kein Objekt
 number: -2146823281
 description: '$wnd.Ext.StatusBar' ist Null oder kein Objekt
at com.gwtext.client.widgets.Component.checkExtVer(Native Method)
at com.gwtext.client.widgets.Component.clinit(Component.java:108)

the secon error Message is:
[ERROR] Failure to load module 'se1.gwt.StringCounterClient'

I get this messages on the the shell (Web-Browser) if i want to run
the projekt as a gwt application
...

Technical details:
I use:
Eclipse 3.4.1
GWT: 1.5.3
GWT-EXT: 2.0.5.3

this is the source code of GWT-EXT Charts, with the changes from me on
line 18:

package se1.gwt.client;


 import com.google.gwt.core.client.EntryPoint;
 import com.google.gwt.i18n.client.NumberFormat;
 import com.gwtext.client.data.*;
 import com.gwtext.client.widgets.Panel;
 import com.gwtext.client.widgets.Viewport;
 import com.gwtext.client.widgets.chart.yui.LineChart;
 import com.gwtext.client.widgets.chart.yui.NumericAxis;
 import com.gwtext.client.widgets.chart.yui.SeriesDefY;
 import com.gwtext.client.widgets.form.NumberField;
 import com.gwtext.client.widgets.form.TextField;
 import com.gwtext.client.widgets.grid.*;
 import
com.gwtext.client.widgets.grid.event.EditorGridListenerAdapter;
 import com.gwtext.client.widgets.layout.VerticalLayout;

 public class StringCounterClient implements EntryPoint {

public void onModuleLoad() {

 Panel panel = new Panel();
 panel.setPaddings(15);

panel.setLayout(new VerticalLayout(15));

 MemoryProxy proxy = new MemoryProxy(getData());
 RecordDef recordDef = new RecordDef(
 new FieldDef[]{
 new StringFieldDef(month),
 new FloatFieldDef(rent),
 new FloatFieldDef(utilities)
 }
 );

 ArrayReader reader = new ArrayReader(recordDef);
 final Store store = new Store(proxy, reader);
 store.load();

 SeriesDefY[] seriesDef = new SeriesDefY[]{

 new SeriesDefY(Rent, rent),
 new SeriesDefY(Utilities, utilities)

 };

 NumericAxis currencyAxis = new NumericAxis();
 currencyAxis.setMinimum(800);
 currencyAxis.setLabelFunction(formatCurrencyAxisLabel);
 final LineChart chart = new LineChart();
 chart.setTitle(Monthly Expenses);
 chart.setWMode(transparent);
 chart.setStore(store);
 chart.setSeries(seriesDef);
 chart.setXField(month);
 chart.setYAxis(currencyAxis);
 chart.setDataTipFunction(getDataTipText);
 chart.setExpressInstall(js/yui/assets/
expressinstall.swf);
 chart.setWidth(500);
 chart.setHeight(400);

 panel.add(chart);


 Renderer renderer = new Renderer() {
 public String render(Object value, CellMetadata
cellMetadata, Record record, int rowIndex, int colNum, Store store)
{
 NumberFormat nf = NumberFormat.getCurrencyFormat();
 return nf.format(((Number) value).doubleValue());
 }
 };
 ColumnConfig monthConfig = new ColumnConfig(Month, month,
150, true);
 TextField monthField = new TextField();
 monthField.setSelectOnFocus(true);
 monthConfig.setEditor(new GridEditor(monthField));

 NumberField rentField = new NumberField();
 rentField.setSelectOnFocus(true);

 ColumnConfig rentConfig = new ColumnConfig(Rent, rent,
100, true);
 rentConfig.setEditor(new GridEditor(rentField));
 rentConfig.setRenderer(renderer);

 NumberField utilitiesField = new NumberField();
 utilitiesField.setSelectOnFocus(true);

 ColumnConfig utilitiesConfig = new ColumnConfig(Utilities,
utilities, 100, true);
 utilitiesConfig.setEditor(new GridEditor(utilitiesField));
 utilitiesConfig.setRenderer(renderer);

 ColumnModel columnModel = new ColumnModel(new ColumnConfig[]
{
 monthConfig,
 rentConfig,
 utilitiesConfig
 });

 EditorGridPanel grid = new EditorGridPanel();
 grid.setStore(store);
 grid.setClicksToEdit(1);
 grid.setColumnModel(columnModel);
 grid.setWidth(360);

 grid.addEditorGridListener(new EditorGridListenerAdapter()
{
 public void onAfterEdit(GridPanel grid, Record record,
String field, Object newValue, Object oldValue, int rowIndex, int
colIndex) {

Re: Please help me to solve out this prob...

2008-11-28 Thread Bhupen
solved but in other way... thanks for help it's really feel good
if i get so many response ... thanks guys...

On Nov 28, 2:44 am, gregor [EMAIL PROTECTED] wrote:
 Hi Bhupen,

 This looks suspiciously like it might be the cause of your exception.

  to load another page i m using code like below...

                  RootPanel.get(irisPage).clear();
                  
  RootPanel.get(irisPage).add(createUserPageContent.loadPage());
                  agentListWidget.widgetInterface();

 Suppose you did it something like this (SimplePanel can only have one
 widget):

     SimplePanel pageContainer = new SimplePanel();
     // add whatever the first page widget is to pageContainer
     RootPanel.get(irisPage).add(PageContainer);

 Then to swap out:

     Widget currPage = pageContainer.getWidget();
     pageContainer.remove(currWidget);
     pageContainer.add(createUserPageContent.loadPage());

 That way you get the framework sort out the housekeeping for attaching
 and detaching widgets from the DOM.

 regards
 gregor

  On Nov 27, 12:12 pm, Bhupen [EMAIL PROTECTED] wrote:

   topLayout.printTop();
   RootPanel.get(Top-Menu).add(topMenu.mainMenu());
   RootPanel.get(irisPage).add(agentListPageContent.loadPage());

   // top Layout
   package com.client;

   import com.google.gwt.user.client.ui.HTML;
   import com.google.gwt.user.client.ui.RootPanel;
   import com.google.gwt.user.client.ui.ClickListener;
   import com.google.gwt.user.client.Window;
   import com.google.gwt.user.client.ui.Widget;
   import com.google.gwt.user.client.ui.Image;

   public class topLayout
   {

           public static void printTop()
           {
                   HTML topContent = new HTML(table width='1004' border='0'
   cellspacing='0' cellpadding='0'
                     + tr
                     + td
                     +   table width='1004' border='0' cellspacing='0'
   cellpadding='0'
                     +   tr 
   style='background-image:url(images/headerbg.gif); height:
   72px;'
                     +   td  width='29' height='72'/td
                     +   td width='634'img src='images/logo.gif' 
   width='242'
   height='72' //td
                     +   td width='336'img src='images/airtelindia.gif' 
   width='230'
   height='72' //td
                     +   /tr
                     +   tr
                     +   td  width='29' height='37' img 
   src='images/menuleftbg.gif'
   width='29' height='37' //td
                     +   tddiv style='width:759px; 
   background-image:url(images/
   menubg.gif); height:37px;'
                     +        table width='758' border='0' cellspacing='0'
   cellpadding='0' style='font-family:Arial, Helvetica, sans-serif; font-
   size:18px; margin-top:8px; color:#FF;' 

                    + tr
                           + td width=\100%\ class='menu-text' 
   align='center' id='Top-
   Menu' /td
                     + /tr
                     +                     /table

                     +             /div/td
                     +             tdimg src='images/menurightbg.gif' 
   width='230' height='37' //td

                     + /tr
                     +/table
                     +/td
                     +/tr
                     +/table);
                     RootPanel.get(TopContents).add(topContent);
           }

   }

   //topMenu

   package com.client;

   import com.google.gwt.user.client.ui.HTML;
   import com.google.gwt.user.client.ui.RootPanel;
   import com.google.gwt.user.client.ui.ClickListener;
   import com.google.gwt.user.client.Window;
   import com.google.gwt.user.client.ui.MenuBar;
   import com.google.gwt.user.client.ui.MenuItem;
   import com.google.gwt.user.client.Command;
   import com.google.gwt.user.client.ui.Widget;
   import com.google.gwt.user.client.ui.Composite;
   import com.google.gwt.user.client.ui.Label;
   import com.google.gwt.user.client.ui.TabPanel;
   import com.google.gwt.user.client.ui.Panel;

   public class topMenu extends Composite{

   public static Widget mainMenu()
           {
                   Command menuClick = new Command()
                           {
                                   public void execute()
                                   {
                                                   dashBoardPage.dashBoard();
                                   }

                           };

                           Command menuClick1 = new Command()
                           {
                                   public void execute()
                                   {
                                                   
   createUserPage.createUser();
                                   }

                           };
                           Command menuClick2 = new Command()
                           {
                                   public void execute()
                                   {
                                                   userListPage.createUser();
                      

Re: Please help me to solve out this prob...

2008-11-27 Thread Bhupen
to load another page i m using code like below...

RootPanel.get(irisPage).clear();
RootPanel.get(irisPage).add(createUserPageContent.loadPage());
agentListWidget.widgetInterface();

On Nov 27, 12:12 pm, Bhupen [EMAIL PROTECTED] wrote:
 topLayout.printTop();
 RootPanel.get(Top-Menu).add(topMenu.mainMenu());
 RootPanel.get(irisPage).add(agentListPageContent.loadPage());

 // top Layout
 package com.client;

 import com.google.gwt.user.client.ui.HTML;
 import com.google.gwt.user.client.ui.RootPanel;
 import com.google.gwt.user.client.ui.ClickListener;
 import com.google.gwt.user.client.Window;
 import com.google.gwt.user.client.ui.Widget;
 import com.google.gwt.user.client.ui.Image;

 public class topLayout
 {

         public static void printTop()
         {
                 HTML topContent = new HTML(table width='1004' border='0'
 cellspacing='0' cellpadding='0'
                   + tr
                   + td
                   +   table width='1004' border='0' cellspacing='0'
 cellpadding='0'
                   +   tr style='background-image:url(images/headerbg.gif); 
 height:
 72px;'
                   +   td  width='29' height='72'/td
                   +   td width='634'img src='images/logo.gif' width='242'
 height='72' //td
                   +   td width='336'img src='images/airtelindia.gif' 
 width='230'
 height='72' //td
                   +   /tr
                   +   tr
                   +   td  width='29' height='37' img 
 src='images/menuleftbg.gif'
 width='29' height='37' //td
                   +   tddiv style='width:759px; 
 background-image:url(images/
 menubg.gif); height:37px;'
                   +        table width='758' border='0' cellspacing='0'
 cellpadding='0' style='font-family:Arial, Helvetica, sans-serif; font-
 size:18px; margin-top:8px; color:#FF;' 

                  + tr
                         + td width=\100%\ class='menu-text' 
 align='center' id='Top-
 Menu' /td
                   + /tr
                   +                     /table

                   +             /div/td
                   +             tdimg src='images/menurightbg.gif' 
 width='230' height='37' //td

                   + /tr
                   +/table
                   +/td
                   +/tr
                   +/table);
                   RootPanel.get(TopContents).add(topContent);
         }

 }

 //topMenu

 package com.client;

 import com.google.gwt.user.client.ui.HTML;
 import com.google.gwt.user.client.ui.RootPanel;
 import com.google.gwt.user.client.ui.ClickListener;
 import com.google.gwt.user.client.Window;
 import com.google.gwt.user.client.ui.MenuBar;
 import com.google.gwt.user.client.ui.MenuItem;
 import com.google.gwt.user.client.Command;
 import com.google.gwt.user.client.ui.Widget;
 import com.google.gwt.user.client.ui.Composite;
 import com.google.gwt.user.client.ui.Label;
 import com.google.gwt.user.client.ui.TabPanel;
 import com.google.gwt.user.client.ui.Panel;

 public class topMenu extends Composite{

 public static Widget mainMenu()
         {
                 Command menuClick = new Command()
                         {
                                 public void execute()
                                 {
                                                 dashBoardPage.dashBoard();
                                 }

                         };

                         Command menuClick1 = new Command()
                         {
                                 public void execute()
                                 {
                                                 createUserPage.createUser();
                                 }

                         };
                         Command menuClick2 = new Command()
                         {
                                 public void execute()
                                 {
                                                 userListPage.createUser();
                                 }

                         };
                         Command menuClick3 = new Command()
                         {
                                 public void execute()
                                 {
                                                 
 createApplicationPage.createApplication();
                                 }

                         };
                         Command menuClick4 = new Command()
                         {
                                 public void execute()
                                 {
                                                 
 applicationListPage.applicationList();
                                 }

                         };
                         Command menuClick5 = new Command()
                         {
                                 public void execute()
                                 {
                                                 createJobPage.createJob();
                                 }

        

Re: Please help me to solve out this prob...

2008-11-27 Thread Bhupen

yes i did and Borders.java is  a class using native method to give
round border for any box

On Nov 27, 2:21 pm, Ian Bambury [EMAIL PROTECTED] wrote:
 I'd guess that Borders is screwing things up. Have you tried commenting
 those lines out?
 Ian

 http://examples.roughian.com

 2008/11/27 Bhupen [EMAIL PROTECTED]

  to load another page i m using code like below...

                 RootPanel.get(irisPage).clear();

   RootPanel.get(irisPage).add(createUserPageContent.loadPage());
                 agentListWidget.widgetInterface();

  On Nov 27, 12:12 pm, Bhupen [EMAIL PROTECTED] wrote:
   topLayout.printTop();
   RootPanel.get(Top-Menu).add(topMenu.mainMenu());
   RootPanel.get(irisPage).add(agentListPageContent.loadPage());

   // top Layout
   package com.client;

   import com.google.gwt.user.client.ui.HTML;
   import com.google.gwt.user.client.ui.RootPanel;
   import com.google.gwt.user.client.ui.ClickListener;
   import com.google.gwt.user.client.Window;
   import com.google.gwt.user.client.ui.Widget;
   import com.google.gwt.user.client.ui.Image;

   public class topLayout
   {

           public static void printTop()
           {
                   HTML topContent = new HTML(table width='1004'
  border='0'
   cellspacing='0' cellpadding='0'
                     + tr
                     + td
                     +   table width='1004' border='0' cellspacing='0'
   cellpadding='0'
                     +   tr
  style='background-image:url(images/headerbg.gif); height:
   72px;'
                     +   td  width='29' height='72'/td
                     +   td width='634'img src='images/logo.gif'
  width='242'
   height='72' //td
                     +   td width='336'img src='images/airtelindia.gif'
  width='230'
   height='72' //td
                     +   /tr
                     +   tr
                     +   td  width='29' height='37' img
  src='images/menuleftbg.gif'
   width='29' height='37' //td
                     +   tddiv style='width:759px;
  background-image:url(images/
   menubg.gif); height:37px;'
                     +        table width='758' border='0' cellspacing='0'
   cellpadding='0' style='font-family:Arial, Helvetica, sans-serif; font-
   size:18px; margin-top:8px; color:#FF;' 

                    + tr
                           + td width=\100%\ class='menu-text'
  align='center' id='Top-
   Menu' /td
                     + /tr
                     +                     /table

                     +             /div/td
                     +             tdimg src='images/menurightbg.gif'
  width='230' height='37' //td

                     + /tr
                     +/table
                     +/td
                     +/tr
                     +/table);
                     RootPanel.get(TopContents).add(topContent);
           }

   }

   //topMenu

   package com.client;

   import com.google.gwt.user.client.ui.HTML;
   import com.google.gwt.user.client.ui.RootPanel;
   import com.google.gwt.user.client.ui.ClickListener;
   import com.google.gwt.user.client.Window;
   import com.google.gwt.user.client.ui.MenuBar;
   import com.google.gwt.user.client.ui.MenuItem;
   import com.google.gwt.user.client.Command;
   import com.google.gwt.user.client.ui.Widget;
   import com.google.gwt.user.client.ui.Composite;
   import com.google.gwt.user.client.ui.Label;
   import com.google.gwt.user.client.ui.TabPanel;
   import com.google.gwt.user.client.ui.Panel;

   public class topMenu extends Composite{

   public static Widget mainMenu()
           {
                   Command menuClick = new Command()
                           {
                                   public void execute()
                                   {

  dashBoardPage.dashBoard();
                                   }

                           };

                           Command menuClick1 = new Command()
                           {
                                   public void execute()
                                   {

  createUserPage.createUser();
                                   }

                           };
                           Command menuClick2 = new Command()
                           {
                                   public void execute()
                                   {

  userListPage.createUser();
                                   }

                           };
                           Command menuClick3 = new Command()
                           {
                                   public void execute()
                                   {

  createApplicationPage.createApplication();
                                   }

                           };
                           Command menuClick4 = new Command()
                           {
                                   public void execute()
                                   {

  applicationListPage.applicationList();
                                   }

                           };
              

Re: Please help me to solve out this prob...

2008-11-27 Thread Bhupen

yes i did and Borders.java is  a class using native method to give
round border for any box

On Nov 27, 2:21 pm, Ian Bambury [EMAIL PROTECTED] wrote:
 I'd guess that Borders is screwing things up. Have you tried commenting
 those lines out?
 Ian

 http://examples.roughian.com

 2008/11/27 Bhupen [EMAIL PROTECTED]

  to load another page i m using code like below...

                 RootPanel.get(irisPage).clear();

   RootPanel.get(irisPage).add(createUserPageContent.loadPage());
                 agentListWidget.widgetInterface();

  On Nov 27, 12:12 pm, Bhupen [EMAIL PROTECTED] wrote:
   topLayout.printTop();
   RootPanel.get(Top-Menu).add(topMenu.mainMenu());
   RootPanel.get(irisPage).add(agentListPageContent.loadPage());

   // top Layout
   package com.client;

   import com.google.gwt.user.client.ui.HTML;
   import com.google.gwt.user.client.ui.RootPanel;
   import com.google.gwt.user.client.ui.ClickListener;
   import com.google.gwt.user.client.Window;
   import com.google.gwt.user.client.ui.Widget;
   import com.google.gwt.user.client.ui.Image;

   public class topLayout
   {

           public static void printTop()
           {
                   HTML topContent = new HTML(table width='1004'
  border='0'
   cellspacing='0' cellpadding='0'
                     + tr
                     + td
                     +   table width='1004' border='0' cellspacing='0'
   cellpadding='0'
                     +   tr
  style='background-image:url(images/headerbg.gif); height:
   72px;'
                     +   td  width='29' height='72'/td
                     +   td width='634'img src='images/logo.gif'
  width='242'
   height='72' //td
                     +   td width='336'img src='images/airtelindia.gif'
  width='230'
   height='72' //td
                     +   /tr
                     +   tr
                     +   td  width='29' height='37' img
  src='images/menuleftbg.gif'
   width='29' height='37' //td
                     +   tddiv style='width:759px;
  background-image:url(images/
   menubg.gif); height:37px;'
                     +        table width='758' border='0' cellspacing='0'
   cellpadding='0' style='font-family:Arial, Helvetica, sans-serif; font-
   size:18px; margin-top:8px; color:#FF;' 

                    + tr
                           + td width=\100%\ class='menu-text'
  align='center' id='Top-
   Menu' /td
                     + /tr
                     +                     /table

                     +             /div/td
                     +             tdimg src='images/menurightbg.gif'
  width='230' height='37' //td

                     + /tr
                     +/table
                     +/td
                     +/tr
                     +/table);
                     RootPanel.get(TopContents).add(topContent);
           }

   }

   //topMenu

   package com.client;

   import com.google.gwt.user.client.ui.HTML;
   import com.google.gwt.user.client.ui.RootPanel;
   import com.google.gwt.user.client.ui.ClickListener;
   import com.google.gwt.user.client.Window;
   import com.google.gwt.user.client.ui.MenuBar;
   import com.google.gwt.user.client.ui.MenuItem;
   import com.google.gwt.user.client.Command;
   import com.google.gwt.user.client.ui.Widget;
   import com.google.gwt.user.client.ui.Composite;
   import com.google.gwt.user.client.ui.Label;
   import com.google.gwt.user.client.ui.TabPanel;
   import com.google.gwt.user.client.ui.Panel;

   public class topMenu extends Composite{

   public static Widget mainMenu()
           {
                   Command menuClick = new Command()
                           {
                                   public void execute()
                                   {

  dashBoardPage.dashBoard();
                                   }

                           };

                           Command menuClick1 = new Command()
                           {
                                   public void execute()
                                   {

  createUserPage.createUser();
                                   }

                           };
                           Command menuClick2 = new Command()
                           {
                                   public void execute()
                                   {

  userListPage.createUser();
                                   }

                           };
                           Command menuClick3 = new Command()
                           {
                                   public void execute()
                                   {

  createApplicationPage.createApplication();
                                   }

                           };
                           Command menuClick4 = new Command()
                           {
                                   public void execute()
                                   {

  applicationListPage.applicationList();
                                   }

                           };
              

Re: Please help me to solve out this prob...

2008-11-27 Thread Bhupen

thanks for reply

i m posting full code
after successful login,, will get the menu and click on dashboard
going to dashboard but not showing and widget like check msgDiv
element, delete element...
thanks for reply

IRIS
package com.client;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.ClickListener;
import com.google.gwt.user.client.ui.DialogBox;
import com.google.gwt.user.client.ui.RootPanel;
import com.google.gwt.user.client.ui.VerticalPanel;
import com.google.gwt.user.client.ui.Widget;
import com.google.gwt.user.client.ui.HorizontalPanel;
import com.google.gwt.user.client.ui.DockPanel;
import com.google.gwt.user.client.ui.VerticalPanel;
import com.google.gwt.user.client.ui.Widget;
import com.google.gwt.user.client.ui.Image;
import com.google.gwt.user.client.ui.TextBox;
import com.google.gwt.user.client.ui.TextBoxBase;
import com.google.gwt.http.client.Response;
import com.google.gwt.dom.client.InputElement;
import com.google.gwt.user.client.ui.PasswordTextBox;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.HTML;
import com.google.gwt.user.client.ui.FormPanel;
import com.google.gwt.user.client.ui.Hidden;
import com.google.gwt.user.client.ui.HTMLPanel;
import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.ui.MenuBar;
import com.google.gwt.user.client.ui.MenuItem;
import com.google.gwt.user.client.Command;
/**
 * Entry point classes define codeonModuleLoad()/code.
 */
public class IRIS implements EntryPoint {

  /**
   * This is the entry point method.
   */
private DockPanel panel;
private Label lbl = new Label();
String user = admin;
String passwo = admin;
private TextBox loginid;
private PasswordTextBox pass;
private VerticalPanel vPanel;
  public void onModuleLoad() {
vPanel = new VerticalPanel();
HTML b = new HTML(loginPage.login());
final Image image = new Image();
image.addClickListener(new ClickListener() {
  public void onClick(Widget sender) {
 boolean errMsg = CheckLogin();
 if (errMsg)
 {
clearAll();
topLayout.printTop();
RootPanel.get(Top-Menu).add(topMenu.mainMenu());

RootPanel.get(irisPage).add(agentListPageContent.loadPage());
/*HTML Test = new HTML (Event Message Here);
Test.setStyleName(curve-gray);
RootPanel.get(msgDiv).add(Test);
Borders.simpleBorder(Test, 6);*/
agentListWidget.widgetInterface();

 }
 else {
 HTML b = new HTML(loginPage.login());
 lbl.setText(Check User and password);
 }

  }});

image.setUrl(images/signin.gif);
image.setStyleName(cursor-hand);

loginid = new TextBox();
loginid.setStyleName(textbox-gray);
pass = new PasswordTextBox();
pass.setStyleName(textbox-gray);
Init(b);
//Window.alert(RootPanel.get(slot).getElement().getInnerText
());
RootPanel.get(login).add(loginid);
RootPanel.get(password).add(pass);
RootPanel.get(sign-in).add(image);
RootPanel.get(Message).add(lbl);

}
private void clearAll()
{
RootPanel.get(irisPage).clear();
}
private void Init(HTML page)
{
RootPanel.get(irisPage).add(page);
}
public boolean CheckLogin()
{
String Login = loginid.getText();
String password = pass.getText();
if (Login.equals(user)  password.equals(passwo))
{
return true;
}else {return false;}
}
}


//top menu

package com.client;

import com.google.gwt.user.client.ui.HTML;
import com.google.gwt.user.client.ui.RootPanel;
import com.google.gwt.user.client.ui.ClickListener;
import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.ui.MenuBar;
import com.google.gwt.user.client.ui.MenuItem;
import com.google.gwt.user.client.Command;
import com.google.gwt.user.client.ui.Widget;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.TabPanel;
import com.google.gwt.user.client.ui.Panel;


public class topMenu extends Composite{

public static Widget mainMenu()
{
Command menuClick = new Command()
{
public void execute()
{
dashBoardPage.dashBoard();
}

};


Re: Please help me to solve out this prob...

2008-11-27 Thread Bhupen

///IRIS.HTML

!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
!-- The HTML 4.01 Transitional DOCTYPE declaration--
!-- above set at the top of the file will set --
!-- the browser's rendering engine into   --
!-- Quirks Mode. Replacing this declaration --
!-- with a Standards Mode doctype is supported, --
!-- but may lead to some differences in layout.   --

html
  head
meta http-equiv=content-type content=text/html;
charset=UTF-8
!--   --
!-- Any title is fine --
!--   --
titleIRIS/title
style type=text/css
!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
.irisheading {
font-family: Arial;
font-size: 40px;
font-style: normal;
line-height: normal;
font-weight: bold;
font-variant: normal;
text-transform: none;
color: #00;
text-decoration: none;
}
.subheading {
font-family: Lucida Sans Unicode;
font-size: 22px;
font-style: normal;
line-height: normal;
font-weight: bold;
color: #66;
}
.maintitle {
font-family: Lucida Sans Unicode;
font-size: 16px;
font-weight: normal;
color: #CC;
}
.form_text {
font-family: Lucida Sans Unicode;
font-size: 16px;
font-weight: normal;
color: #FF;
}
.form_text_small {
font-family: Lucida Sans Unicode;
font-size: 12px;
font-style: normal;
font-weight: bold;
color: #66;
}
--
/style
!--   --
!-- This script loads your compiled module.   --
!-- If you add any GWT meta tags, they must   --
!-- be added before this line.--
!--   --
script language=javascript src=ruzeeborders.js/script
script language=javascript src=rounded_corners.inc.js/script
script type=text/javascript language=javascript
src=com.IRIS.nocache.js/script
script type=text/JavaScript

  window.onload = function()
  {
  settings = {
  tl: { radius: 20 },
  tr: { radius: 20 },
  bl: { radius: 20 },
  br: { radius: 20 },
  antiAlias: true,
  autoPad: true
  }

  /*
  Usage:

  newCornersObj = new curvyCorners(settingsObj, classNameStr);
  newCornersObj = new curvyCorners(settingsObj, divObj1[, divObj2
[, divObj3[, . . . [, divObjN);
  */
  var myBoxObject = new curvyCorners(settings, msgDiv);
  myBoxObject.applyCornersToAll();
  }

/script
  /head

  !--   --
  !-- The body can have arbitrary html, or  --
  !-- you can leave the body empty if you want  --
  !-- to create a completely dynamic UI.--
  !--   --
  body align=center

!-- OPTIONAL: include this if you want history support --
iframe src=javascript:'' id=__gwt_historyFrame tabIndex='-1'
style=position:absolute;width:0;height:0;border:0/iframe
div id=TopContents/div
div id=irisPage
/div
  /body
/html

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Please help me to solve out this prob...

2008-11-27 Thread Bhupen

///IRIS.HTML

!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
!-- The HTML 4.01 Transitional DOCTYPE declaration--
!-- above set at the top of the file will set --
!-- the browser's rendering engine into   --
!-- Quirks Mode. Replacing this declaration --
!-- with a Standards Mode doctype is supported, --
!-- but may lead to some differences in layout.   --

html
  head
meta http-equiv=content-type content=text/html;
charset=UTF-8
!--   --
!-- Any title is fine --
!--   --
titleIRIS/title
style type=text/css
!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
.irisheading {
font-family: Arial;
font-size: 40px;
font-style: normal;
line-height: normal;
font-weight: bold;
font-variant: normal;
text-transform: none;
color: #00;
text-decoration: none;
}
.subheading {
font-family: Lucida Sans Unicode;
font-size: 22px;
font-style: normal;
line-height: normal;
font-weight: bold;
color: #66;
}
.maintitle {
font-family: Lucida Sans Unicode;
font-size: 16px;
font-weight: normal;
color: #CC;
}
.form_text {
font-family: Lucida Sans Unicode;
font-size: 16px;
font-weight: normal;
color: #FF;
}
.form_text_small {
font-family: Lucida Sans Unicode;
font-size: 12px;
font-style: normal;
font-weight: bold;
color: #66;
}
--
/style
!--   --
!-- This script loads your compiled module.   --
!-- If you add any GWT meta tags, they must   --
!-- be added before this line.--
!--   --
script language=javascript src=ruzeeborders.js/script
script language=javascript src=rounded_corners.inc.js/script
script type=text/javascript language=javascript
src=com.IRIS.nocache.js/script
script type=text/JavaScript

  window.onload = function()
  {
  settings = {
  tl: { radius: 20 },
  tr: { radius: 20 },
  bl: { radius: 20 },
  br: { radius: 20 },
  antiAlias: true,
  autoPad: true
  }

  /*
  Usage:

  newCornersObj = new curvyCorners(settingsObj, classNameStr);
  newCornersObj = new curvyCorners(settingsObj, divObj1[, divObj2
[, divObj3[, . . . [, divObjN);
  */
  var myBoxObject = new curvyCorners(settings, msgDiv);
  myBoxObject.applyCornersToAll();
  }

/script
  /head

  !--   --
  !-- The body can have arbitrary html, or  --
  !-- you can leave the body empty if you want  --
  !-- to create a completely dynamic UI.--
  !--   --
  body align=center

!-- OPTIONAL: include this if you want history support --
iframe src=javascript:'' id=__gwt_historyFrame tabIndex='-1'
style=position:absolute;width:0;height:0;border:0/iframe
div id=TopContents/div
div id=irisPage
/div
  /body
/html

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Please help me to solve out this prob...

2008-11-27 Thread gregor
Hi Bhupen,

This looks suspiciously like it might be the cause of your exception.

 to load another page i m using code like below...

                 RootPanel.get(irisPage).clear();
                 
 RootPanel.get(irisPage).add(createUserPageContent.loadPage());
                 agentListWidget.widgetInterface();


Suppose you did it something like this (SimplePanel can only have one
widget):

SimplePanel pageContainer = new SimplePanel();
// add whatever the first page widget is to pageContainer
RootPanel.get(irisPage).add(PageContainer);

Then to swap out:

Widget currPage = pageContainer.getWidget();
pageContainer.remove(currWidget);
pageContainer.add(createUserPageContent.loadPage());

That way you get the framework sort out the housekeeping for attaching
and detaching widgets from the DOM.

regards
gregor





 On Nov 27, 12:12 pm, Bhupen [EMAIL PROTECTED] wrote:

  topLayout.printTop();
  RootPanel.get(Top-Menu).add(topMenu.mainMenu());
  RootPanel.get(irisPage).add(agentListPageContent.loadPage());

  // top Layout
  package com.client;

  import com.google.gwt.user.client.ui.HTML;
  import com.google.gwt.user.client.ui.RootPanel;
  import com.google.gwt.user.client.ui.ClickListener;
  import com.google.gwt.user.client.Window;
  import com.google.gwt.user.client.ui.Widget;
  import com.google.gwt.user.client.ui.Image;

  public class topLayout
  {

          public static void printTop()
          {
                  HTML topContent = new HTML(table width='1004' border='0'
  cellspacing='0' cellpadding='0'
                    + tr
                    + td
                    +   table width='1004' border='0' cellspacing='0'
  cellpadding='0'
                    +   tr 
  style='background-image:url(images/headerbg.gif); height:
  72px;'
                    +   td  width='29' height='72'/td
                    +   td width='634'img src='images/logo.gif' 
  width='242'
  height='72' //td
                    +   td width='336'img src='images/airtelindia.gif' 
  width='230'
  height='72' //td
                    +   /tr
                    +   tr
                    +   td  width='29' height='37' img 
  src='images/menuleftbg.gif'
  width='29' height='37' //td
                    +   tddiv style='width:759px; 
  background-image:url(images/
  menubg.gif); height:37px;'
                    +        table width='758' border='0' cellspacing='0'
  cellpadding='0' style='font-family:Arial, Helvetica, sans-serif; font-
  size:18px; margin-top:8px; color:#FF;' 

                   + tr
                          + td width=\100%\ class='menu-text' 
  align='center' id='Top-
  Menu' /td
                    + /tr
                    +                     /table

                    +             /div/td
                    +             tdimg src='images/menurightbg.gif' 
  width='230' height='37' //td

                    + /tr
                    +/table
                    +/td
                    +/tr
                    +/table);
                    RootPanel.get(TopContents).add(topContent);
          }

  }

  //topMenu

  package com.client;

  import com.google.gwt.user.client.ui.HTML;
  import com.google.gwt.user.client.ui.RootPanel;
  import com.google.gwt.user.client.ui.ClickListener;
  import com.google.gwt.user.client.Window;
  import com.google.gwt.user.client.ui.MenuBar;
  import com.google.gwt.user.client.ui.MenuItem;
  import com.google.gwt.user.client.Command;
  import com.google.gwt.user.client.ui.Widget;
  import com.google.gwt.user.client.ui.Composite;
  import com.google.gwt.user.client.ui.Label;
  import com.google.gwt.user.client.ui.TabPanel;
  import com.google.gwt.user.client.ui.Panel;

  public class topMenu extends Composite{

  public static Widget mainMenu()
          {
                  Command menuClick = new Command()
                          {
                                  public void execute()
                                  {
                                                  dashBoardPage.dashBoard();
                                  }

                          };

                          Command menuClick1 = new Command()
                          {
                                  public void execute()
                                  {
                                                  createUserPage.createUser();
                                  }

                          };
                          Command menuClick2 = new Command()
                          {
                                  public void execute()
                                  {
                                                  userListPage.createUser();
                                  }

                          };
                          Command menuClick3 = new Command()
                          {
                                  public void execute()
                                  {
                                                  
  

Re: Please help me to solve out this prob...

2008-11-26 Thread gregor

Can you post example code that caused the exception?

On Nov 26, 6:50 am, Bhupen [EMAIL PROTECTED] wrote:
 hi, I am new to GWT and working on some project... i have added few
 widget in my application and when i am changing the contents with
 menu it's not showing any widget... apart from widget all the things
 coming properly and i m getting following error

 [ERROR] Uncaught exception escaped
 java.lang.AssertionError: A widget in the detach list was found not
 attached to the document. The is likely caused by wrapping an existing
 element and removing it from the document without calling
 RootPanel.detachNow().
        at com.google.gwt.user.client.ui.RootPanel.detachWidgets
 (RootPanel.java:200)
        at com.google.gwt.user.client.ui.RootPanel$1.onWindowClosed
 (RootPanel.java:221)
        at com.google.gwt.user.client.Window.fireClosedImpl(Window.java:
 465)
        at com.google.gwt.user.client.Window.fireClosedAndCatch
 (Window.java:
 456)
        at com.google.gwt.user.client.Window.onClosed(Window.java:430)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
 Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.google.gwt.dev.shell.MethodAdaptor.invoke
 (MethodAdaptor.java:
 103)
        at com.google.gwt.dev.shell.ie.IDispatchImpl.callMethod
 (IDispatchImpl.java:126)
        at com.google.gwt.dev.shell.ie.IDispatchProxy.invoke
 (IDispatchProxy.java:155)
        at com.google.gwt.dev.shell.ie.IDispatchImpl.Invoke
 (IDispatchImpl.java:294)
        at com.google.gwt.dev.shell.ie.IDispatchImpl.method6
 (IDispatchImpl.java:194)
        at org.eclipse.swt.internal.ole.win32.COMObject.callback6
 (COMObject.java:117)
        at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native
 Method)
        at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:
 1925)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:
 2966)
        at com.google.gwt.dev.GWTShell.pumpEventLoop(GWTShell.java:720)
        at com.google.gwt.dev.GWTShell.run(GWTShell.java:593)
        at com.google.gwt.dev.GWTShell.main(GWTShell.java:357)

 And when i pur RootPanel.detachNow(widget)... then nothing is showing
 with that panel..

 and getting the following error

 [ERROR] Uncaught exception escaped
 java.lang.AssertionError: detachNow() called on a widget not currently
 in the detach list
        at com.google.gwt.user.client.ui.RootPanel.detachNow
 (RootPanel.java:
 87)
        at com.client.agentListWidget.widgetInterface
 (agentListWidget.java:
 15)
        at com.client.IRIS$1.onClick(IRIS.java:57)
        at
 com.google.gwt.user.client.ui.ClickListenerCollection.fireClick
 (ClickListenerCollection.java:34)
        at com.google.gwt.user.client.ui.Image.onBrowserEvent
 (Image.java:484)
        at com.google.gwt.user.client.DOM.dispatchEventImpl(DOM.java:
 1308)
        at com.google.gwt.user.client.DOM.dispatchEventAndCatch
 (DOM.java:
 1287)
        at com.google.gwt.user.client.DOM.dispatchEvent(DOM.java:1255)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
 Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.google.gwt.dev.shell.MethodAdaptor.invoke
 (MethodAdaptor.java:
 103)
        at com.google.gwt.dev.shell.ie.IDispatchImpl.callMethod
 (IDispatchImpl.java:126)
        at com.google.gwt.dev.shell.ie.IDispatchProxy.invoke
 (IDispatchProxy.java:155)
        at com.google.gwt.dev.shell.ie.IDispatchImpl.Invoke
 (IDispatchImpl.java:294)
        at com.google.gwt.dev.shell.ie.IDispatchImpl.method6
 (IDispatchImpl.java:194)
        at org.eclipse.swt.internal.ole.win32.COMObject.callback6
 (COMObject.java:117)
        at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native
 Method)
        at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:
 1925)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:
 2966)
        at com.google.gwt.dev.GWTShell.pumpEventLoop(GWTShell.java:720)
        at com.google.gwt.dev.GWTShell.run(GWTShell.java:593)
        at com.google.gwt.dev.GWTShell.main(GWTShell.java:357)

 Please help me out of this problem...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Please help me to solve out this prob...

2008-11-26 Thread Brian

Yeah we definitely need to see the code -- but as a wild shot in the
dark -- on your widget are you overriding onAttach() and forgetting to
call super.onAttach() ?


On Nov 26, 7:44 am, gregor [EMAIL PROTECTED] wrote:
 Can you post example code that caused the exception?

 On Nov 26, 6:50 am, Bhupen [EMAIL PROTECTED] wrote:

  hi, I am new to GWT and working on some project... i have added few
  widget in my application and when i am changing the contents with
  menu it's not showing any widget... apart from widget all the things
  coming properly and i m getting following error

  [ERROR] Uncaught exception escaped
  java.lang.AssertionError: A widget in the detach list was found not
  attached to the document. The is likely caused by wrapping an existing
  element and removing it from the document without calling
  RootPanel.detachNow().
         at com.google.gwt.user.client.ui.RootPanel.detachWidgets
  (RootPanel.java:200)
         at com.google.gwt.user.client.ui.RootPanel$1.onWindowClosed
  (RootPanel.java:221)
         at com.google.gwt.user.client.Window.fireClosedImpl(Window.java:
  465)
         at com.google.gwt.user.client.Window.fireClosedAndCatch
  (Window.java:
  456)
         at com.google.gwt.user.client.Window.onClosed(Window.java:430)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
  Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.google.gwt.dev.shell.MethodAdaptor.invoke
  (MethodAdaptor.java:
  103)
         at com.google.gwt.dev.shell.ie.IDispatchImpl.callMethod
  (IDispatchImpl.java:126)
         at com.google.gwt.dev.shell.ie.IDispatchProxy.invoke
  (IDispatchProxy.java:155)
         at com.google.gwt.dev.shell.ie.IDispatchImpl.Invoke
  (IDispatchImpl.java:294)
         at com.google.gwt.dev.shell.ie.IDispatchImpl.method6
  (IDispatchImpl.java:194)
         at org.eclipse.swt.internal.ole.win32.COMObject.callback6
  (COMObject.java:117)
         at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native
  Method)
         at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:
  1925)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:
  2966)
         at com.google.gwt.dev.GWTShell.pumpEventLoop(GWTShell.java:720)
         at com.google.gwt.dev.GWTShell.run(GWTShell.java:593)
         at com.google.gwt.dev.GWTShell.main(GWTShell.java:357)

  And when i pur RootPanel.detachNow(widget)... then nothing is showing
  with that panel..

  and getting the following error

  [ERROR] Uncaught exception escaped
  java.lang.AssertionError: detachNow() called on a widget not currently
  in the detach list
         at com.google.gwt.user.client.ui.RootPanel.detachNow
  (RootPanel.java:
  87)
         at com.client.agentListWidget.widgetInterface
  (agentListWidget.java:
  15)
         at com.client.IRIS$1.onClick(IRIS.java:57)
         at
  com.google.gwt.user.client.ui.ClickListenerCollection.fireClick
  (ClickListenerCollection.java:34)
         at com.google.gwt.user.client.ui.Image.onBrowserEvent
  (Image.java:484)
         at com.google.gwt.user.client.DOM.dispatchEventImpl(DOM.java:
  1308)
         at com.google.gwt.user.client.DOM.dispatchEventAndCatch
  (DOM.java:
  1287)
         at com.google.gwt.user.client.DOM.dispatchEvent(DOM.java:1255)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
  Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.google.gwt.dev.shell.MethodAdaptor.invoke
  (MethodAdaptor.java:
  103)
         at com.google.gwt.dev.shell.ie.IDispatchImpl.callMethod
  (IDispatchImpl.java:126)
         at com.google.gwt.dev.shell.ie.IDispatchProxy.invoke
  (IDispatchProxy.java:155)
         at com.google.gwt.dev.shell.ie.IDispatchImpl.Invoke
  (IDispatchImpl.java:294)
         at com.google.gwt.dev.shell.ie.IDispatchImpl.method6
  (IDispatchImpl.java:194)
         at org.eclipse.swt.internal.ole.win32.COMObject.callback6
  (COMObject.java:117)
         at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native
  Method)
         at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:
  1925)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:
  2966)
         at com.google.gwt.dev.GWTShell.pumpEventLoop(GWTShell.java:720)
         at com.google.gwt.dev.GWTShell.run(GWTShell.java:593)
         at com.google.gwt.dev.GWTShell.main(GWTShell.java:357)

  Please help me out of this problem...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com

Re: Please help me to solve out this prob...

2008-11-26 Thread Bhupen
   (RootPanel.java:
   87)
          at com.client.agentListWidget.widgetInterface
   (agentListWidget.java:
   15)
          at com.client.IRIS$1.onClick(IRIS.java:57)
          at
   com.google.gwt.user.client.ui.ClickListenerCollection.fireClick
   (ClickListenerCollection.java:34)
          at com.google.gwt.user.client.ui.Image.onBrowserEvent
   (Image.java:484)
          at com.google.gwt.user.client.DOM.dispatchEventImpl(DOM.java:
   1308)
          at com.google.gwt.user.client.DOM.dispatchEventAndCatch
   (DOM.java:
   1287)
          at com.google.gwt.user.client.DOM.dispatchEvent(DOM.java:1255)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
   Source)
          at java.lang.reflect.Method.invoke(Unknown Source)
          at com.google.gwt.dev.shell.MethodAdaptor.invoke
   (MethodAdaptor.java:
   103)
          at com.google.gwt.dev.shell.ie.IDispatchImpl.callMethod
   (IDispatchImpl.java:126)
          at com.google.gwt.dev.shell.ie.IDispatchProxy.invoke
   (IDispatchProxy.java:155)
          at com.google.gwt.dev.shell.ie.IDispatchImpl.Invoke
   (IDispatchImpl.java:294)
          at com.google.gwt.dev.shell.ie.IDispatchImpl.method6
   (IDispatchImpl.java:194)
          at org.eclipse.swt.internal.ole.win32.COMObject.callback6
   (COMObject.java:117)
          at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native
   Method)
          at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:
   1925)
          at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:
   2966)
          at com.google.gwt.dev.GWTShell.pumpEventLoop(GWTShell.java:720)
          at com.google.gwt.dev.GWTShell.run(GWTShell.java:593)
          at com.google.gwt.dev.GWTShell.main(GWTShell.java:357)

   Please help me out of this problem...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Please help me to solve out this prob...

2008-11-25 Thread Bhupen

hi, I am new to GWT and working on some project... i have added few
widget in my application and when i am changing the contents with
menu it's not showing any widget... apart from widget all the things
coming properly and i m getting following error

[ERROR] Uncaught exception escaped
java.lang.AssertionError: A widget in the detach list was found not
attached to the document. The is likely caused by wrapping an existing
element and removing it from the document without calling
RootPanel.detachNow().
   at com.google.gwt.user.client.ui.RootPanel.detachWidgets
(RootPanel.java:200)
   at com.google.gwt.user.client.ui.RootPanel$1.onWindowClosed
(RootPanel.java:221)
   at com.google.gwt.user.client.Window.fireClosedImpl(Window.java:
465)
   at com.google.gwt.user.client.Window.fireClosedAndCatch
(Window.java:
456)
   at com.google.gwt.user.client.Window.onClosed(Window.java:430)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at com.google.gwt.dev.shell.MethodAdaptor.invoke
(MethodAdaptor.java:
103)
   at com.google.gwt.dev.shell.ie.IDispatchImpl.callMethod
(IDispatchImpl.java:126)
   at com.google.gwt.dev.shell.ie.IDispatchProxy.invoke
(IDispatchProxy.java:155)
   at com.google.gwt.dev.shell.ie.IDispatchImpl.Invoke
(IDispatchImpl.java:294)
   at com.google.gwt.dev.shell.ie.IDispatchImpl.method6
(IDispatchImpl.java:194)
   at org.eclipse.swt.internal.ole.win32.COMObject.callback6
(COMObject.java:117)
   at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native
Method)
   at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:
1925)
   at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:
2966)
   at com.google.gwt.dev.GWTShell.pumpEventLoop(GWTShell.java:720)
   at com.google.gwt.dev.GWTShell.run(GWTShell.java:593)
   at com.google.gwt.dev.GWTShell.main(GWTShell.java:357)

And when i pur RootPanel.detachNow(widget)... then nothing is showing
with that panel..

and getting the following error

[ERROR] Uncaught exception escaped
java.lang.AssertionError: detachNow() called on a widget not currently
in the detach list
   at com.google.gwt.user.client.ui.RootPanel.detachNow
(RootPanel.java:
87)
   at com.client.agentListWidget.widgetInterface
(agentListWidget.java:
15)
   at com.client.IRIS$1.onClick(IRIS.java:57)
   at
com.google.gwt.user.client.ui.ClickListenerCollection.fireClick
(ClickListenerCollection.java:34)
   at com.google.gwt.user.client.ui.Image.onBrowserEvent
(Image.java:484)
   at com.google.gwt.user.client.DOM.dispatchEventImpl(DOM.java:
1308)
   at com.google.gwt.user.client.DOM.dispatchEventAndCatch
(DOM.java:
1287)
   at com.google.gwt.user.client.DOM.dispatchEvent(DOM.java:1255)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at com.google.gwt.dev.shell.MethodAdaptor.invoke
(MethodAdaptor.java:
103)
   at com.google.gwt.dev.shell.ie.IDispatchImpl.callMethod
(IDispatchImpl.java:126)
   at com.google.gwt.dev.shell.ie.IDispatchProxy.invoke
(IDispatchProxy.java:155)
   at com.google.gwt.dev.shell.ie.IDispatchImpl.Invoke
(IDispatchImpl.java:294)
   at com.google.gwt.dev.shell.ie.IDispatchImpl.method6
(IDispatchImpl.java:194)
   at org.eclipse.swt.internal.ole.win32.COMObject.callback6
(COMObject.java:117)
   at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native
Method)
   at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:
1925)
   at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:
2966)
   at com.google.gwt.dev.GWTShell.pumpEventLoop(GWTShell.java:720)
   at com.google.gwt.dev.GWTShell.run(GWTShell.java:593)
   at com.google.gwt.dev.GWTShell.main(GWTShell.java:357)

Please help me out of this problem...


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---