Re: GPE issue - erasing libs on Run As

2011-10-07 Thread Sudhakar Abraham
Google Plugin Eclipse (GPE) does not delete the library jar in WEB-INF/
lib directory by itself.  So manually copy /paste the Juice and shiro
jars in WEB-INF/lib directory.


 S. Abraham
www.DataStoreGwt.com
Persist objects directly in GAE


On Oct 6, 10:59 pm, André Salvati andre.f.salv...@gmail.com wrote:
 Hi,

 strange behavior that started to happen on GPE after add guice and
 shiro jars.

 Step 1 - Package app (maven). All jars are on WEB-INF/lib as expected.

 Step 2 - Execute Run as - Web Application... gets
 java.lang.ClassNotFoundException:
 com.google.inject.servlet.GuiceServletContextListener. I noticed that
 guice and shiro jars disapeared from my WEB-INF/lib

 Note: When I execute gwt:run after 1, everything works fine.

 Does GPE make any validation before start to run? Why GPE is deleting
 some of my jars??

 Should I crosspost questions about GPE on GAE forum?

 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.



How to set size for TextInputCell ?

2011-10-07 Thread Rajaganapathi
I don't know how to set size for TextInputCell in gwt.  What property
is available in gwt 2.4.0. I send my code segment. Please help me.

//sample code

public CellString getCell()
  {

return new TextInputCell() ; // set size in 20EM
  }

-- 
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: Documentation Request: Add javax.persistence API to the Navigation Reference

2011-10-07 Thread Kritic
+1

-- 
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/-/TyrOE2xOyWcJ.
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.



Unhandled event loop exception

2011-10-07 Thread SCK
Hi

I see this exception in eclipse, any ideas how to get rid of it?

java.lang.NullPointerException
at
com.google.gdt.eclipse.core.ResourceUtils.getResourceAsString(ResourceUtils.java:
655)
at
com.google.gdt.eclipse.core.ResourceUtils.getResourceAsString(ResourceUtils.java:
467)
at
com.google.gwt.eclipse.core.wizards.NewHostPageWizard.getDocType(NewHostPageWizard.java:
216)
at
com.google.gwt.eclipse.core.wizards.NewHostPageWizard.getInitialContents(NewHostPageWizard.java:
148)
at
com.google.gwt.eclipse.core.wizards.AbstractNewFileWizard.createNewFile(AbstractNewFileWizard.java:
130)
at
com.google.gwt.eclipse.core.wizards.AbstractNewFileWizard.performFinish(AbstractNewFileWizard.java:
94)
at
com.google.gwt.eclipse.core.wizards.NewHostPageWizard.performFinish(NewHostPageWizard.java:
115)
at
org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:
827)
at
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:
432)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:
240)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:
4165)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at
org.eclipse.ui.internal.actions.NewWizardShortcutAction.run(NewWizardShortcutAction.java:
135)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:
584)
at org.eclipse.jface.action.ActionContributionItem.access
$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem
$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:
4165)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:
2696)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:
332)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:
667)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:
149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:
123)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:
196)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:
110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:
79)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
344)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
179)
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 org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)

Tks

-- 
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.



Show Images

2011-10-07 Thread Ahmet Dakoglu
Hi, is it possible show an image from a folder let's say on desktop ? Or
images always must be placed in a folder under web-content named images ?

Thanks.

-- 
*Ahmet DAKOĞLU*

-- 
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.



Migrating to GWT 2.4 failed

2011-10-07 Thread Barys
I am migrating my app from 1.7 release to 2.4. The application is a wizard. 
I've 
updated jars to new versions, but faced with a problem: my app does not start 
at 
all: the Object required exception is raised from browser side.
The explorer's stacktrace:

-JScript anonymous function
-gwtOnLoad
-maybeStartModule
-JScript anonymous function
-JScript global code

The last call's code is:

function entry_0(jsFunction){
  return function(){
try {
  return entry0(jsFunction, this, arguments);
}
 catch (e) {
  throw e;
}
  }
  ;
} .
When SmartGWT developer console is launched, it shows nothing 'bout the error - 
no logs, no events.
Please give a hint on this. Thanks a lot!

-- 
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.



What GWT designer is for?

2011-10-07 Thread Dims
Sorry for my stupid question, I am a newbie. I am looking at example
application Web Application Starter Project which is sending a text
to server and responding with Hello dialog.

My question is how to use GWT designer (in Eclipse) in general?

I tried to move a button and got a warning Warning:
com.google.gwt.user.client.ui.RootPanel descendants will be
incorrectly positioned, i.e. not relative to their parent element,
when 'position:static', which is the CSS default, is in effect. One
possible fix is to call
'panel.getElement().getStyle().setPosition(Position.RELATIVE)'.

So the default design of main page does not suppose GWT designer use.

Also, the sample contains dialog window. I can't find a way to call
GWT designer against this window.

So, both two visual components of the sample does not suppose GWT
designer usage? Then how I can create something which will demonstrate
where to use GWT designer? Is it possible to create some dialog
windows which can be edited with GWT designer?

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.



cellbrowser open/close nodes programatically

2011-10-07 Thread HBA
I'm using the gwt cellbrowser, so far it has been an uphill battle. I
got this bad feeling that I'm not using it as it is intended to be
used.

It seems to me that:

there is a difference between selecting a node and opening that node.
there is no way to open/close nodes programatically.
the cellbrowser's open/close handlers never fire (although clicking on
a node renders that node's children in the next panel.
I'm able to use the selectionModel to select a node but that doesn't
open the node. In other words, the node's children don't show up
(until I click on the node).

Is there anyway, I can open and close nodes programatically?

Thanks in advance.

-- 
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: RequestFactory Validation Tool must be run for.... (error)??? How come?

2011-10-07 Thread Brandon Donnelson
I got this to run below and it allows the project to move foward, but I 
still have a few bugs in my code. Thanks to the comments above!

My latest notes are 
here: http://code.google.com/p/gwt-examples/wiki/DemoRequestFactory

#!/bin/sh
# made by Brandon Donnelson
# http://gwt-examples.googlecode.com

# Project Path to Web-inf folder (with no trailing /)
BASE=/Users/branflake2267/Documents/workspace/DemoRequestFactory/war/WEB-INF;

#
# don't have to edit below

OUTPUT=$BASE/classes;

CP=;
CP=$CP$BASE/classes:;
CP=$CP$BASE/lib/*:; # '*' will only work with java 1.6+

# these need to be in there
#CP=$CP$BASE/lib/requestfactory-apt.jar:;
#CP=$CP$BASE/lib/requestfactory-server+src.jar:;

echo DEBUG ClassPath: $CP;

java -cp $CP com.google.web.bindery.requestfactory.apt.ValidationTool $OUTPUT \
  org.gonevertical.client.requestfactory.ApplicationRequestFactory 
  

# the end
exit;

-- 
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/-/ZGtqonWUbr8J.
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: RequestFactory Validation Tool must be run for.... (error)??? How come?

2011-10-07 Thread Jens
With GWT 2.4 your RequestFactory interfaces have to be validated. To do so 
you have to configure your Eclipse to use the RequestFactory Annotation 
Processor found in requestfactory-apt.jar in your SDK. 
See: 
http://code.google.com/p/google-web-toolkit/wiki/RequestFactory_2_4#RequestFactorySource_and_Annotation_Processing

-- 
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/-/3qz6EhqV-D4J.
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: RequestFactory Validation Tool must be run for.... (error)??? How come?

2011-10-07 Thread Brandon Donnelson
I got my demo working thanks to all who commented! :)

http://code.google.com/p/gwt-examples/wiki/DemoRequestFactory

-- 
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/-/XdBx6jKVSS4J.
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: RequestFactory Validation Tool must be run for.... (error)??? How come?

2011-10-07 Thread Brandon Donnelson
Jens, for some reason I don't have the ability in Eclipse Indigo to add 
Annotation processor, or I just don't get it yet. Hmmm... Thanks for 
pointing that out. 

-- 
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/-/ustcu_2N-FsJ.
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.



I made a RequestFactory Demo (w/source)

2011-10-07 Thread Brandon Donnelson

Demo - http://demogwtrequestfactory.appspot.com/
Wiki and Source 
- http://code.google.com/p/gwt-examples/wiki/DemoRequestFactory

Seems there some way to get the annotation processor to work automatically, 
but I'm not sure how to set that up yet. Needed clearer docs on this to help 
me :)
http://code.google.com/p/google-web-toolkit/wiki/RequestFactory_2_4#RequestFactorySource_and_Annotation_Processing

Brandon Donnelson
http://gwt-examples.googlecode.com

-- 
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/-/Apuv6wfubqoJ.
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: CSS3 support in GWT

2011-10-07 Thread Jeff Larsen
are you escaping the - ?

literal(\-webkit-gradient( linear, left bottom, left top, color-stop(0.23, 
rgb(220,106,0)), color-stop(0.62, rgb(219,135,32)) )); works for me

-- 
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/-/dUaWhHyWNVwJ.
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: GWT DataGrid: how to scroll to the top

2011-10-07 Thread Jeff Larsen
I'd go with 3a. Your usecase may not be everyone else's usecase (although it 
makes sense). 


-- 
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/-/k8lu0tKxUAYJ.
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 align header/footer text in cell table

2011-10-07 Thread Thomas Trebbien Pedersen
Hi,

How do I set the horizontal alignment for headers/footers in a
CellTable?

I want to right align the text like I can do with a Column:

someColumn.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_RIGHT);

Isn't something similar possible for headers/footers - can anyone
please help.

Thanks.

\Thomas

-- 
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.



Regarding excanvas

2011-10-07 Thread Abhay
Hi,
We are using your excanvas javascript in the our project to draw
signature it is working in the crome but not in IE7.

My code is :
//if i use this code in crome it working

try{
var c = document.getElementById('canvas');
var img= c.toDataURL(image/png);
}catch(e)
{
alert(e.message); //This thrown exception Object doesn't support this
property or method.
}
try{
var xhr = new XMLHttpRequest();
xhr.open(POST,'sendsig.php', true);
xhr.setRequestHeader('Content-Type', 'application/upload');
xhr.send(img);
alert(done);
}catch(e1)
{
alert(e1.message);
}

-- 
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.



SmartGWT migration to 2.4 version

2011-10-07 Thread Boris H
I am migrating my app from 1.7 release to 2.4. The application is a
wizard. I've
updated jars to new versions, but faced with a problem: my app does
not start at
all: the Object required exception is raised from browser side.
The explorer's stacktrace:

-JScript anonymous function
-gwtOnLoad
-maybeStartModule
-JScript anonymous function
-JScript global code

The last call's code is:

function entry_0(jsFunction){
  return function(){
try {
  return entry0(jsFunction, this, arguments);
}
 catch (e) {
  throw e;
}
  }
  ;
} .
When SmartGWT developer console is launched, it shows nothing 'bout
the error -
no logs, no events.
Please give a hint on what can be next step. Thanks a lot!

-- 
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.



Problem using classes from external modules

2011-10-07 Thread Julian
Hi

I am trying to get my GWT application to work with an existing project 
consisting of several maven modules. Currently I'm struggling trying to use 
an enum from one of the existing maven modules, in my GWT client-side code. 
The way I'm tying to do it is by creating an extra GWT module where the enum 
is located.


EXISTING MAVEN MODULE: *ExtraModule*

src/com/app/extra/ExtraModule.gwt.xml
src/com/app/extra/data/MyEnum.java

module rename-to=ExtraModule
 source path=data
 include name=MyEnum.java /
 /source
 /module



NEW GWT MAVEN MODULE: *MainModule*

src/com/app/main/MainModule.gwt.xml
src/com/app/main/client/XAdmin.java

module rename-to='MainModule'
 inherits name=ExtraModule /
 entry-point class='com.app.main.client.XAdmin' /
 /module



I managed to make the source from ExtraModule available in MainModule by 
using the Build Helper maven-plugin:

from my pom.xml

plugin
 groupIdorg.codehaus.mojo/groupId
 artifactIdbuild-helper-maven-plugin/artifactId
 version1.7/version
 executions
 execution
 idadd-source/id
 phasegenerate-sources/phase
 goals
 goaladd-source/goal
 /goals
 configuration 
 sources
 source/path/to/project/src/com/app/extra//source
 /sources
 /configuration
 /execution
 /executions
 /plugin



This seems to work just fine, as ExtraModule was found and skipped (as there 
is no entry-point). The enum, MyEnum.java, however, is nowhere to be found. 
What am I doing wrong here? 


The stacktracke from running mvn clean install

[INFO] --- gwt-maven-plugin:2.4.0:compile (default) @ app-web ---
[INFO] auto discovered modules [ExtraModule, com.app.main.MainModule]
[INFO] ExtraModule has no EntryPoint - compilation skipped
[INFO] Compiling com.app.main.MainModule
[INFO]Validating newly compiled units
[INFO]   Ignored 2 units with compilation errors in first pass.
[INFO] Compile with -strict or with -logLevel set to TRACE or DEBUG to see 
all errors.
[INFO]Finding entry point classes
[INFO]   [ERROR] Errors in 
'file:/Users/chuck.norris/workspace/app-web/src/main/java/com/app/main/shared/dto/SomeProxy.java'
[INFO]  [ERROR] Line 81: No source code is available for type 
com.app.extra.data.MyEnum; did you forget to inherit a required module?

-- 
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/-/apcM5xoLAOwJ.
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: One-To-Many RElations Serialization

2011-10-07 Thread Juan Pablo Gardella
What's your question?

2011/10/6 Bruno Sandivilli bruno.sandivi...@gmail.com

 I'm getting this error when my RPC returns a list of a custom object:
 Type 'org.datanucleus.sco.backed.List' was not included in the set of types
 which can be serialized by this SerializationPolicy or its Class object
 could not be loaded. For security purposes, this type will not be
 serialized.

 --
 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: I made a RequestFactory Demo (w/source)

2011-10-07 Thread Juan Pablo Gardella
Thanks for share!

2011/10/7 Brandon Donnelson branflake2...@gmail.com


 Demo - http://demogwtrequestfactory.appspot.com/
 Wiki and Source -
 http://code.google.com/p/gwt-examples/wiki/DemoRequestFactory

 Seems there some way to get the annotation processor to work automatically,
 but I'm not sure how to set that up yet. Needed clearer docs on this to help
 me :)

 http://code.google.com/p/google-web-toolkit/wiki/RequestFactory_2_4#RequestFactorySource_and_Annotation_Processing

 Brandon Donnelson
 http://gwt-examples.googlecode.com

 --
 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/-/Apuv6wfubqoJ.
 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: GWT DataGrid: how to scroll to the top

2011-10-07 Thread Cedric
I have filed http://code.google.com/p/google-web-toolkit/issues/detail?id=6865.

-- 
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: One-To-Many RElations Serialization

2011-10-07 Thread Bruno Sandivilli
How can i serializa this ListMyClass ?

2011/10/7 Juan Pablo Gardella gardellajuanpa...@gmail.com

 What's your question?

 2011/10/6 Bruno Sandivilli bruno.sandivi...@gmail.com

 I'm getting this error when my RPC returns a list of a custom object:
 Type 'org.datanucleus.sco.backed.List' was not included in the set of
 types which can be serialized by this SerializationPolicy or its Class
 object could not be loaded. For security purposes, this type will not be
 serialized.

 --
 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.


-- 
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.



CheckBox valuechangehandler inside a FocusPanel with clickhandler

2011-10-07 Thread Jonas
I'm wrapping a HTMLPanel inside a FocusPanel so I can add a clickhandler to 
the entire panel to show a popup. Inside the FocusPanel I have a CheckBox 
and the problem I have is that when I click on the check box 
(ValueChangeEvent) I don't want the clickhandler on the FocusPanel to 
trigger. Is it possible to filter out which widget is clicked from the event 
and check if it's the checkbox?

-- 
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/-/tlHxld-8v4kJ.
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: One-To-Many RElations Serialization

2011-10-07 Thread Juan Pablo Gardella
You can see the same problem but with hibernate
herehttp://code.google.com/intl/es/webtoolkit/articles/using_gwt_with_hibernate.html.
In this page show some strategies to resolve the problem. In my case I don't
adopt this strategies. I do a filter. In Pro Web
2.0http://books.google.com/books?id=OG816JSZYVcCpg=PA159lpg=PA159dq=gwt+hibernate+filtersource=blots=BM1JxFq0h9sig=gTKoh1ZBWs26d5vjRi-7CP4fo20hl=esei=R0OPTu_4GZC1hAfXmc32Dwsa=Xoi=book_resultct=resultresnum=7ved=0CF0Q6AEwBg#v=onepageq=gwt%20hibernate%20filterf=falseexplain
the use of a
*filter*. A class that, in your case, for example convert
org.datanucleus.sco.backed.List in java.util.List. This filter intercept the
classes before send to client. Here
https://bitbucket.org/gardellajuanpablo/gwt-sample/src/8aba86d82778/src/main/java/com/foo/server/rpc/hibernate/HibernateFilter.javayou
have an example of a Hibernate filter compatible with GWT 2.4.0 and how
integrate in a sample project.

Juan


2011/10/7 Bruno Sandivilli bruno.sandivi...@gmail.com

 How can i serializa this ListMyClass ?


 2011/10/7 Juan Pablo Gardella gardellajuanpa...@gmail.com

 What's your question?

 2011/10/6 Bruno Sandivilli bruno.sandivi...@gmail.com

  I'm getting this error when my RPC returns a list of a custom object:
 Type 'org.datanucleus.sco.backed.List' was not included in the set of
 types which can be serialized by this SerializationPolicy or its Class
 object could not be loaded. For security purposes, this type will not be
 serialized.

 --
 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.


  --
 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: Gwt Tree always scroll to the bottom?

2011-10-07 Thread Peter Nees
Same problem here. I tried these workarounds, none of them work: 
http://code.google.com/p/google-web-toolkit/issues/detail?id=1467.
Problem is on FireFox and Chrome. Works fine on IE.

-- 
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/-/5rToIJcbMLIJ.
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: GWT Developer Plugin for Firefox 7

2011-10-07 Thread Lorenzo M
Many thanks Ivan, but still I cannot make it work on FF 7.0.1. I keep
getting the same error message Kees de Kooter reported.
Any chance someone can share the plugin built for Firefox 7.0.1?
Unofrtunateli, I didn't manage to compile it by myself :/

Thanks!

--
L.

On Oct 5, 9:36 pm, Ivan Bahdanau ioanb...@gmail.com wrote:
 Attached file is GWT FF plugin for FF7 on Ubuntu 11 64. in case anyone does
 not want to re-build it by himself.

 My Ubuntu info:
 uname -a:
 Linux v 2.6.38-11-generic #50-Ubuntu SMP Mon Sep 12 21:17:25 UTC 2011 x86_64
 x86_64 x86_64 GNU/Linux
 ioanbsu@v:~$

 cat /etc/issue:
 Ubuntu 11.04 \n \l

  gwt-dev-plugin.xpi
 3821KViewDownload

-- 
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: GWT Developer Plugin for Firefox 7

2011-10-07 Thread Thomas Broyer
It's available on the GWT SVN; just a matter of time 'til it makes it to an 
official release with the auto-update process right from firefox.

-- 
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/-/gMPmxLowne8J.
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: GWT Developer Plugin for Firefox 7

2011-10-07 Thread Alan Leung
Yes. I checked it in last night and tested it on all the OS.

Let me know if you have any problems with it.

On Fri, Oct 7, 2011 at 11:51 AM, Thomas Broyer t.bro...@gmail.com wrote:

 It's available on the GWT SVN; just a matter of time 'til it makes it to an
 official release with the auto-update process right from firefox.

 --
 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/-/gMPmxLowne8J.

 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: One-To-Many RElations Serialization

2011-10-07 Thread Bruno Sandivilli
Thanks Buddy!
But if i'm not using Hibernate? I'm using pure GWT, do i have to use the
filter in web.xml? How can i achieve this? Thanks

2011/10/7 Juan Pablo Gardella gardellajuanpa...@gmail.com

 You can see the same problem but with hibernate 
 herehttp://code.google.com/intl/es/webtoolkit/articles/using_gwt_with_hibernate.html.
 In this page show some strategies to resolve the problem. In my case I don't
 adopt this strategies. I do a filter. In Pro Web 
 2.0http://books.google.com/books?id=OG816JSZYVcCpg=PA159lpg=PA159dq=gwt+hibernate+filtersource=blots=BM1JxFq0h9sig=gTKoh1ZBWs26d5vjRi-7CP4fo20hl=esei=R0OPTu_4GZC1hAfXmc32Dwsa=Xoi=book_resultct=resultresnum=7ved=0CF0Q6AEwBg#v=onepageq=gwt%20hibernate%20filterf=falseexplain
  the use of a
 *filter*. A class that, in your case, for example convert
 org.datanucleus.sco.backed.List in java.util.List. This filter intercept the
 classes before send to client. Here
 https://bitbucket.org/gardellajuanpablo/gwt-sample/src/8aba86d82778/src/main/java/com/foo/server/rpc/hibernate/HibernateFilter.javayou
 have an example of a Hibernate filter compatible with GWT 2.4.0 and how
 integrate in a sample project.

 Juan



 2011/10/7 Bruno Sandivilli bruno.sandivi...@gmail.com

 How can i serializa this ListMyClass ?


 2011/10/7 Juan Pablo Gardella gardellajuanpa...@gmail.com

 What's your question?

 2011/10/6 Bruno Sandivilli bruno.sandivi...@gmail.com

  I'm getting this error when my RPC returns a list of a custom object:
 Type 'org.datanucleus.sco.backed.List' was not included in the set of
 types which can be serialized by this SerializationPolicy or its Class
 object could not be loaded. For security purposes, this type will not be
 serialized.

 --
 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.


  --
 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.


-- 
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.



GWT Slider

2011-10-07 Thread mkn
Hi

I need for a project a slider (an important requirement). Therefore I
tested the following sliders:

-SmartGWT = there is a huge overhead. My page has only sliders (10 of
them) but since SmartGWT is a full-fledged library it takes up to 5
seconds to display the page (respectively to load the SmartGWT
javascripts). This is not acceptable because the user sees 5 seconds
long a white page.
-JQuery slider = for unknown reason, this slider does not work in
IE8.
-GWT Incubator = does not work with GWT 2.4

Does anyone else have an idea what else I could try?

-- 
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: GWT Developer Plugin for Firefox 7

2011-10-07 Thread Kees de Kooter
Doin' fine on my mac.

Kees de Kooter


On Fri, Oct 7, 2011 at 21:50, Alan Leung acle...@google.com wrote:

 Yes. I checked it in last night and tested it on all the OS.

 Let me know if you have any problems with it.


 On Fri, Oct 7, 2011 at 11:51 AM, Thomas Broyer t.bro...@gmail.com wrote:

 It's available on the GWT SVN; just a matter of time 'til it makes it to
 an official release with the auto-update process right from firefox.

 --
 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/-/gMPmxLowne8J.

 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.


-- 
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.



What's a good widget for a small table?

2011-10-07 Thread Mike Dee
I have small data tables that I'd like to display.  In the widget
showcase for DataGrid and CellTable it says they are ideal for large
amounts of data.

The goal is to display detail info.  For example, to display a single
record from a database - not a bunch of records from a database.  So
the columns of the database will be different.  Think of something
like:

Name: John Doe
Address: Main St.
Phone: 555-1234

I was thinking a PropertyTable would be ideal.  It doesn't exist,
although they have something similar in SmartGWT, which I'd like to
avoid for now.

Any ideas would be appreciated.

-- 
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: What's a good widget for a small table?

2011-10-07 Thread Jeff Chimene
On 10/07/2011 01:38 PM, Mike Dee wrote:
 I have small data tables that I'd like to display.  In the widget
 showcase for DataGrid and CellTable it says they are ideal for large
 amounts of data.
 
 The goal is to display detail info.  For example, to display a single
 record from a database - not a bunch of records from a database.  So
 the columns of the database will be different.  Think of something
 like:
 
 Name: John Doe
 Address: Main St.
 Phone: 555-1234
 
 I was thinking a PropertyTable would be ideal.  It doesn't exist,
 although they have something similar in SmartGWT, which I'd like to
 avoid for now.
 
 Any ideas would be appreciated.
 

I'd probably create a custom widget based on using ui.xml  It might not
even be a widget, just an MVP instance. From your description it sounds
like a Popup enclosing a VerticalPanel enclosing several
HorizontalPanels. Very simple, very straightforward to implement.

-- 
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: Migrating to GWT 2.4 failed

2011-10-07 Thread Rob
Hi,

smartGWT 2.5 (the latest release) supports GWT 2.3 but not 2.4.

- http://www.smartclient.com/smartgwt/release_notes.html#2_5

Cheers
Rob

http://code.google.com/p/gwt-cx/


On Oct 7, 8:03 pm, Barys x...@tut.by wrote:
 I am migrating my app from 1.7 release to 2.4. The application is a wizard. 
 I've
 updated jars to new versions, but faced with a problem: my app does not start 
 at
 all: the Object required exception is raised from browser side.
 The explorer's stacktrace:

 -JScript anonymous function
 -gwtOnLoad
 -maybeStartModule
 -JScript anonymous function
 -JScript global code

 The last call's code is:

 function entry_0(jsFunction){
   return function(){
     try {
       return entry0(jsFunction, this, arguments);
     }
      catch (e) {
       throw e;
     }
   }
   ;} .

 When SmartGWT developer console is launched, it shows nothing 'bout the error 
 -
 no logs, no events.
 Please give a hint on this. Thanks a lot!

-- 
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: One-To-Many RElations Serialization

2011-10-07 Thread Bruno Sandivilli
 PersistenceManager pm = PMF.get().getPersistenceManager();
javax.jdo.Query query = (javax.jdo.Query) pm.newQuery(Objetos.class);
query.setFilter(name == nameParam);
query.declareParameters(String nameParam);
ListMyInnerList listaMyInnerList = new ArrayListMyInnerList();
ListMyMain listaMyMainList  = (ListMyMain) query.execute(nameParam);
if(listaMyMainList .size()  0)
{
listaMyInnerList.addAll(listaMyMainList.get(0).getMyInnerList());
 }
return new ArrayList(listaMyInnerList);
or
   return listaMyInnerList;
it gives the same error of Type 'org.datanucleus.sco.backed.ArrayList'

anyone?

2011/10/7 Bruno Sandivilli bruno.sandivi...@gmail.com

 Thanks Buddy!
 But if i'm not using Hibernate? I'm using pure GWT, do i have to use the
 filter in web.xml? How can i achieve this? Thanks


 2011/10/7 Juan Pablo Gardella gardellajuanpa...@gmail.com

 You can see the same problem but with hibernate 
 herehttp://code.google.com/intl/es/webtoolkit/articles/using_gwt_with_hibernate.html.
 In this page show some strategies to resolve the problem. In my case I don't
 adopt this strategies. I do a filter. In Pro Web 
 2.0http://books.google.com/books?id=OG816JSZYVcCpg=PA159lpg=PA159dq=gwt+hibernate+filtersource=blots=BM1JxFq0h9sig=gTKoh1ZBWs26d5vjRi-7CP4fo20hl=esei=R0OPTu_4GZC1hAfXmc32Dwsa=Xoi=book_resultct=resultresnum=7ved=0CF0Q6AEwBg#v=onepageq=gwt%20hibernate%20filterf=falseexplain
  the use of a
 *filter*. A class that, in your case, for example convert
 org.datanucleus.sco.backed.List in java.util.List. This filter intercept the
 classes before send to client. Here
 https://bitbucket.org/gardellajuanpablo/gwt-sample/src/8aba86d82778/src/main/java/com/foo/server/rpc/hibernate/HibernateFilter.javayou
 have an example of a Hibernate filter compatible with GWT 2.4.0 and how
 integrate in a sample project.

 Juan



 2011/10/7 Bruno Sandivilli bruno.sandivi...@gmail.com

 How can i serializa this ListMyClass ?


 2011/10/7 Juan Pablo Gardella gardellajuanpa...@gmail.com

 What's your question?

 2011/10/6 Bruno Sandivilli bruno.sandivi...@gmail.com

  I'm getting this error when my RPC returns a list of a custom object:
 Type 'org.datanucleus.sco.backed.List' was not included in the set of
 types which can be serialized by this SerializationPolicy or its Class
 object could not be loaded. For security purposes, this type will not be
 serialized.

 --
 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.


  --
 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.




-- 
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.



Doubt

2011-10-07 Thread sherinnovation
Hello everyone,
I an new to the GWT. I have a doubt.
I would like to develop applications based on image processing.
An image processing library suitable for java is JavaCV.
Can I use that library while coding GWT applications?
Will that make any problem at client side when the application is
deployed to the app engine?

-- 
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: I made a RequestFactory Demo (w/source)

2011-10-07 Thread Kritic
Wow, RequestFactory already!

Great job.

-- 
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/-/IqzPqgspFM4J.
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: GWT Developer Plugin for Firefox 7

2011-10-07 Thread Tapas Adhikary
Alan,

Can you share the check-in location?
-Tapas

On Oct 8, 1:24 am, Kees de Kooter kdekoo...@gmail.com wrote:
 Doin' fine on my mac.

 Kees de Kooter







 On Fri, Oct 7, 2011 at 21:50, Alan Leung acle...@google.com wrote:
  Yes. I checked it in last night and tested it on all the OS.

  Let me know if you have any problems with it.

  On Fri, Oct 7, 2011 at 11:51 AM, Thomas Broyer t.bro...@gmail.com wrote:

  It's available on the GWT SVN; just a matter of time 'til it makes it to
  an official release with the auto-update process right from firefox.

  --
  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/-/gMPmxLowne8J.

  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.

-- 
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: [gwt-contrib] Re: gwt issues marked as patcheswelcome don't show up under open issues

2011-10-07 Thread David
This issue is marked now as PatchesWelcome:

http://code.google.com/p/google-web-toolkit/issues/detail?id=6401

So if I understand you correct:
Resizing columns in the CellTables will not be implemented unless we
find a way to do it ourselfs ...
A lot of people are waiting on this rather obvious feature (from the
perspective of the user at least)

I see some others related to the CellTable that would make it a decent
component (like horizontal scrolling) also marked as PatchesWelcome.

So after making us wait years for a fast replacement for the incubator
tables, the cell table has become abandonware as well ?

I'm really starting to regret chosing GWT for development. The only
thing where there are many commits is the compiler optimisations and
code splitting stuff ... in my opinion that is a waste of time since
the browsers are getting faster every day anyway.

David


On Thu, Oct 6, 2011 at 9:02 PM, Eric Clayberg (Google)
clayb...@google.com wrote:
 At least for the moment, that is intentional.
 As you probably know, the GWT issue tracker has not had a lot of love
 lately, and we would like to fix that. We are undertaking a multi-week
 project to triage as many of the open issues as we can. We would like to
 close stale, invalid, fixed  duplicate issues, assign owners as
 appropriate, or mark issues as PatchesWelcome if it is something that we
 think is a reasonable idea but not something we (the GWT development team)
 are going to commit to. By treating PatchesWelcome as a closed state, we
 are, in essence, making a positive indication that, while we are happy to
 look at a patch, we are not going to address this ourselves (similar to
 NotPlanned).
 We are willing to be convinced otherwise, if folks think it is a bad idea.

 --
 http://groups.google.com/group/Google-Web-Toolkit-Contributors

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors


Re: [gwt-contrib] Re: gwt issues marked as patcheswelcome don't show up under open issues

2011-10-07 Thread Jeff Larsen
Switch to datagrid, that allows for horizontal scrolling. 

I've got a local version of drag resizing for columns working locally for 
the most part. I was waiting to pull a patch in until I figured out how to 
get the sizes of all the columns first. The only way I could get drag 
resizing of columns to work was to explicitly set a column size, and I was 
hoping to inspect the columns for their size on the initial load of data and 
use that for the explicit size.

I'd highly recommend dumping celltable for datagrid. It should be a mostly 
drop in replacement. 

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Issue 6834 Geolocation API Bug (issue1563803)

2011-10-07 Thread kurka . daniel

Reviewers: ,

Message:
Fix for Geolocation::watchAcceleration

Description:
Fix for
http://code.google.com/p/google-web-toolkit/issues/detail?id=6834

Please review this at http://gwt-code-reviews.appspot.com/1563803/

Affected files:
  M user/src/com/google/gwt/geolocation/client/Geolocation.java


Index: user/src/com/google/gwt/geolocation/client/Geolocation.java
===
--- user/src/com/google/gwt/geolocation/client/Geolocation.java	(revision  
10684)
+++ user/src/com/google/gwt/geolocation/client/Geolocation.java	(working  
copy)

@@ -294,8 +294,10 @@
   (callback, err.code, err.message);
 });

+   var id = -1;
 if (@com.google.gwt.geolocation.client.Geolocation::isSupported()) {
-  $wnd.navigator.geolocation.watchPosition(success, failure, opt);
+  id = $wnd.navigator.geolocation.watchPosition(success, failure, opt);
 }
+   return id;
   }-*/;
 }


--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


Re: [gwt-contrib] Re: gwt issues marked as patcheswelcome don't show up under open issues

2011-10-07 Thread James Horsley
Aren't tasks like CellTable column resizing something that the GWT community
are much more likely to have expertise in to implement locally and hopefuly
contribute back (it is open source after all) compared with compiler
optimizations and code splitting? I've been very happy with the speed
improvements to dev mode, compilation, etc. although of course am happy to
have those along with the widget fixes/improvements if the GWT team have
bandwidth :)

On 7 October 2011 12:56, David david.no...@gmail.com wrote:

 This issue is marked now as PatchesWelcome:

 http://code.google.com/p/google-web-toolkit/issues/detail?id=6401

 So if I understand you correct:
 Resizing columns in the CellTables will not be implemented unless we
 find a way to do it ourselfs ...
 A lot of people are waiting on this rather obvious feature (from the
 perspective of the user at least)

 I see some others related to the CellTable that would make it a decent
 component (like horizontal scrolling) also marked as PatchesWelcome.

 So after making us wait years for a fast replacement for the incubator
 tables, the cell table has become abandonware as well ?

 I'm really starting to regret chosing GWT for development. The only
 thing where there are many commits is the compiler optimisations and
 code splitting stuff ... in my opinion that is a waste of time since
 the browsers are getting faster every day anyway.

 David


 On Thu, Oct 6, 2011 at 9:02 PM, Eric Clayberg (Google)
 clayb...@google.com wrote:
  At least for the moment, that is intentional.
  As you probably know, the GWT issue tracker has not had a lot of love
  lately, and we would like to fix that. We are undertaking a multi-week
  project to triage as many of the open issues as we can. We would like to
  close stale, invalid, fixed  duplicate issues, assign owners as
  appropriate, or mark issues as PatchesWelcome if it is something that
 we
  think is a reasonable idea but not something we (the GWT development
 team)
  are going to commit to. By treating PatchesWelcome as a closed state,
 we
  are, in essence, making a positive indication that, while we are happy to
  look at a patch, we are not going to address this ourselves (similar to
  NotPlanned).
  We are willing to be convinced otherwise, if folks think it is a bad
 idea.
 
  --
  http://groups.google.com/group/Google-Web-Toolkit-Contributors

 --
 http://groups.google.com/group/Google-Web-Toolkit-Contributors

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Re: [gwt-contrib] Re: gwt issues marked as patcheswelcome don't show up under open issues

2011-10-07 Thread Eric Clayberg (Google)
Exactly right. Keep in mind that we (Google) have over 1000 current projects 
using GWT, and GWT is used for some of our largest, most important projects. 
If you are building large, complex GWT apps, things like compiler 
optimizations and code splitting are critical. Conversely, there are 
hundreds, if not thousands, of widget enhancements that could (and should) 
be made. We can't possibly do them all nor are we necessarily the best folks 
to implement them just as you suggest. GWT is open source so that the 
community can contribute patches and improve the toolkit in ways that have 
either not thought of or don't have the time for. 

Marking something as PatchesWelcome means that we do think it is a good 
idea, but it ls likely not something we are going to do ourselves any time 
soon. We will, however, happily accept, review, and integrate high quality 
patches that implement this behavior. Issue 6401 is a perfect example of 
something that could be implemented by the community (and probably fairly 
quickly).

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Re: [gwt-contrib] Re: gwt issues marked as patcheswelcome don't show up under open issues

2011-10-07 Thread Jeff Larsen
I got my own (slightly buggy version) done in a weekend. 

If you're not interested in waiting for me to submit either a patch or my 
own grid component project, you can look at DialogBox for some tips on how 
to hand the dragging events. 

The components to build this are all there, they just need to be put 
together. 

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Issue 6834 Geolocation API Bug (issue1563803)

2011-10-07 Thread rice

LGTM


http://gwt-code-reviews.appspot.com/1563803/diff/1/user/src/com/google/gwt/geolocation/client/Geolocation.java
File user/src/com/google/gwt/geolocation/client/Geolocation.java
(right):

http://gwt-code-reviews.appspot.com/1563803/diff/1/user/src/com/google/gwt/geolocation/client/Geolocation.java#newcode297
user/src/com/google/gwt/geolocation/client/Geolocation.java:297: var id
= -1;
Fix indentation - don't use tabs

http://gwt-code-reviews.appspot.com/1563803/diff/1/user/src/com/google/gwt/geolocation/client/Geolocation.java#newcode301
user/src/com/google/gwt/geolocation/client/Geolocation.java:301: return
id;
Ditto

http://gwt-code-reviews.appspot.com/1563803/

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


Re: [gwt-contrib] Re: More control over split point fragments

2011-10-07 Thread Alan Leung


 I don't really understand this point.  Smaller fragments are still strongly
 cachable - there are just more download requests, no?  In a multi-page app
 it is likely that most of the code in the left overs fragment (used in other
 pages) will not be needed.


What Lex described was having N different leftover fragments. IE: if you
download exclusive fragment E1 first, you'd have L1 as your leftoverIf
you download E2 first.. L2 will be your leftover. and so on.. You can see
that your leftover is different depend on what your first exclusive fragment
request order is.

Finally, you can further generalize it to: if you download E1, then E2, you
get L1_2...etc.




 Still, it would be much nicer if GWT could figure out what common code to
 put in an exclusive fragment that is guaranteed to be loaded before another
 (i.e. put code in W that is common to W1 and W2).


Like Ray described earlier. This is what I am working on right now.

What I found was: The process of what you described (optimizing fragments by
merging) is an NP-Complete problem. That means there is no general solution
for finding an optimal way to partition this.

What you are currently looking for is a hierarchy of leftover fragments. Ray
and I have been talking about this but it might take time to implement it.

I am not sure but I think manually cloning some of your common dependency
*might* solve your problem.

Let say your.class.A is needed in both split point X and Y. You can try
creating your.class.clone.A to be used in Y only. Now both should not be in
your leftover. Depending on your app, this might or might not be easy to do
thought.

-Alan





 --
 http://groups.google.com/**group/Google-Web-Toolkit-**Contributorshttp://groups.google.com/group/Google-Web-Toolkit-Contributors


-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] InProgressRequestContext Factory

2011-10-07 Thread Jeff Larsen
Do these classes only exist to test RequestFactory in jre mode or are they 
used for something else as well? 

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Re: [gwt-contrib] Re: More control over split point fragments

2011-10-07 Thread John Patterson

On 08/10/2011 01:56, Alan Leung wrote:



I don't really understand this point.  Smaller fragments are still
strongly cachable - there are just more download requests, no?  In
a multi-page app it is likely that most of the code in the left
overs fragment (used in other pages) will not be needed.

What Lex described was having N different leftover fragments. IE: if 
you download exclusive fragment E1 first, you'd have L1 as your 
leftoverIf you download E2 first.. L2 will be your leftover. and 
so on.. You can see that your leftover is different depend on what 
your first exclusive fragment request order is.


Thanks Alan, that makes perfect sense now why you would lose cachability 
with this form of splitting



Still, it would be much nicer if GWT could figure out what common
code to put in an exclusive fragment that is guaranteed to be
loaded before another (i.e. put code in W that is common to W1 and
W2).

What you are currently looking for is a hierarchy of leftover 
fragments. Ray and I have been talking about this but it might take 
time to implement it.


That sounds exactly like what I was looking for.  I'm sure its not easy



I am not sure but I think manually cloning some of your common 
dependency *might* solve your problem.


Yes, that will improve my most pressing problem for now.  Each page 
could have re-packaged versions of any shared classes.


Thanks again Alan and Ray!  I'm looking forward to getting my hands on 
some of this work as soon as its ready.


John

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors