Google Web Toolkit Developer Plugin - Install problem

2013-04-09 Thread Moe
Hello,

i have a problem with the installation of GWT Developer Plugin for Chrome. 
I can't install, theres a message "Diese Anwendung wird auf diesem Computer 
nicht unterstützt. Die Installation wurde deaktiviert.".

This means, that my computer is not supported. Can you help me please?

Thanks Moe

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: PDF document generation from gwt pages

2013-04-09 Thread Alain Ekambi
We  are about to release ClientIO. A GWT Module that will allow client side
file generation.
Inculded PDF and Excel. You can see it in action here :
http://eemi2010.github.io/ext4j/#!ClientIO.

Click on export to PDF and/or Excel

Should be part of the Flash4j 4.1 release coming soon



2013/4/10 ramzi.yass...@gmail.com 

> This is more of a best practice question and seeing what solutions exist
> out there. We use gwt as our web framework to show custom/dynamic reports
> on the web, and we are always asked to provide a PDF version of the report.
> In the past we have used HTML unit to scrap the generated HTML page that
> gwt renders and do an HTML to PDF transformation on the server side using a
> licensed third party tool. Anyone in this group had to face this issue? Any
> recommendations? Using a unit test framework to solve this production
> problem does not seem legit.
>
> Thanks in advance,
>
> --
> 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?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Is there a set of best practices for implementing nested presenters/view?

2013-04-09 Thread coderinabstract
Consider gwtp  (gwt platform) an open 
source MVP framework for GWT which solves this problem very elegantly... 
Cheers.

On Tuesday, April 9, 2013 7:30:55 PM UTC-4, Mohammad Al-Quraian wrote:
>
> I did my own way of nesting presenters and now I hit a design issue, 
> should the nested presenter have a reference to the nesting presenter? Is 
> there a better design than this?

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




PDF document generation from gwt pages

2013-04-09 Thread ramzi.yass...@gmail.com
This is more of a best practice question and seeing what solutions exist out 
there. We use gwt as our web framework to show custom/dynamic reports on the 
web, and we are always asked to provide a PDF version of the report. In the 
past we have used HTML unit to scrap the generated HTML page that gwt renders 
and do an HTML to PDF transformation on the server side using a licensed third 
party tool. Anyone in this group had to face this issue? Any recommendations? 
Using a unit test framework to solve this production problem does not seem 
legit.

Thanks in advance,

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Is there a set of best practices for implementing nested presenters/view?

2013-04-09 Thread Mohammad Al-Quraian
I did my own way of nesting presenters and now I hit a design issue, should 
the nested presenter have a reference to the nesting presenter? Is there a 
better design than this?

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: GWT Application Amazon S3 Resource Hosting Question

2013-04-09 Thread Jens
Assuming you have one host/server that you can fully configure I would just 
proxy the requests to the correct location. To make things easy I would 
group remote services under a common URL prefix, something like 
example.com/services/*, so you only need a single proxy rule.

We use this approach for serving static content directly from load 
balancers and all remote/service calls are proxied to different app 
servers. Works pretty well and it allows us to do other nice things that 
wouldn't be possible without such a proxy.

-- 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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




GWT Application Amazon S3 Resource Hosting Question

2013-04-09 Thread Joseph Lust
Curious if anyone has had experience hosting GWT app resources on S3?

There are two ways you can approach it:

   - Host all of the compiled GWT output on S3 and relay dynamic requests 
   through S3 to your server (i.e. XHR/POST)
   - Host your static resources on S3, but load the initial .html page and 
   no-cache from your server

I was planning on the second mechanism as it would be easier to dev/test 
and would not require S3 dependence (i.e. you can put the static content 
wherever).

However, I was curious how people have configured resource bundles in GWT 
to point to a separate server than the one the application was loaded from. 
So, *does anyone have experience configuring the GWT linker to point to a 
separate host for static content?*
*
*

Or, restated

   - all async's must point to the origin server
   - all resource loading requests must point to a different static file 
   server


Thanks for your thoughts.



Sincerely,
Joseph

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Repainting a canvas - clear or create new object?

2013-04-09 Thread David Durham
There's a trick where you layer Canvas elements on top of each other,
because you don't necessarily want to redraw everything, only what's
changed.  I have an example (though no source code available yet):

http://gdldemo.appspot.com/


On Fri, Apr 5, 2013 at 11:45 AM, Thad  wrote:

> Without timing this, I can't say for sure. However I
> suspect ctx.clearRect(0, 0, clientWidth(), clientHeight()) is faster as it
> calls clearRect on the JavaScriptObject while creating a new Canvas
> requires the DOM to create a new object.
>
>
> On Wednesday, April 3, 2013 10:13:34 AM UTC-4, membersound wrote:
>>
>> Hi,
>>
>> when a Canvas is often cleared and redrawn (for example during a drag
>> and drop action): would it be better to call ctx.clearRect(0, 0,
>> clientWidth(), clientHeight())?
>> Or just create a new Canvas by Canvas.createIfSupported() and replace
>> the currently drawn canvas by the new one?
>>
>> Thanks
>>
>  --
> 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?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Error in overlay types inheritance

2013-04-09 Thread Sergey Vinogradov
Hi,

I have following class hierarchy:
interface Properties
--PropertiesOverlay
ReportRowModelOverlay
TrendValueModelOverlay

And GWT compiler throw error:
ERROR: Exception initializing module
com.google.gwt.dev.jjs.InternalCompilerException: Already seen an 
implementing JSO subtype (ReportRowModelOverlay) for interface (Properties) 
while examining newly-added type (TrendValueModelOverlay). This is a bug in 
JSORestrictionsChecker.
at 
com.google.gwt.dev.javac.typemodel.TypeOracle.computeSingleJsoImplData(TypeOracle.java:808)
at com.google.gwt.dev.javac.typemodel.TypeOracle.finish(TypeOracle.java:696)
at 
com.google.gwt.dev.javac.typemodel.TypeOracleBuilder.finish(TypeOracleBuilder.java:64)
at 
com.google.gwt.dev.javac.TypeOracleMediator.addNewTypes(TypeOracleMediator.java:448)
at 
com.google.gwt.dev.javac.TypeOracleMediatorFromSource.addNewUnits(TypeOracleMediatorFromSource.java:52)
at 
com.google.gwt.dev.javac.CompilationState.assimilateUnits(CompilationState.java:164)
at 
com.google.gwt.dev.javac.CompilationState.(CompilationState.java:82)
at 
com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java:466)
at 
com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:388)
at com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java:373)
at 
com.google.gwt.dev.DevModeBase$UiBrowserWidgetHostImpl.createModuleSpaceHost(DevModeBase.java:108)
at 
com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:197)
at 
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:526)
at 
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:364)
at java.lang.Thread.run(Thread.java:722)

I've checked this case in debug and found that the problem is in following 
method of Properties interface:
   X set(String property, X value);

because when compiler checks if base class (PropertiesOverlay) fully 
implements interface(Propeties) it fails to match second parameters (X 
value).

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




JSNI eval returning float value of function

2013-04-09 Thread Meths
Hey, I have a problem, I need eval function to calculate some function 
given in String like for example Math.cos(5+7); etc
I have been messing up with that piece of code, as of now just to return 
ints however I have failed badly.

public static native int myMethod(String arg) /*-{
eval("var myVar = '" + arg + "';");
return myVar;
}-*/;

Any idea how to modyficate that piece of code to return float from lets say 
Math.cos(5+7) ?

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




RequestFactory: .with causes NPE on server if returned value is null

2013-04-09 Thread Gordan Krešić
In pretty basic RF scenario, I'm fetching one EntityProxy from server:

myRequestContext.search(url).with("path1", "path2").to(...).fire()

MyRequestContext.java:

@Service(ModelService.class)
public interface MyRequestContext extends RequestContext {

Request search(String url);

}

ModelService.search(String url) returns valid Model object *or* null if not 
found.

Problem is, if search returns null value, .with(...) part in my client 
request causes NPE on server:

09.04.2013. 10:34:48 
com.google.web.bindery.requestfactory.server.RequestFactoryServlet doPost
SEVERE: Unexpected error
java.lang.NullPointerException
at 
com.google.web.bindery.requestfactory.server.Resolver.addPathsToResolution(Resolver.java:488)
at 
com.google.web.bindery.requestfactory.server.Resolver.resolveClientValue(Resolver.java:406)
at 
com.google.web.bindery.requestfactory.server.SimpleRequestProcessor.processInvocationMessages(SimpleRequestProcessor.java:491)
at 
com.google.web.bindery.requestfactory.server.SimpleRequestProcessor.process(SimpleRequestProcessor.java:233)
at 
com.google.web.bindery.requestfactory.server.SimpleRequestProcessor.process(SimpleRequestProcessor.java:135)
at 
com.google.web.bindery.requestfactory.server.RequestFactoryServlet.doPost(RequestFactoryServlet.java:133)
(...)

If I omit ".with(...)" part, request goes ok, giving me null or ModelProxy 
instance (but without paths).

My current workaround is dumb but straightforward - two-phase search: first 
without paths and if return value is not-null then I repeat same request 
with paths. Where is the problem and is there a better workaround?

GWT is 2.5.1

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Exception while persisting an entity.

2013-04-09 Thread Aman Sharma
While persisting following entity I am getting a server error : null in GWT 
development console. But on removing the call to pm.persist() everything 
goes right. I have doubts that I have not defined this entity properly. 
Maybe I am using types not supported by Datastore.Or is there anything else 
I am doing wrong? Please please help it's been a week I am following this 
long chain of exceptions with this GWT project.


package com.torrid.gwt.pollingApp.server;


import com.google.appengine.api.datastore.Key;

import javax.jdo.annotations.EmbeddedOnly;
import javax.jdo.annotations.Embedded;
import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.PrimaryKey;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.Version;
import javax.jdo.annotations.Extension;
import javax.jdo.annotations.VersionStrategy;
import javax.jdo.PersistenceManagerFactory;
import javax.jdo.PersistenceManager;
import javax.jdo.JDOHelper;
import javax.jdo.Query;
import com.torrid.gwt.pollingApp.server.PMF;

import java.security.NoSuchAlgorithmException;
import java.security.spec.InvalidKeySpecException;

@PersistenceCapable
@Version(strategy=VersionStrategy.VERSION_NUMBER, column="VERSION",
 extensions={@Extension(vendorName="datanucleus", key="field-name", 
value="myVersion")})
public class User{
 @PrimaryKey
@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
private Long id;

protected Long version;
@Persistent
private String name;
 @Persistent
@Embedded
private Password kunji;
public void setName(String name){
this.name=name;
}
public void setPassword(String pass){
byte[] bSalt;
String salt = null;
String hash = null;
try{
bSalt = PassEncryptionService.generateSalt();
salt = new String(bSalt);
hash = new String(PassEncryptionService.getEncryptedPassword(pass,bSalt));
}
catch(NoSuchAlgorithmException e){
//no idea about what to do yet.
}
catch(InvalidKeySpecException e){
//no idea about what to do yet.
}
kunji=new Password(hash,salt);
}
public String getPassword(){
return "abc";
}
public String getName(){
return this.name;
}
public Long getId(){
return this.id;
}
 @PersistenceCapable
@EmbeddedOnly
public static class Password{
@Persistent
private String hash;
 @Persistent
private String salt;
 public Password(String hash,String salt){
this.hash=hash; this.salt=salt;
}
 }
public static User findUser(Long id){
if(id==null)
return null;
PersistenceManager pm = PMF.getInstance().getPersistenceManager();
return pm.getObjectById(User.class,id);
}
 public Long getVersion(){
return this.version;
}
 public void persist(){
PersistenceManager pm  = PMF.getInstance().getPersistenceManager();
try{
pm.makePersistent(this);
}
finally{
pm.close();
}
}
 }


package com.torrid.gwt.pollingApp.server;
import javax.jdo.JDOHelper;import javax.jdo.PersistenceManagerFactory;
public final class PMF {
  private static final PersistenceManagerFactory pmfInstance =
JDOHelper.getPersistenceManagerFactory("transactions-optional");

 private PMF() {}

 public static PersistenceManagerFactory getInstance() {
return pmfInstance;
 }}


public void persist(){
PersistenceManager pm  = PMF.getInstance().getPersistenceManager();
try{
pm.makePersistent(this);
}
finally{
pm.close();
}}

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: GWT App -- Firefox 20 regression?

2013-04-09 Thread Geoffrey Wiseman

On 2013-04-09, at 10:31 AM, Jens  wrote:

> I think you have to set javascript.options.ion.content to false to disable 
> IonMonkey (the name of the JIT Compiler in FF) in FF20.

It briefly seemed like this might have had an impact (I failed to reproduce the 
same error state with the Ion Monkey flags set to false), but then I couldn't 
reproduce it after a reset with the ion monkey flags turned on, and discovered 
that /other/ selects are now similarly broken, and that that's true with the 
Ion Monkey flags set to false as well. So at this point, all that I'm learning 
is that reproducing the error state is less reliable than it had seemed before, 
although I still seem quite able to reproduce, but with less consistency as to 
the when and where. ;)

I'm going back to getting work done in FF19; I'll keep an eye out for FF20.0.1 
or more signs that the cause might have been found.

  - Geoffrey
--
Geoffrey Wiseman
geoffrey.wise...@gmail.com
http://www.geoffreywiseman.ca

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Removing obfuscation from a stack trace.

2013-04-09 Thread Andrea Boscolo
Read the StackTraceDeobfuscator doc [1], you are either missing the -deploy 
 argument for creating the symbolMaps, or it is not in the right place.

[1] 
http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/logging/server/StackTraceDeobfuscator.html

On Tuesday, April 9, 2013 5:06:23 PM UTC+2, Flying-w wrote:
>
>
> I've implemented server side logging of client side exceptions, by making 
> the following changes in gwt.xml:
> 
>  name="compiler.emulatedStack.recordLineNumbers" value="true" />
>  name="compiler.emulatedStack.recordFileNames" value="true" />
>
> A custom implementation SimpleRemoteLogHandler provides the handler to 
> relay the messages to the server.
>
> And a servlet:
> 
> remoteLogging
>
> com.google.gwt.logging.server.RemoteLoggingServiceImpl
> 
> symbolMaps
> shark_sencha_prototype/symbolMaps
> 
> 
> 
> remoteLogging
> /shark_sencha_prototype/remote_logging
> 
>
>
> When an exception occurs (for example an operation on a null string), the 
> stack trace below is typical of what shows up.  I 
> was expecting RemoteLoggingServiceImpl to fully remote the obfuscation, 
> however is this as good as it gets?
> It feels like there should me more, as it's doing nothing more than 
> mirroring what can also be reported on the client concerning the exception.
>
> com.google.gwt.core.client.JavaScriptException: (TypeError): Cannot call 
> method 'Bl' of null
>
> Unknown.he(StackTraceCreator.java:174)
>
> Unknown.Oc(StackTraceCreator.java:501)
>
> Unknown.uS(Exceptions.java:29)
>
> Unknown.Zid(JobsTab.java:293)
>
> Unknown.Kfd(CategoryTabs.java:81)
>
> ...
>
>
> Thanks
>
> Simon
>

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Removing obfuscation from a stack trace.

2013-04-09 Thread Flying-w

I've implemented server side logging of client side exceptions, by making 
the following changes in gwt.xml:




A custom implementation SimpleRemoteLogHandler provides the handler to 
relay the messages to the server.

And a servlet:

remoteLogging
com.google.gwt.logging.server.RemoteLoggingServiceImpl

symbolMaps
shark_sencha_prototype/symbolMaps



remoteLogging
/shark_sencha_prototype/remote_logging



When an exception occurs (for example an operation on a null string), the 
stack trace below is typical of what shows up.  I 
was expecting RemoteLoggingServiceImpl to fully remote the obfuscation, 
however is this as good as it gets?
It feels like there should me more, as it's doing nothing more than 
mirroring what can also be reported on the client concerning the exception.

com.google.gwt.core.client.JavaScriptException: (TypeError): Cannot call 
method 'Bl' of null

Unknown.he(StackTraceCreator.java:174)

Unknown.Oc(StackTraceCreator.java:501)

Unknown.uS(Exceptions.java:29)

Unknown.Zid(JobsTab.java:293)

Unknown.Kfd(CategoryTabs.java:81)

...


Thanks

Simon

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: GWT App -- Firefox 20 regression?

2013-04-09 Thread Jens
I think you have to set javascript.options.ion.content to false to disable 
IonMonkey (the name of the JIT Compiler in FF) in FF20.

-- 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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: GWT App -- Firefox 20 regression?

2013-04-09 Thread Geoffrey Wiseman

On 2013-04-09, at 8:20 AM, Jens  wrote:

> 
> Probably not related but hit a weird issue with FF20 too:
> * undefined in a variable that the Java source (compiled to JS) says should 
> be initialised.
> * works fine in all other browsers.
> * works in FF if firebug or the built in debugger turned on...
> 
> Sounds like a JIT Compiler issue especially because it goes away when a JS 
> debugger is active which often (always?) disables JIT compilation in 
> browsers. You can try disabling the JIT compiler in about:config.

Out of curiosity, I tried this with my issue, and no dice. I disabled all four 
of the flags containing 'jit' in about:config. Refreshing, quitting didn't 
solve the problem, so I did another --safe-mode reset in case it helped clear 
some sort of jit-compiler cache, and went back through the process I use to 
trigger my problem (load up dev mode, go through a sequence in my app) and 
voila, the problem resurfaced as always.

So -- if there is a JIT bug, it either doesn't cause the problem I'm 
experiencing, or turning off those four flags is insufficient to stop it from 
recurring.

  - Geoffrey
--
Geoffrey Wiseman
geoffrey.wise...@gmail.com
http://www.geoffreywiseman.ca

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Re-deployment on appengine sometimes breaks GWT app (Module.Cache.html not found)

2013-04-09 Thread Dr. Robert Hoffmann


On 09.04.13 10:15, Jens wrote:

Never used AppEngine but the first two things I would check are:

1.) Caching issue for module.nocache.js so that the browser has the 
old one cached and requests an old .cache.html file which does 
not exist anymore.

I wish - I cleared the cache and tried different browsers to no avail.
2.) Maybe AppEngine distributes your app across different nodes which 
may take a while and you hit a node that is not updated yet (load 
balancing issue).
Yes that was my thought too, it looks like an appengine issue, but how 
do you 'prove' that? - it's so spurious.




--
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: GWT App -- Firefox 20 regression?

2013-04-09 Thread Jens


> Probably not related but hit a weird issue with FF20 too:
> * undefined in a variable that the Java source (compiled to JS) says 
> should be initialised.
> * works fine in all other browsers.
> * works in FF if firebug or the built in debugger turned on...
>

Sounds like a JIT Compiler issue especially because it goes away when a JS 
debugger is active which often (always?) disables JIT compilation in 
browsers. You can try disabling the JIT compiler in about:config.

-- 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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: GWT App -- Firefox 20 regression?

2013-04-09 Thread salk31
Probably not related but hit a weird issue with FF20 too:
* undefined in a variable that the Java source (compiled to JS) says should 
be initialised.
* works fine in all other browsers.
* works in FF if firebug or the built in debugger turned on...

It was in some Request Factory code... we managed to trim what we were 
sending and the problem went away (not very comforting though).

On Friday, April 5, 2013 9:49:20 PM UTC+1, Geoffrey Wiseman wrote:
>
> I hit an issue this afternoon where I have an unexplained issue with a 
> select where I can't select any of the options in it, and it seems like the 
> handler isn't even being called (or isn't triggering the debugger in 
> Eclipse, anyway), in either dev mode or after deployment in regular browser 
> usage (including in FF safe mode, which disables all the plugins). This is 
> true in FF20, but not in FF19. 
>
> It's only one select out of many in our application, so there are clearly 
> complicating circumstances, it's not just "select controls don't work in 
> FF20/GWT", but it's odd to me that it works in FF19 and doesn't work in 
> FF20. Since I don't have any idea of the cause yet, I'm not sounding 
> alarms, but I thought I'd put a placeholder in here in case anyone else is 
> experiencing a FF19/FF20 regression and is farther along in their analysis 
> than I am.
>
>
>

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Make PopupPanel float to an edge of DockLayoutPanel?

2013-04-09 Thread membersound
Great, using setPopupPosition(x,y) works perfectly in the callback.

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Make PopupPanel float to an edge of DockLayoutPanel?

2013-04-09 Thread Thomas Broyer
Have a look at setPopupPositionAndShow; within the callback, get the size 
of the popup and compute its position to make its right edge where you want.

On Tuesday, April 9, 2013 10:57:11 AM UTC+2, membersound wrote:
>
> Hi,
>
> is it possible to let the right edge of a autosized PopupPanel float to 
> the left g:east edge of a DockLayoutPanel?
> I only found panel.setRelativeTo(widget) but that would place the popup 
> below the dock panel.
> I want it to appear with its upper right edge on the upper edge of the 
> east side of the dock.
>
> Thanks
>

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Make PopupPanel float to an edge of DockLayoutPanel?

2013-04-09 Thread membersound
Hi,

is it possible to let the right edge of a autosized PopupPanel float to the 
left g:east edge of a DockLayoutPanel?
I only found panel.setRelativeTo(widget) but that would place the popup 
below the dock panel.
I want it to appear with its upper right edge on the upper edge of the east 
side of the dock.

Thanks

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Re-deployment on appengine sometimes breaks GWT app (Module.Cache.html not found)

2013-04-09 Thread Jens
Never used AppEngine but the first two things I would check are:

1.) Caching issue for module.nocache.js so that the browser has the old one 
cached and requests an old .cache.html file which does not exist 
anymore.
2.) Maybe AppEngine distributes your app across different nodes which may 
take a while and you hit a node that is not updated yet (load balancing 
issue).

-- 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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.