Re: problem in storing and retreiving multi lingual data

2009-08-26 Thread Marcelo Emanoel B. Diniz

on eclipse you can change the encoding of your project... try it.. you
should always use only one encoding... for everything... or else you
end up with problems like this... try to set your project encoding to
utf-8 and see if it solve your problem :)

On Aug 27, 2:33 am, vasem want  wrote:
> Hi all,
>
> we are developing a multi lingual application which has
> oracle as the DB, the problem is that when user enters
> the data it is stored and retrieved as a junk data
> somehow somewhere the uni coding is being
> encoded by gwt or somewhere,
>
> we tried the same stuff through oracle forms and it is
> storing the multilingual data correctly (in this case we tried chinese)
>
> does anyone have a clue on this
>
> cheers
>
> vas
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Server communicating with Client

2009-08-26 Thread Arun

I have this situation where I want to make a RPC call when new data is
inserted into the database. I do not want to make a call to the server
every few seconds and see if there is new data. Is there anyway we can
make server hold the response until the data is changed??? Any help is
really 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
-~--~~~~--~~--~--~---



Build error of compile GWT Source Code

2009-08-26 Thread cobra

Hi all,

When I try to build the GWT Source Code in Eclipse IDE, here
is the error message.
I build the src by Ant to run build.xml, and I have check out
the file in trunk and tools folder.

Buildfile: G:\GWT Project\GWT\trunk\build.xml
build:
dev:
buildtools:
build:
ant-gwt:
compile:
build:
customchecks:
compile:
build:
doctool:
compile:
build:
-do:
build:
core:
compiler.standalone:
build.alldeps.jar:
build:

BUILD FAILED
G:\GWT Project\GWT\trunk\build.xml:105: The following error occurred
while executing this line:
G:\GWT Project\GWT\trunk\build.xml:27: The following error occurred
while executing this line:
G:\GWT Project\GWT\trunk\build.xml:58: The following error occurred
while executing this line:
G:\GWT Project\GWT\trunk\platforms.ant.xml:36: The following error
occurred while executing this line:
G:\GWT Project\GWT\trunk\platforms.ant.xml:13: The following error
occurred while executing this line:
G:\GWT Project\GWT\trunk\dev\core\build.xml:192: The following error
occurred while executing this line:
G:\GWT Project\GWT\trunk\common.ant.xml:270: Unable to launch command:
svn info

--~--~-~--~~~---~--~~
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 in storing and retreiving multi lingual data

2009-08-26 Thread vasem want
Hi all,

we are developing a multi lingual application which has
oracle as the DB, the problem is that when user enters
the data it is stored and retrieved as a junk data
somehow somewhere the uni coding is being
encoded by gwt or somewhere,

we tried the same stuff through oracle forms and it is
storing the multilingual data correctly (in this case we tried chinese)

does anyone have a clue on this

cheers

vas

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



static image - broken image

2009-08-26 Thread Marcos

Hello,

I have un app made with GWT/GAE Java Plugin.

In the main and unique html, I have this:

MyProyect.html
...
...



...
...


The image is in MyProyect/war/imgs/chatIcon.png

I deployed the proyect succesfully, but when I run my app in the
browser the image/link is broken.


Can anybody help me with this?

Thanks,
Marcos




--~--~-~--~~~---~--~~
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: Announcing the Google Plugin for Eclipse 1.1.0

2009-08-26 Thread branflake2267

It works awesome! Good job Google!

On Jul 30, 10:00 am, Miguel Méndez  wrote:
> Hi everyone,
>
> We wanted to let all of you know that the Google Plugin for Eclipse 1.1.0 is
> now available.  Some of the notable improvements are:
>
>    - Support for Eclipse 3.5 (Galileo)
>    - GWT RPC interface validation with quick fixes
>    - App Engine DataNucleus enhancer console no longer steals focus on save
>
> If you'd like more details on the contents of the release, please see
> the Release
> Notes .
>
> To get started right way, take a look at the installation
> instructions or
> just use the update site below that corresponds to your version of Eclipse.
>
>    - Eclipse 3.5 (Galileo) -http://dl.google.com/eclipse/plugin/3.5
>    - Eclipse 3.4 (Ganymede) -http://dl.google.com/eclipse/plugin/3.4
>    - Eclipse 3.3 (Europa) -http://dl.google.com/eclipse/plugin/3.3
>
> Cheers,
>
> Miguel, on behalf of the Google Plugin for Eclipse Team
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



In Need of Everett, WA, GWT Coder

2009-08-26 Thread branflake2267

Hi GWT folks,

I am looking for someone to hire that has gwt, java, mysql experience
for the company I work at in Everett, WA.

We are a contracting company that work for large corporations.

If anybody is interested please get in touch with me.

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



Re: Can GWT complier handle annotation with enum?

2009-08-26 Thread Dean S. Jones

this works for me:

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Condition
{
Type value() default Type.OPEN;

public enum Type
{
OPEN, CLOSED
};
}

then used:

@Condition()
public void doThing()
{
}

@Condition(Condition.Type.CLOSED)
public void doOtherThing()
{
}
--~--~-~--~~~---~--~~
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: Questions about more than one generators apply to one class

2009-08-26 Thread James

Hi, Dean

  Thank you very much for your reply, I'm very appreciate it.

  In my situation, it's looks like following:
  

  

  

  

  Then, I have a class implements these interfaces

  public class TestGenerator implements InterfaceA, InterfaceB{
  }

  Then what happend?
  In my case, GWT only invoke one generator for class "TestGenerator",
but I expect should two?

  The generator can apply to classes as well, but I don't care if it's
only apply to interfaces. both are fine for me.

  I noticed it's fine to call a generator from generator generated
code, but this request one generator need know other generator, it's
not good enough for design, how do you think?

Regards
James

On Aug 27, 12:35 pm, "Dean S. Jones"  wrote:
> first, Generators apply to interfaces, not classes, and yes, it's one
> generator per interface... you can choose a generator based on a
> property,
> like the DOMImpl interfaces:
>
> 
>     
>     
>   
>
> this may change your thinking:
>
> interfaces can extend other interfaces. A Generator can enumerate the
> inherited interfaces, and implement them as it sees fit.
>
> also, it's perfectly fine to call a Generator from Generator generated
> code, as in, you can generate the line:
>
> private Thing m_thing = GWT.create(Thing.class);
>
> and the secondary Generator will kick in when the m_thing is created.
--~--~-~--~~~---~--~~
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: Questions about more than one generators apply to one class

2009-08-26 Thread Dean S. Jones

first, Generators apply to interfaces, not classes, and yes, it's one
generator per interface... you can choose a generator based on a
property,
like the DOMImpl interfaces:




  

this may change your thinking:

interfaces can extend other interfaces. A Generator can enumerate the
inherited interfaces, and implement them as it sees fit.

also, it's perfectly fine to call a Generator from Generator generated
code, as in, you can generate the line:

private Thing m_thing = GWT.create(Thing.class);

and the secondary Generator will kick in when the m_thing is created.


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



fromLatLngToPixel() returns null

2009-08-26 Thread G

I am using GWT 1.5.3 with Google maps 1.0.4.

Basically, after adding map widget I am doing the following:

MercatorProjection  currProj = new MercatorProjection(16);
Point startPosXY    = currProj.fromLatLngToPixel(startPosLatLong,16);

startPosLatLong is the center of the map.

startPosXY is returning null. Can someone explain me why ?

Exception in hosted mode:
Expected primitive type int; actual value was undefined
--~--~-~--~~~---~--~~
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: 求助,无法在eclipse3.5中导入samples里的项目

2009-08-26 Thread James

Hi, Sumit, Thank you for your understand.
谢谢。

Cheers
Luo

On Aug 27, 8:56 am, Sumit Chandel  wrote:
> Hi all,
> While the group is primarily an English language group, there is no policy
> preventing anyone from posting in their native language if they have trouble
> expressing or communicating their issues in English. As mentioned
> previously, the machine translations can sometimes do a bad job in
> translating a message (although sometimes humourous), and might not allow
> the poster to correctly describe the issue they're facing. More often than
> not, there are other developers in the community who speak the same language
> that can reply back with some helpful information.
>
> That said, members who post here should try their best to post in English
> first and try to get their point across. If that fails, feel free to post in
> your native language. If posting in multiple languages ever starts affecting
> the usability of the forum for the majority of its community, we can always
> consider splitting out this group into multiple groups per language.
>
> Cheers,
> -Sumit Chandel
>
> 2009/8/26 Ian Bambury 
>
> > 2009/8/26 Roy 
>
> >> Is there a policy that no language other than English can be used in
> >> this group? If so, I would suggest Google auto inserting the
> >> translated English text below whatever language used.
>
> > It's an English language group, so 'yes'. If it were a free-for-all as far
> > as languages were concerned then it would become much less usable for
> > everyone.
>
> > Some people in the past have written in their own language with a machine
> > translation underneath. Answers have been given by English-speakers in
> > English, also with a machine translation back to the OP's language. That
> > seems to keep everyone happy and works quite well.
>
> > There's a story that 'To be, or not to be. That is the question.' was
> > translated into Japanese and then back to English and ended up as 'It is, it
> > isn't. Isn't it?' It's not a perfect science yet.
>
> > Ian
>
> >http://examples.roughian.com
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Questions about more than one generators apply to one class

2009-08-26 Thread James

Hi, Guys,

  I got a questions, what if I have more the one generators apply to
one class, I looked inside gwt codes, looks like it's only process one
generator.

  Any idea about this?

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



Re: Can GWT complier handle annotation with enum?

2009-08-26 Thread Alex Luya

Thank you,I did that,tried it again,but same problem.I think this not 
the matter with it.
Nathan Wells a écrit :
> You might need to set your @Target on your annotation. See more
> details here:
>
> http://java.sun.com/javase/6/docs/api/java/lang/annotation/Target.html
>
> On Aug 25, 8:38 pm, Alex Luya  wrote:
>   
>> As following,I want to use annotation:
>> ===
>> //define an annotation with enum
>> public @interface AnnotationTest
>> {
>> public enum Type{OTM};
>> long test() default 1;
>> Type type() Type.OTM;
>>
>> }
>>
>> ===
>> //use it
>> public class Model implements IsSerializable
>> {
>> @AnnotationTest()
>> long test;
>>
>> }
>>
>> ==
>> It works fine in host model,But when I try to compile into js,got this
>> error,
>> =
>> [ERROR]  The type com.ts.gwttest.server.AnnotationTest$Type cannot be
>> resolved. It is indirectly referenced from required .class files
>> [ERROR] An internal compiler exception occurred
>> com.google.gwt.dev.jjs.InternalCompilerException: Failed to get JNode
>> at com.google.gwt.dev.jjs.impl.TypeMap.get(TypeMap.java:75)
>> at
>> com.google.gwt.dev.jjs.impl.BuildTypeMap$BuildDeclMapVisitor.createField(Bu
>> ildTypeMap.java:353)
>> at
>> com.google.gwt.dev.jjs.impl.BuildTypeMap$BuildDeclMapVisitor.visit(BuildTyp
>> eMap.java:283)
>> at
>> org.eclipse.jdt.internal.compiler.ast.FieldDeclaration.traverse(FieldDeclar
>> ation.java:285)
>> at
>> org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.traverse(TypeDeclarat
>> ion.java:1230)
>> at
>> org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.traverse(C
>> ompilationUnitDeclaration.java:687)
>> at
>> com.google.gwt.dev.jjs.impl.BuildTypeMap.createPeersForNonTypeDecls(BuildTy
>> peMap.java:937)
>> at com.google.gwt.dev.jjs.impl.BuildTypeMap.exec(BuildTypeMap.java:927)
>> at
>> com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScript
>> Compiler.java:273)
>> at com.google.gwt.dev.Precompile.precompile(Precompile.java:300)
>> at com.google.gwt.dev.Compiler.run(Compiler.java:170)
>> at com.google.gwt.dev.HostedMode.compile(HostedMode.java:286)
>> at
>> com.google.gwt.dev.HostedModeBase$BrowserWidgetHostImpl.compile(HostedModeB
>> ase.java:191)
>> at
>> com.google.gwt.dev.shell.BrowserWidget$Toolbar.widgetSelected(BrowserWidget
>> .java:146)
>> at
>> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
>> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)
>> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3166)
>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2842)
>> at
>> com.google.gwt.dev.SwtHostedModeBase.processEvents(SwtHostedModeBase.java:2
>> 35)
>> at
>> com.google.gwt.dev.HostedModeBase.pumpEventLoop(HostedModeBase.java:558)
>> at com.google.gwt.dev.HostedModeBase.run(HostedModeBase.java:405)
>> at com.google.gwt.dev.HostedMode.main(HostedMode.java:232)
>> [ERROR] : (id=NoId)
>> public interface com.allen_sauer.gwt.log.client.LogMessageFormatter
>> extends java.lang.Object
>> /*   methods   */
>> public abstract java.lang.String format(java.lang.String, java.lang.String)
>> =
>> If eliminating "public enum Type{OTM}",it works,So doesn't GWT compile
>> support enum type in annotation?
>> 
> >
>
>   


--~--~-~--~~~---~--~~
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: Server-only functions

2009-08-26 Thread Christophe

On Aug 27, 12:42 am, Thomas Broyer  wrote:
> ...and those classes should generally be "DTOs" (a.k.a. "value
> objects") and thus shouldn't have any embedded logic (even less some
> logic that's only available on one side and not the other!)
> (otherwise, you would be doing someObject.save(callback), not
> myService.save(someObject, callback) !)

Well, no, actually. The example I really want to use was the "Command"
interface above. It would mainly allow me to keep the code interface
(to be used client-side) and the code itself would be in the same
class. Then I'd have a RemoteService where you can pass a "command"
and the server component simply calls commandfromclient.execute().
Something like this :

class SomeCommand {
  private SomeType param1;
  private SomeType param2;

  private SomeType returnval;

  public SomeCommand(some parameters) {
  }

  @ServerOnly
  public void execute() {
 // actually do what's requested, using all available server
resources
 // database updates, whatever
 returnval = someReturnVal;
  }

  // suggested at google I/O
  @ServerOnly
  public void undo() {
 ...
  }
}

Note that implementing this, using 3 classes instead of 1 was actually
suggested as good practice in the google I/O session "Google App
Architecture Best Practices" ( 
http://code.google.com/events/io/sessions/GoogleWebToolkitBestPractices.html
). Why do I need to implement 3 classes in order to do this ? In
addition to needing 3 classes, they also have to be located in
radically different parts of the application, despite the obvious
relationship. Why do I need an interface PER command ? That makes no
sense in the design, why should it be forced on me at implementation ?

JDO's wouldn't be that easy to implement even with this facility since
you need to keep state (like database references, transactions, ...),
and obviously state and serialization don't go all that well together.
It'd be useful though, but would still require major surgery.

The problem I'd like to deal with in this interface is that any code
that the client calls and is executed on the server requires modifying
at the very least 3 classes (and an xml file and a static declaration
in your "main" class if you wish to give it a different path for
clarity), that have radically different functions and locations. I
understand all 3 classes, and I agree all three have to exist, it's a
good design. But they're all "plumbing" classes, having nothing to do
with the application logic. It'd be great to have a way to have client-
side logic and server-side logic in the same class, clearly separated
by using annotations.

The reverse of this feature actually exists in the gwt javascript
compiler : making sure that some methods get translated to javascript,
no matter what. This feature is embedded in the compiler and is a
class-level annotation called @ArtificialRescue where you're supposed
to pass comma-separated lists of items to "rescue" : variables,
methods and something else. It is used extensively (though it seems
not very well documented)

If I were to create a patch that followed the @ArtificialRescue
principle but with a "@ServerOnly" annotation name that was valid on a
method and submitted it, do you think it has a chance of getting
accepted ?

Kind regards,

Christophe
--~--~-~--~~~---~--~~
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: Server-only functions

2009-08-26 Thread Thomas Broyer



On 26 août, 20:52, Christophe  wrote:
> I find the client-server distinction too coarse to work with. The
> strength of gwt is at least partly in the RPC mechanism and passing
> full classes.

...and those classes should generally be "DTOs" (a.k.a. "value
objects") and thus shouldn't have any embedded logic (even less some
logic that's only available on one side and not the other!)
(otherwise, you would be doing someObject.save(callback), not
myService.save(someObject, callback) !)

> I was therefore wondering. Isn't it possible to declare a specific
> function or inner class if that's easier to only be accessible on the
> server side ? I realize this poses all sorts of problems for variables
> and deciding whether or not something gets serialized, but I'd be most
> happy if the compiler just threw those problems in my face and
> expected me to fix them.

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

--~--~-~--~~~---~--~~
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: 求助,无法在eclipse3.5中导入samples里的项目

2009-08-26 Thread Sumit Chandel
Hi all,
While the group is primarily an English language group, there is no policy
preventing anyone from posting in their native language if they have trouble
expressing or communicating their issues in English. As mentioned
previously, the machine translations can sometimes do a bad job in
translating a message (although sometimes humourous), and might not allow
the poster to correctly describe the issue they're facing. More often than
not, there are other developers in the community who speak the same language
that can reply back with some helpful information.

That said, members who post here should try their best to post in English
first and try to get their point across. If that fails, feel free to post in
your native language. If posting in multiple languages ever starts affecting
the usability of the forum for the majority of its community, we can always
consider splitting out this group into multiple groups per language.

Cheers,
-Sumit Chandel

2009/8/26 Ian Bambury 

> 2009/8/26 Roy 
>
>>
>> Is there a policy that no language other than English can be used in
>> this group? If so, I would suggest Google auto inserting the
>> translated English text below whatever language used.
>
>
> It's an English language group, so 'yes'. If it were a free-for-all as far
> as languages were concerned then it would become much less usable for
> everyone.
>
> Some people in the past have written in their own language with a machine
> translation underneath. Answers have been given by English-speakers in
> English, also with a machine translation back to the OP's language. That
> seems to keep everyone happy and works quite well.
>
> There's a story that 'To be, or not to be. That is the question.' was
> translated into Japanese and then back to English and ended up as 'It is, it
> isn't. Isn't it?' It's not a perfect science yet.
>
>
> Ian
>
> http://examples.roughian.com
>
> >
>

--~--~-~--~~~---~--~~
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,O3d, Servlets & Database‏

2009-08-26 Thread Jupiter

Hello Everybody,
I know little about GWT & O3d.I want to develop a website which has a
3d interface.On clicking any of the objects  and changing its
properties the corresponding changes must be reflected in the
database.So what I want to know is :

1)Does GWT support O3d?
2)Is it possible to make an object in the o3d a sort of hyperlink to 2
dimensional content?
3)Is o3d and servlets connection possible?
4)Does GWT support 3 dimensional content?If so are there any sources
on the net from which I can learn from?

I would be forever obliged to anyone who can answer these
questions : )
Also if what I am trying to do is not feasible according to you please
tell me why.

Thanks and best wishes

--~--~-~--~~~---~--~~
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: Problem deploying with Firefox/Chrome

2009-08-26 Thread Jason

Having same problem here but I don't think its related to the
RequestBuilder.

On Aug 26, 11:20 am, Rahul  wrote:
> Hi,
> There are few posts with problems with firefox but i was not able to
> find a solution reading those so i am having a new post.
> My code runs fine on IE but it fails on Firefox/Chrome.
> I am using RequestBuilder to parse some xml files and showing them as
> labels on my UI.
>
> The UI is build perfectly wit IE but not with Firefox/Chrome
> I am believing that it gets an null response received with
> RequestBuilder with firefox/chrome.
> any idea whats causing this problem and how to solve it

--~--~-~--~~~---~--~~
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: Debugging GWT App in Eclipse

2009-08-26 Thread Cornelius

Zeng, you are correct, update 16 does fix the problem. I had the same
problem and installed the latest version (JDK 1.6.0_16) and it is now
fixed. One of the bugs fixed in 1.6.0_16 is that breakpoints were not
working.

-www.chrisnovak.com

On Aug 13, 10:56 pm, Zeng Wei  wrote:
> Thanks for your good discussion. It's just the solution I'm looking
> for.
> My problem is similar to you: grade up to JDK 1.6.0_15 then debugger
> doesnotwork.
> It seems that Update 16 is also available now. I wonder if it has been
> fixed in that version. So I'll have a try a little later.
>
> Daniel Happy
>
> On 7月27日, 下午6时30分, CI-CUBE  wrote:
>
>
>
> > I can confirm that after a downgrade to JDK 1.6.0_13 the debugger is
> >working. Crazy IT world isn't?
>
> > Thx for the information anyway.
>
> >Ekki
>
> > On Jul 27, 8:48 am, Paul Robinson  wrote:
>
> > > There's a bug in JDK 1.6.0_14 that does this, so check what version of
> > > java you are using. The workaround is to downgrade to JDK 1.6.0_13
>
> > > Howard Tan wrote:
> > > > Hi Ekki,
>
> > > > Did you get this to work on your office computer? I'm experiencing the
> > > > same problem, and just like to get this to work.
>
> > > > Thanks,
> > > > Howard
>
> > > > On Jul 24, 12:25 pm, CI-CUBE  wrote:
>
> > > >> Thx. I did setup an identical configuration on my home machine, which
> > > >> works as expected. Even the breakpoint window appears. So, hopefully,
> > > >> I can manage to get it running on the office machine too.
>
> > > >> Thread over for now. Thx again
>
> > > >>Ekki
>
> > > >> On Jul 24, 8:59 pm, Sean  wrote:
>
> > > >>> Make sure you'renotjust hitting run in Eclipse, hitDebug. It'll
> > > >>> look like the little bug next to the play button in Eclipse.
>
> > > >>> Breakpoint window usually only shows up when in theDebugView. You
> > > >>> can add it to the normal java view (I personally do) by: Window ->
> > > >>> Show View -> Other. Find the +Debug, expand it, selectbreakpoints.
> > > >>> And now you can move that tab where you see fit.
>
> > > >>> On Jul 24, 10:30 am, CI-CUBE  wrote:
>
> > >  Hi...
>
> > >  I'm in theGettingStartedTutorial example, everything works so far,
> > >  but I'm unable todebug(Step 6). It always runs thru the code
> > >  ignoring mybreakpoints. BTW, if I create a breakpoint there isn't a
> > >  breakpoint window where that one appears (like shown in the Tutorial)
>
> > >  I tried both values for the 'Run built-in Server' setting - no
> > >  difference.
>
> > >  BTW, the app always appears in Hosted Mode. Where's the option to run
> > >  it in the system browser, if any?
>
> > >  I'm running App Engine 1.2.1, GWT 1.6.4, Eclipse 3.4.2, Firefox 
> > >  3.0.12
>
> > >  If this is the wrong place to ask something like that, where should I
> > >  go?
>
> > >  Thx ia,
>
> > > Ekki

--~--~-~--~~~---~--~~
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: Announcing the Google Plugin for Eclipse 1.1.0

2009-08-26 Thread Cornelius

I had the same problem and installed the latest version (JDK 1.6.0_16)
and it is now fixed. One of the bugs fixed in 1.6.0_16 is that
breakpoints were not working.

On Aug 26, 11:39 am, Shavkat S  wrote:
> Hi everyone!
> I've installed
> eclipse-jee-galileo-win32.zip
> gwt-windows-1.7.0.zip
>
> and I am going through the "Getting started" tutorial for GWT (http://
> code.google.com/webtoolkit/tutorials/1.6/debug.html)
> Everything works just fine until I get the Step 6: Debugging a GWT
> Application.
>
> Execution of the GWT application doesn't stop at thebreakpointsthat
> I set in Eclipse.
> At the same time it works non-GWT applications.
>
> I am new to GWT and Eclipse so I can miss something.
> Do I need to do something specific for GWT application to debug it in
> Eclipse?
>
> 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
-~--~~~~--~~--~--~---



GWT 1.5 Plugin - Can I still get it?

2009-08-26 Thread Hiedi

I made the mistake of updating my GWT eclipse plugin whie prototyping
a 1.7 upgrade path and now I can't run anything that has the 1.5 SDK
in hosted mode. Does anyone know how to get around that - or how to
get a copy of the old google plugin??

Thanks,
Hiedi
--~--~-~--~~~---~--~~
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: hosted mode stucks, debugger does not work...

2009-08-26 Thread Cornelius

You can now install the latest version (JDK 1.6.0_16) and it is now
fixed. One of the bugs fixed in 1.6.0_16 is that breakpoints were not
working.

On Jul 24, 3:28 am, Paul Robinson  wrote:
> Check which version of the JDK you have. There's a bug in 1.6.0_14 that
> prevents debuggerbreakpointsfromworking. If you are using that
> version, then you should downgrade to 1.6.0_13
>
>
>
> Jaimon wrote:
> > hi all,
> > i am new to the GWT world, i have started to do the tutorial
> > (StockWatcher) and everything wasworkingwell and pretty easy till i
> > got to the point of where:
>
> > 1) my hosted mode sometimes starts but show an empty page, it is stuck
> > on connecting to 127.0.0.1
> > 2) the debugger doesnotwork any more, meaning i am putting a break
> > point in the code but the hosted mode ignores it.
>
> > any help, and good tutorial on how to work with php whould be really
> > appreciated
> > me :)

--~--~-~--~~~---~--~~
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: How to set Font style for full application

2009-08-26 Thread Alexander Cherednichenko

Simply, style entries from the class (.gwt-label, for example) are
more important for the html renderer than element-related one.
So, what you could do is to replace style declarations from the
public.css with your own.

Also, if you're specifying fonts, be sure not to forget about fallback
ones. So, if you'd like to make a style with Times font, you should
see something similar to following:

.gwt-Label {
   font-family: Times, arial, sans-serif;
   
}

if the client's system does not have Times  font installed, it would
use arial, if no arial - any of the sans-serif fonts.

On Aug 25, 10:18 am, Parvez Shah  wrote:
> I am sorry I was not clear in stating my problem.
> I did set the css property . i tried setting in the body
>
> body{
>
> }
>
> i tried setting in the EntryPoint class
> in my application EntryPoint load the main panel and main panel hold
> all the other subsequent widgets.
> I tried to set it in main panel.
> only things which works is setting font style for each individual
> widget. I find that to be bit wrong as  I am sure there is a neat way
> to do it in some common place, not sure where that place is.
>
> On Aug 25, 6:37 pm, (श्री) GNU Yoga  wrote:
>
> > parvez,
>
> > On Aug 25, 5:23 pm, Parvez Shah  wrote:
>
> > > Hello,
> > >  is there a way to set Font style for complete application, I tried
> > > setting the font in the Main.html but to no avail
>
> > you will have to set it in the CSS (under public folder) and it should
> > work
>
> > refer:http://lkamal.blogspot.com/2007/08/add-css-style-for-gwt-widgets.html
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
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 list items from a data base

2009-08-26 Thread tedpottel

Hi,
I'm starting to program in GWT.  I wrote a program to recive  email
informtion I have stored in a database.  I would like to display the
informtion so each row reprsents a record in the database with a dlete
button next to it. so it looks like
[del]  fred f...@gmail.com
[del]  tom  y...@yahoo.com
  ..
 ..
Would the best way to do this to dymcally create buttons and lables?
- Ted
--~--~-~--~~~---~--~~
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: Solution to GWT hosted mode not working in debug mode in eclipse

2009-08-26 Thread Cornelius

I had the same problem and installed the latest version (JDK 1.6.0_16)
and it is now fixed. One of the bugs fixed in 1.6.0_16 is that
breakpoints were not working.

On Jul 22, 11:26 am, Ralph  wrote:
> I figured this might be useful to someone. If you are experiencing a
> deadlock (notresponding) in GWT 1.5 hosted mode specifically in
> eclipse debug mode andnotin run mode, make sure that you didnotset
> any methodbreakpoints(as opposed to a line breakpoint).
>
> Ralph

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



Plugin-based application built with GWT ?

2009-08-26 Thread gjoseph

Hi all,

I was wondering if anyone had pointers, ideas, examples, or anything
that could help clarify if writing a GWT-based application that would
also be based on plugins, where said plugins would consist of client-
side code (i.e gwt modules) AND server-side components... is at all
possible. These plugins can be added/updated/removed from the app,
much like osgi allows one to do with bundles.

At the moment I can't quite picture yet how to build and deploy this
sort of application (without having each plugin re-embedding the whole
of the application client code itself), especially if we're talking
dynamic (at runtime) (un/)loading of said plugins. The one way we're
sort-of considering at the moment would be to actually use the
compiler in our app (!), when plugins are added/updated/removed. That
doesn't seem like the most optimal and elegant approach ;)

I am looking into wrapper types, custom linkers, ... but it's still a
bit blurry how it all would fit together... so if anybody has any
pointer or thoughts about this subject, that would be much
appreciated !

Cheers,

-greg

--~--~-~--~~~---~--~~
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: Announcing the Google Plugin for Eclipse 1.1.0

2009-08-26 Thread David C. Hicks

Thanks, Paul.  That explains it.  The guy that originally got us going
on GWT is developing on a Mac.  :-)

Paul Robinson wrote:
> The 'Getting Started' page says you have to use Java5 if you want to use
> hosted mode and you're on a mac.
>
> I believe that if you're not developing on a mac (or if you are on a mac
> and you use gwt's trunk and OOPHM) then you can use java 6.
>
> http://code.google.com/webtoolkit/gettingstarted.html
>
> David C. Hicks wrote:
>   
>> I was under the impression that GWT would not work with Java6, anyway. 
>> Did I misinterpret something?  We actually backed ourselves to Java5 for
>> compliance.
>>
>> Paul Robinson wrote:
>>   
>> 
>>> There's a bug in JDK 1.6.0_14 which causes breakpoints not to work.
>>> Check which JDK version you have. 1.6.0_16 is out and allegedly fixes
>>> this bug.
>>>
>>>   
>>> 
>>>   
>
> >
>   

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



Server-only functions

2009-08-26 Thread Christophe

I find the client-server distinction too coarse to work with. The
strength of gwt is at least partly in the RPC mechanism and passing
full classes.

I was therefore wondering. Isn't it possible to declare a specific
function or inner class if that's easier to only be accessible on the
server side ? I realize this poses all sorts of problems for variables
and deciding whether or not something gets serialized, but I'd be most
happy if the compiler just threw those problems in my face and
expected me to fix them.

I realize server-side there can be only one class definition. But I'd
like to "opt-out" of translating compiling specific functions, and
just get an error message if that function is used by any client code.

What I'm really looking for is something like this, and this would be
an example usage :

class getServerTimeCommand implements Command {
  Date d;

  @ServerOnly
  public void execute() {
 d = new Date();
  }

  // whoops no ServerOnly, yet calls a ServerOnly function
  public void doItAnyway() {
 execute(); // ERROR, attempting to call serverside code from
within client code
  }
}

Is it possible to do something like this ? If not, would it be
possible to implement it ? It would be extremely handy for reducing
the number of classes needed in RPC. I basically want the ability to
say about certain class members "please don't serialize this".

I realize that for certain data fields you have problems, since not
passing them to the client side requires keeping track of references,
however I think you can avoid that problem by allowing only functions
to do this. This would also enormously simplify the usage of various
java tools both server- and client-side.

Christophe
--
"Flying is simply learning how to throw yourself at the ground and
miss." - Douglas Adams

--~--~-~--~~~---~--~~
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: why xml manipulations fails on server

2009-08-26 Thread Rahul

Hi,
Thanks for your help
I got that issue solved


On Aug 26, 2:47 am, Manuel Carrasco Moñino
 wrote:
> could you send a piece of your code and the error stack?
>
> On Tue, Aug 25, 2009 at 7:07 PM, Rahul  wrote:
>
> > Hi,
> > Thanks for replying
> > I am using import org.w3c.dom.Document;
> > for creation of an document and its failing
>
> > On Aug 25, 12:28 pm, Manuel Carrasco Moñino
> >  wrote:
> > > I don't know which library are you using in server side, but If you are
> > > using gwt xml manipulation classes in server side they don't work because
> > > they uses browser's native methods.
>
> > > Manolo Carrasco
>
> > > On Tue, Aug 25, 2009 at 4:56 PM, Rahul  wrote:
>
> > > > Hi,
> > > > I am getting an xml document as string from my client to the server.
> > > > On the server i want to declare a document and want to manipulate the
> > > > contents from the client, but whenever i am using Document or
> > > > XMLParser, my server code fails?
>
> > > > Does anyone knows the reason why any xml manipulations are failing on
> > > > the server side?
>
> > > > Sincerely,
> > > > Rahul
--~--~-~--~~~---~--~~
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 1.6 eclipse plugin

2009-08-26 Thread philipmac

sorry, details;
using 32bit java 6 from sun, Linux, Eclipse Galileo, and GWT 1.7.


--~--~-~--~~~---~--~~
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: Announcing the Google Plugin for Eclipse 1.1.0

2009-08-26 Thread Jeff Chimene

On 08/26/2009 12:09 PM, Jeff Chimene wrote:
> On 08/26/2009 11:04 AM, David C. Hicks wrote:
>>
>> I was under the impression that GWT would not work with Java6, anyway. 
>> Did I misinterpret something?  We actually backed ourselves to Java5 for
>> compliance.
> 
> Java6 other than the .0_13 point release is fine. Remember that GWT only
> emulates a subset of the JRE; Java5 vs. Java6 may not be much of an
> issue for your application.

Obviously, I meant .0_14, not .0_13.

>> Paul Robinson wrote:
>>> There's a bug in JDK 1.6.0_14 which causes breakpoints not to work.
>>> Check which JDK version you have. 1.6.0_16 is out and allegedly fixes
>>> this bug.


--~--~-~--~~~---~--~~
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: Announcing the Google Plugin for Eclipse 1.1.0

2009-08-26 Thread Paul Robinson

The 'Getting Started' page says you have to use Java5 if you want to use
hosted mode and you're on a mac.

I believe that if you're not developing on a mac (or if you are on a mac
and you use gwt's trunk and OOPHM) then you can use java 6.

http://code.google.com/webtoolkit/gettingstarted.html

David C. Hicks wrote:
> I was under the impression that GWT would not work with Java6, anyway. 
> Did I misinterpret something?  We actually backed ourselves to Java5 for
> compliance.
>
> Paul Robinson wrote:
>   
>> There's a bug in JDK 1.6.0_14 which causes breakpoints not to work.
>> Check which JDK version you have. 1.6.0_16 is out and allegedly fixes
>> this bug.
>>
>>   
>> 

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



AbstractImagePrototype v/s ImageResource - what's the direction?

2009-08-26 Thread Sri

I am experimenting with UiBinder to build the UI in a declarative
manner.

UiBinder seems to prefer the ClientBundle and ImageResource interface;
whereas all GWT documentation on the wiki indicate that we should be
using an ImageBundle with AbstractImagePrototype.

Going through GWTs sourcecode, I see that ImageResource provides
functionality similar to that of AbstractImagePrototype (combining
multiple images into 1 using the data: url scheme).

All this leaves me a bit confused - which paradigm should I be using?

thanks!
--sri
--~--~-~--~~~---~--~~
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 1.6 eclipse plugin

2009-08-26 Thread philipmac

Hey,

I am trying to get the gwt1.6 Sample Gilead application (http://
sourceforge.net/projects/gilead/files/) up and running.

It seems that I need to have the GWT1.6 plugin to use this, where can
I find this?


The reason I think that this is the error is because when I open the
project in eclipse, manually imported the GWT stuff via Build Path ->
Add Library, ->Add GWT stuff and App engine stuff.

Yet when I try to GWT compile it, it tells me that it is not a GWT
app.  Also in the GWT Compile popup it seems to not know where the
entry point is, even though the entry point is defined in the
Sample.gwt.xml file, as per all GWT projects.

I am hoping that if I can use the GWT for which the Gilead proj was
created, these problems will go away.

--~--~-~--~~~---~--~~
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: Announcing the Google Plugin for Eclipse 1.1.0

2009-08-26 Thread Jeff Chimene

On 08/26/2009 11:04 AM, David C. Hicks wrote:
> 
> I was under the impression that GWT would not work with Java6, anyway. 
> Did I misinterpret something?  We actually backed ourselves to Java5 for
> compliance.

Java6 other than the .0_13 point release is fine. Remember that GWT only
emulates a subset of the JRE; Java5 vs. Java6 may not be much of an
issue for your application.

> Paul Robinson wrote:
>> There's a bug in JDK 1.6.0_14 which causes breakpoints not to work.
>> Check which JDK version you have. 1.6.0_16 is out and allegedly fixes
>> this bug.

--~--~-~--~~~---~--~~
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: Drawing Lines

2009-08-26 Thread GTM

Any help with this error?

On Aug 25, 6:36 pm, GTM  wrote:
> Thanks.
>
> Am I allowed to use the code?
>
> I am trying to use it and I get this error:
> [ERROR] Line 49: No source code is available for type
> pl.balon.gwt.diagrams.client.connector.UIObjectConnector; did you
> forget to inherit a required module?
>
> On Aug 25, 4:58 am, (श्री) GNU Yoga  wrote:
>
>
>
> > hi
>
> > On Aug 25, 6:06 am, GTM  wrote:
>
> > > I was wondering if there was any option to allow a user to draw lines.
> > > Basically, I would a bunch of icons to appear on the screen. The user
> > > would be able to draw lines to connect two of these icons to show a
> > > connection.
>
> > perhaps u can look at gwt-diagramshttp://code.google.com/p/gwt-diagrams/
--~--~-~--~~~---~--~~
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 HandleManager model

2009-08-26 Thread Thomas Broyer



On 26 août, 16:46, WardLoockx  wrote:
> Hello,
>
> I'm very new to GWT and having some questions about the event system.
>
> What I wan't to do is fire events when my async calls are executed so
> I can listen to this events to update the UI.

Have you looked at Ray Ryan's session at Google I/O ?
http://code.google.com/events/io/sessions/GoogleWebToolkitBestPractices.html

I believe some of the code samples (download the slides, they're much
more usable than the video ;-) ) would answer your questions.

> my questions:
>
> - Can I create event on the fly ? with just a type name (so I can
> listen on that type of event)

Could you explain what you mean by "type name"? Also, which kind of
events would you like to create? I need some more context to
understand the question...

> - public HandlerManager(java.lang.Object source) you supply an object
> to the constructor, isn't it just one bus /    application ?

HandlerManager is what manages the events within widgets too. For, for
instance, someClickEvent.getSource() to be the Button widget you just
clicked, the HandlerManager backing the Button's event handling needs
a reference to the button instance.
...but there are many cases where you don't need a source (such as
when using HandlerManager as an event bus), in those cases, just use
'null'.
(note: History also uses a HandlerManager, and it uses a 'null'
source, so ValueChangeEvent#getSource() in your
ValueChangeHandler will return null)

> - Can I use event bubbling?

Er, at which level? bubbling from which point to which point? If you
mean "in a custom widget, can I register a clickhandler to be notified
whenever a child DOM element is clicked?" then yes, because click
events bubble on the DOM:
http://code.google.com/webtoolkit/doc/1.6/FAQ_UI.html#How_can_I_efficiently_handle_events_from_many_interior_Widgets?


--~--~-~--~~~---~--~~
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: Announcing the Google Plugin for Eclipse 1.1.0

2009-08-26 Thread David C. Hicks

I was under the impression that GWT would not work with Java6, anyway. 
Did I misinterpret something?  We actually backed ourselves to Java5 for
compliance.

Paul Robinson wrote:
> There's a bug in JDK 1.6.0_14 which causes breakpoints not to work.
> Check which JDK version you have. 1.6.0_16 is out and allegedly fixes
> this bug.
>
>   

--~--~-~--~~~---~--~~
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: Errors with SimpleViz.gwt.xml

2009-08-26 Thread Vamshi

Sorry to ask such a naive question. Where and how do we set class
path? I've the gwt-visualization.jar in c:\gwt-visualization\

Thanks much!

On Jul 15, 1:41 pm, Eric Ayers  wrote:
> Check your classpath and make sure that gwt-visualization.jar is on it.
>
>
>
> On Wed, Jul 15, 2009 at 4:18 AM, akvarelli wrote:
>
> > Hi,
>
> > I'm trying to follow the instructions here:
> >http://code.google.com/docreader/#p=gwt-google-apis&s=gwt-google-apis...
>
> > When I add the line
> > 
> > to my SimpleViz.gwt.xml file and then try to run the project in
> > Eclipse, I get the following error messages:
>
> > [DEBUG] Bootstrap link for command-line module
> > 'fi.jyu.simpleviz.SimpleViz'
> > [TRACE] Loading module 'fi.jyu.simpleviz.SimpleViz'
> > [TRACE] Loading inherited module
> > 'com.google.gwt.visualization.Visualization'
> > [ERROR] Unable to find 'com/google/gwt/visualization/
> > Visualization.gwt.xml' on your classpath; could be a typo, or maybe
> > you forgot to include a classpath entry for source?
> > [ERROR] Line 15: Unexpected exception while processing element
> > 'inherits'
> > [ERROR] Failure while parsing XML
>
> > If I remove the line  > name='com.google.gwt.visualization.Visualization'/> from xml-file, the
> > problem disappears and the project runs just fine.
>
> > User "saranparis" seemed to have almost the same problem, see
> >http://code.google.com/p/gwt-google-apis/issues/detail?id=225#c8and
> > comment number 7 there. But I'm having this problem with Eclipse.
>
> --
> Eric Z. Ayers - GWT Team - Atlanta, GA USAhttp://code.google.com/webtoolkit/

--~--~-~--~~~---~--~~
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: Announcing the Google Plugin for Eclipse 1.1.0

2009-08-26 Thread Paul Robinson

There's a bug in JDK 1.6.0_14 which causes breakpoints not to work.
Check which JDK version you have. 1.6.0_16 is out and allegedly fixes
this bug.

Shavkat S wrote:
> Hi everyone!
> I've installed
> eclipse-jee-galileo-win32.zip
> gwt-windows-1.7.0.zip
>
> and I am going through the "Getting started" tutorial for GWT (http://
> code.google.com/webtoolkit/tutorials/1.6/debug.html)
> Everything works just fine until I get the Step 6: Debugging a GWT
> Application.
>
> Execution of the GWT application doesn't stop at the breakpoints that
> I set in Eclipse.
> At the same time it works non-GWT applications.
>
> I am new to GWT and Eclipse so I can miss something.
> Do I need to do something specific for GWT application to debug it in
> Eclipse?
>
> Thanks!
>
> >
>
>   

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



Re: How to set Font style for full application

2009-08-26 Thread jhulford

Otherwise, if you only really want to change the font and not bother
w/ copying the GWT css, just use the "!important" CSS declaration in
your host page:

body {
font-family: "Times-New Roman" !important;
}

In the interest of being overly pedantic, Times is a proprietary font
generally only found on Windows machines so your page is going to look/
render differently on other OS's.

On Aug 26, 6:50 am, Brian Dorry  wrote:
> Parves, I had a similar issue to yours. What I did was copy the
> stylesheet for the theme I was using, removed the theme declaration
> from the entry point, and referenced the copied stylesheet manually.
> This let me make the GWT styles load before my own set of styles.
>
> On Aug 25, 8:23 am, Parvez Shah  wrote:
>
> > Hello,
> >  is there a way to set Font style for complete application, I tried
> > setting the font in the Main.html but to no avail
> > i am trying to set font style "Time new roman" size 16
> > but just cant get it done .. i searched in  the samples but there also
> > I could not find any example which does so.
--~--~-~--~~~---~--~~
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 deploying with Firefox/Chrome

2009-08-26 Thread Rahul

Hi,
There are few posts with problems with firefox but i was not able to
find a solution reading those so i am having a new post.
My code runs fine on IE but it fails on Firefox/Chrome.
I am using RequestBuilder to parse some xml files and showing them as
labels on my UI.

The UI is build perfectly wit IE but not with Firefox/Chrome
I am believing that it gets an null response received with
RequestBuilder with firefox/chrome.
any idea whats causing this problem and how to solve it

--~--~-~--~~~---~--~~
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: Announcing the Google Plugin for Eclipse 1.1.0

2009-08-26 Thread Shavkat S


Hi everyone!
I've installed
eclipse-jee-galileo-win32.zip
gwt-windows-1.7.0.zip

and I am going through the "Getting started" tutorial for GWT (http://
code.google.com/webtoolkit/tutorials/1.6/debug.html)
Everything works just fine until I get the Step 6: Debugging a GWT
Application.

Execution of the GWT application doesn't stop at the breakpoints that
I set in Eclipse.
At the same time it works non-GWT applications.

I am new to GWT and Eclipse so I can miss something.
Do I need to do something specific for GWT application to debug it in
Eclipse?

Thanks!

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



Re: com.google.gwt.dom.client.Element method getPropertyInt not working? Is it a bug?

2009-08-26 Thread David

Hi,

You might want to try getAttribute instead of getPropertyInt.

David

On Tue, Aug 25, 2009 at 7:45 PM,
myapplicationquestions wrote:
>
> Hi All,
>
> I am developing a widget which has an hyperlink as given below
>
> TEST1  a>
>
> In onPreviewNativeEvent i have the following code snippet
>
>
>   if (event.getTypeInt() == Event.ONCLICK)
>
>   {
>      Element loElement = Element.as(loTarget);
>      if(loElement.getTagName().equalsIgnoreCase("A"))
>      {
>        // Window.alert(" in here1 ");
>         String lsId = loElement.getId();
>         int liRowNumber = loElement.getPropertyInt("rownum");
>
>         Window.alert(" in here1 "+liRowNumber+"-->"+loElement.getId()
> +"-->"+lsId+"-->"+loElement.getString());
>
>
>
>
> The alert is always giving me liRowNumber as 0 even though its 20...
> the loeElement.getString shows the cirrect anchor tag where rownum is
> 20...does any one know what i am doing wrong or if it is a bug?
>
> Thanks,
> Parag
> >
>

--~--~-~--~~~---~--~~
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: Developing Google Gadget with Eclipse GWT plugin

2009-08-26 Thread Rajeev Dayal
Hey Luca,
Thanks for posting this link. I'm sure that this information will be helpful
to many developers.


Thanks,
Rajeev

On Wed, Aug 26, 2009 at 9:58 AM, Luca Masini  wrote:

>
> I posted this on the Google Gadget Group (I think that is the rigth
> one), but in case someone of you is interested  I wrote some notes on
> how to use the Eclipse Plugin to develop Google Gadgets that are
> hosted on GAE
>
>
> http://www.lucamasini.net/Home/gwt/google-app-engine/developing-googl...
>
> Hope this can help.
> Ciao.
> >
>

--~--~-~--~~~---~--~~
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: (SyntaxError): Expected ';' on Overlay type

2009-08-26 Thread Jason Essington

yeah, try:

return eval('('+json+')');


On Aug 26, 2009, at 8:24 AM, r4nd wrote:

>
> Hi, I am new at working with overlay type and JSON
>
> I have a JSON string,
>
> {"enableCompose":true}
>
> and I have a overlay type
>
> import com.google.gwt.core.client.JavaScriptObject;
> public class Config extends JavaScriptObject {
>   public static final native Config fromJson(String json) /*-{
>  return eval(json);
>   }-*/;
>
>   protected Config() {
>   }
>
>   public final native boolean getEnableCompose() /*-{ return
> this.enableCompose; }-*/;
> }
>
> When I call Config.fromJson and pass in the string.  I get the
> following exception.
>
> com.google.gwt.core.client.JavaScriptException: (SyntaxError):
> Expected ';'
> number: -2146827284
> description: Expected ';'
>
> I am not sure where ';' is expected.  Any help is 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: How can I get Image from ImageBundle by String?

2009-08-26 Thread Dean S. Jones

Actually, I decided to write a Generator for this, being curious

You would have an ImageBundle

public interface IconsImageBundle extends ImageBundle
{
  @Resource("save.gif")
  public AbstractImagePrototype saveIcon();
}

Second you would have an ImageBundleMap

public interface IconsImageBundleMap extends ImageBundleMap,
IconsImageBundle
{
}

IconsImageBundle icons = GWT.create(IconsImageBundle.class);

Then is can be used BOTH ways:

AbstractImagePrototype save = icons.getByName("saveIcon"); // this CAN
return NULL.

or

AbstractImagePrototype save = icons.saveIcon();

also you can get the collection underneath:

Map list = icons.getImageMap();

Also, you can implement MULTIPLE ImageBundles and it coalesces them:

public interface ApplicationImageBundleMap extends ImageBundleMap,
IconsImageBundle, LogosImageBundle, ActionsImageBundle
{
}

If anyone is interested, drop me a line.

On Aug 24, 10:40 pm, "Dean S. Jones"  wrote:
> There is no easy way to do this, Reflection is not supported in GWT.
> The only thing "GWT'ish" I can think of is wrapping theImageBundlein
> some Interface makes a Map from a GWT
> "Generator"
>
> Thats a bit too much trouble for a few ImageBundles, so I just created
> class with a Map of that
> creates the AbstractImagePrototype lazily(via a factory), and
> optionally caches the results.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



(SyntaxError): Expected ';' on Overlay type

2009-08-26 Thread r4nd

Hi, I am new at working with overlay type and JSON

I have a JSON string,

{"enableCompose":true}

and I have a overlay type

import com.google.gwt.core.client.JavaScriptObject;
public class Config extends JavaScriptObject {
public static final native Config fromJson(String json) /*-{
   return eval(json);
}-*/;

protected Config() {
}

public final native boolean getEnableCompose() /*-{ return
this.enableCompose; }-*/;
}

When I call Config.fromJson and pass in the string.  I get the
following exception.

com.google.gwt.core.client.JavaScriptException: (SyntaxError):
Expected ';'
 number: -2146827284
 description: Expected ';'

I am not sure where ';' is expected.  Any help is 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
-~--~~~~--~~--~--~---



How import this package ... com.google.gwt.sample.showcase.client.content.

2009-08-26 Thread mahrshi

hi all,
i have latest gwt plugins in my eclipse .. but when i am trying to
import com.google.gwt.sample.showcase.client.content. this package
then erroe is erroed that this package can not be resolved ...

how i remove this error ??

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



File.createTempFile doesnt work with GWT 1.7.0 hosted mode in windows

2009-08-26 Thread villagra

Hi all,
 I'm having problems creating temp files with the latest version of
GWT on windows, when i execute this line:

File test = File.createTempFile("sdas", "dasda");

I get this exception:

access: access denied (java.io.FilePermission C:\Users\XX\AppData
\Local\Temp\sdas8466974245945628503dasda write)

Do i have to configure some staff for jetty? Any help?
Thanks.

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



Re: How can I get Image from ImageBundle by String?

2009-08-26 Thread Dean S. Jones

Actually, I decided to write a Generator for this, being curious

You would have an ImageBundle

public interface IconsImageBundle extends ImageBundle
{
  @Resource("save.gif")
  public AbstractImagePrototype saveIcon();

}

Second you would have an ImageBundleMap

public interface IconsImageBundleMap extends
ImageBundleMap,IconsImageBundle
{

}

IconsImageBundleMap icons = GWT.create(IconsImageBundleMap.class);

Then is can be used BOTH ways:

AbstractImagePrototype save = icons.getByName("saveIcon"); // this CAN
return NULL.

or

AbstractImagePrototype save = icons.saveIcon();

also you can get the collection underneath:

Map list = icons.getImageMap();

Also, you can implement MULTIPLE ImageBundles and it coalesces them:

public interface ApplicationImageBundleMap extends ImageBundleMap,
IconsImageBundle, LogosImageBundle, ActionsImageBundle
{

}

On Aug 24, 10:40 pm, "Dean S. Jones"  wrote:
> There is no easy way to do this, Reflection is not supported in GWT.
> The only thing "GWT'ish" I can think of is wrapping theImageBundlein
> some Interface makes a Map from a GWT
> "Generator"
>
> Thats a bit too much trouble for a few ImageBundles, so I just created
> class with a Map of that
> creates the AbstractImagePrototype lazily(via a factory), and
> optionally caches the results.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Inheritance problem with

2009-08-26 Thread Damien Picard
Hi,

I'm trying to use MD5KeyGenerator. I've had the inherits tag in the
App.gwt.xml as is :

And i've define a locale :


But I get this error message :
 No source code is available for type
com.google.gwt.i18n.rebind.keygen.MD5KeyGenerator; did you forget to inherit
a required module?

Where I'm wrong ?

Thank you


-- 
Damien Picard
Open Source BPM : http://code.google.com/p/osbpm

--~--~-~--~~~---~--~~
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 HandleManager model

2009-08-26 Thread WardLoockx

Hello,

I'm very new to GWT and having some questions about the event system.

What I wan't to do is fire events when my async calls are executed so
I can listen to this events to update the UI.

my questions:

- Can I create event on the fly ? with just a type name (so I can
listen on that type of event)
- public HandlerManager(java.lang.Object source) you supply an object
to the constructor, isn't it just one bus /application ?
- Can I use event bubbling?

Do you guys now some answers or good docs ?

Thx,
Ward

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



SVG image howto

2009-08-26 Thread jlanza

Hi,

I have been trying to use the GWT-Wigdet library but it is not working
properly on GWT 1.7.0, and the svg support has been removed.

How do I upload and dynamically create a SVG image? The image bundle
only works for other formats.

I want to create a kind of map and then points in it.

Any help is welcome

--~--~-~--~~~---~--~~
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: How to set Font style for full application

2009-08-26 Thread Brian Dorry

Parves, I had a similar issue to yours. What I did was copy the
stylesheet for the theme I was using, removed the theme declaration
from the entry point, and referenced the copied stylesheet manually.
This let me make the GWT styles load before my own set of styles.

On Aug 25, 8:23 am, Parvez Shah  wrote:
> Hello,
>  is there a way to set Font style for complete application, I tried
> setting the font in the Main.html but to no avail
> i am trying to set font style "Time new roman" size 16
> but just cant get it done .. i searched in  the samples but there also
> I could not find any example which does so.

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



sockets and google gears not work?

2009-08-26 Thread jfcog...@gsyc.es

Hi,

I have an app that use Gears in the code, and we use jsonp to access a
socket in the localhost:8000 to take the json information in the
server.
If we take down the Gears , the app access the socket perfectly, but
when we use the Gears aplication the sockets going down... maybe gears
and java sockets not work together?

please I need your opinion :)

thanks for all.

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



Re: 求助,无法在eclipse3.5中导入samples里的项目

2009-08-26 Thread Ian Bambury
2009/8/26 Roy 

>
> Is there a policy that no language other than English can be used in
> this group? If so, I would suggest Google auto inserting the
> translated English text below whatever language used.


It's an English language group, so 'yes'. If it were a free-for-all as far
as languages were concerned then it would become much less usable for
everyone.

Some people in the past have written in their own language with a machine
translation underneath. Answers have been given by English-speakers in
English, also with a machine translation back to the OP's language. That
seems to keep everyone happy and works quite well.

There's a story that 'To be, or not to be. That is the question.' was
translated into Japanese and then back to English and ended up as 'It is, it
isn't. Isn't it?' It's not a perfect science yet.


Ian

http://examples.roughian.com

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



calling java function from an eval

2009-08-26 Thread samsus

Hello Everyone

Im trying to call a Java function from an eval, so far no luck, any
ideas on how this could be done?

this is the code:

public native void runj()  /*-{
  $wnd.eval("new MyAjaxClass($('#myDiv'),{onSubmit : function
(file, ext){th...@com.site.myclass::myOnSubmit(Ljava/lang/String;)
('test');}});");
}-*/;

public void myOnSubmit(String string) {
Window.alert("its submiting");
}

i have also tryed

public native void runj()  /*-{
  $wnd.my_call = function(id) {

th...@com.site.myclass:myOnSubmit(Ljava/lang/String;)(id);
}
  $wnd.eval("new MyAjaxClass($('#myDiv'),{onSubmit : function
(file, ext){my_call('test')}});");
}-*/;

any ideas?

it has to be inside eval, otherwise it wouldnt work
--~--~-~--~~~---~--~~
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: SmartGWT (or any other GWT-compatible JAR) integration

2009-08-26 Thread CI-CUBE

no one who can help? It's just crazy :-( SmartGWT jar's are registered
in the Classpath - no matter if in the Bootstrap or User Entries,
there are also in the Source Path - under Default.

Once again, if I copy the whole project directory and install it at
home, in an identical setup (Eclipse, GWT, App Engine, SmartGWT, JRE
versions) this works perfectly w/o any mod.

What further settings could be relevant that are outside this project
directory (Workspace settings, Registry)? I'm starting to spend too
much time on this minor issue :-(

TIA,

   Ekki
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Developing Google Gadget with Eclipse GWT plugin

2009-08-26 Thread Luca Masini

I posted this on the Google Gadget Group (I think that is the rigth
one), but in case someone of you is interested  I wrote some notes on
how to use the Eclipse Plugin to develop Google Gadgets that are
hosted on GAE

 
http://www.lucamasini.net/Home/gwt/google-app-engine/developing-googl...

Hope this can help.
Ciao.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



"Unknown runtime error" on IE (all versions)

2009-08-26 Thread David Given

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

My app is erroring out obscurely on all versions of IE, but it works
fine on FF and Chrome.

The error I'm getting is:

Message: Unknown runtime error
Line: 12512
Char: 3

The actual Javascript code --- compiled with Pretty --- is in my init
function and is an entirely unobjectionable:

function init(){
  !!$stats && $stats({moduleName:$moduleName, subSystem:'startup',
evtGroup:'moduleStartup', millis:(new Date()).getTime(),
type:'onModuleLoadStart', className:
'com.cowlark.stellation2.client.Stellation2'});
  $clinit_6();

// * this line is causing the error *
  $doc.getElementById('loadingMessage').innerHTML = '';

  $show($LoginDialog(new LoginDialog()));
}

This is generated from the equally unobjectionable Java code:

public void onModuleLoad()
{
  DOM.setInnerHTML(DOM.getElementById("loadingMessage"), "");
  authenticationFailure();
}

Any ideas as to what might be going on here?

- --
David Given
d...@cowlark.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkqVONYACgkQf9E0noFvlzip3gCglh474zxkrpv4fXHPzZl6hGeR
/OAAn1dAK/Pz27x9NFhttes+V5BEv4xh
=ke42
-END PGP SIGNATURE-

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



atmosphere comet api?

2009-08-26 Thread studproc

is there any tutorial on using gwt with atmosphere comet api ?
--~--~-~--~~~---~--~~
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 on IPod Touch - Page Rendering Hangs

2009-08-26 Thread Thomas Broyer



On 25 août, 20:27, Tim Martens  wrote:
> I'm working on a small GWT web app to run on my IPod Touch (version:
> 2.2.1 (5H11)).  The problem is that rendering of the page hangs when I
> type into a TextBox and update a Label at the same time.  Below is
> some sample code that reproduces the issue:
>
> public class IPodKillTest extends VerticalPanel implements
> KeyUpHandler
> {
>         private Label label = new Label("0");
>         private TextBox box = new TextBox();
>
>         public IPhoneKillTest()
>         {
>                 box.addKeyUpHandler(this);
>                 this.add(box);
>                 this.add(label);
>         }
>
>         public void onKeyUp(KeyUpEvent event)
>         {
>                 label.setText(box.getText());
>         }
>
> }
>
> When I entered text using the IPod's keyboard fast enough, the whole
> page goes white and I have to reload the page.  Am I doing something
> wrong?  Is there anything I can do to work around this issue?  Any
> help is appreciated.

...don't try to update the label on each key; prefer using a timer
instead (the timer could be reset on each key, to update the label
only a few milliseconds after the last key press event; or just run at
fixed intervals).

See http://www.quirksmode.org/blog/archives/2009/08/when_to_read_ou.html
(at the end, the comparison between computation time and rendering
time)
--~--~-~--~~~---~--~~
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: MVC in forms in gwt? gwt forms best pratices?

2009-08-26 Thread Thomas Broyer



On 26 août, 10:18, samsus  wrote:
> Hi Everyone,
>
> This past week i have been working on a project where the project is
> in php, it has diferent php pages, and im using gwt as a javascript/
> jquery substitute, specially for forms.
>
> The problem im getting with gwt-created forms is that, the designer
> doesnt seem to have control over it.
>
> With normal html + jquery there would be a html form, the design could
> style it anyway he wanted, and put it inside tables, or some neat css
> divs and fieldsets, and i would simply apply jquery over it for the
> widgets i need (e.g autocomplete) or validations.
> In GWT however, the entire form is generated by Java, and in resulting
> code the fields of the form are inside messy tables.

It all depends which widgets you use for the layout; FlowPanel for
example is a simple ...

> further, if the
> designer wants to change , say, something as simple as the order of
> two text boxes, he has to edit the java code, which is not a good
> pratice.
>
> Anybody knows a "smarter" way to do this?

Several solutions:
 - don't build your form with GWT and instead wrap GWT widgets around
existing HTML elements:
  TextBox myBox = TextBox.wrap(Document.get().getElementById("my-
box"));
   i.e. use progressive enhancement as you were used to with jQuery.
And if you want a jQuery-like approach to get elements, have a look a
GQuery: http://code.google.com/p/gwtquery/
   (beware: you cannot wrap nested elements; well, actually, you can,
at your own risks; either disable assertions in hosted mode and/or see
issue 3528)
 - use an HTMLPanel with placeholders where you'll inject your GWT
widgets (there's no HTMLPanel.wrap() but it could be somehow
simulated:
  RootPanel rootPanel = RootPanel.get("thingToWrap");
  HTMLPanel panel = new HTMLPanel(rootPanel.getElement
().getInnerHTML());
  rootPanel.getElement().setInnerHTML(null);
  rootPanel.add(panel);
   it'll add a  –or whatever "ag" you passed as the second
argument to HTMLPanel's ctor– in between the "root panel" element and
its children as they appeared originally in the HTML code)
 - use UiBinder that'll ship in the upcoming GWT 2.0

I'd personally favor UiBinder if possible.
--~--~-~--~~~---~--~~
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: Firefox and Chrome Autocomplete Login Forms

2009-08-26 Thread Thomas Broyer



On 26 août, 09:23, "spike2...@googlemail.com"
 wrote:
> Hi
> I'm building an App, which dynamicall builds a Widget where you can
> log in. I'm using 2 TextBoxes, a login-username and a password-box in
> a FormPanel in a PopupPanel.
> On the onSubmit-Event I make an AJAX-Request to log the user in.
> I didn't succeed in triggering the Autofill-Ability of Chrome or
> Firefox. Does anyone know what preconditions have to be set to trigger
> this.
> I gave the textboxes a name and an id, but it still doesn't work...
> Does the Autofill-Ability only work on HTML-Pages?
>
> Any Ideas?

This is the best I could come with:
http://groups.google.fr/group/Google-Web-Toolkit/t/2b2ce0b6aaa82461

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



glassfish,gwt,php

2009-08-26 Thread Bhayat

ı made configration my glassfish server to use php and gwt,but i dont
know how can i get or post from gwt to php.
how can i do that ?
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



glassfish,gwt,php

2009-08-26 Thread Bhayat

ı made configration my glassfish server to use php and gwt,but i dont
know how can i get or post from gwt to php.
how can i do that ?
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



glassfish,gwt,php

2009-08-26 Thread Bhayat

ı made configration my glassfish server to use php and gwt,but i dont
know how can i get or post from gwt to php.
how can i do that ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Can GWT complier handle annotation with enum?

2009-08-26 Thread Nathan Wells

You might need to set your @Target on your annotation. See more
details here:

http://java.sun.com/javase/6/docs/api/java/lang/annotation/Target.html

On Aug 25, 8:38 pm, Alex Luya  wrote:
> As following,I want to use annotation:
> ===
> //define an annotation with enum
> public @interface AnnotationTest
> {
>     public enum Type{OTM};
>     long test() default 1;
>     Type type() Type.OTM;
>
> }
>
> ===
> //use it
> public class Model implements IsSerializable
> {
>     @AnnotationTest()
>     long test;
>
> }
>
> ==
> It works fine in host model,But when I try to compile into js,got this
> error,
> =
> [ERROR]  The type com.ts.gwttest.server.AnnotationTest$Type cannot be
> resolved. It is indirectly referenced from required .class files
> [ERROR] An internal compiler exception occurred
> com.google.gwt.dev.jjs.InternalCompilerException: Failed to get JNode
>     at com.google.gwt.dev.jjs.impl.TypeMap.get(TypeMap.java:75)
>     at
> com.google.gwt.dev.jjs.impl.BuildTypeMap$BuildDeclMapVisitor.createField(Bu
> ildTypeMap.java:353)
>     at
> com.google.gwt.dev.jjs.impl.BuildTypeMap$BuildDeclMapVisitor.visit(BuildTyp
> eMap.java:283)
>     at
> org.eclipse.jdt.internal.compiler.ast.FieldDeclaration.traverse(FieldDeclar
> ation.java:285)
>     at
> org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.traverse(TypeDeclarat
> ion.java:1230)
>     at
> org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.traverse(C
> ompilationUnitDeclaration.java:687)
>     at
> com.google.gwt.dev.jjs.impl.BuildTypeMap.createPeersForNonTypeDecls(BuildTy
> peMap.java:937)
>     at com.google.gwt.dev.jjs.impl.BuildTypeMap.exec(BuildTypeMap.java:927)
>     at
> com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScript
> Compiler.java:273)
>     at com.google.gwt.dev.Precompile.precompile(Precompile.java:300)
>     at com.google.gwt.dev.Compiler.run(Compiler.java:170)
>     at com.google.gwt.dev.HostedMode.compile(HostedMode.java:286)
>     at
> com.google.gwt.dev.HostedModeBase$BrowserWidgetHostImpl.compile(HostedModeB
> ase.java:191)
>     at
> com.google.gwt.dev.shell.BrowserWidget$Toolbar.widgetSelected(BrowserWidget
> .java:146)
>     at
> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
>     at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>     at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)
>     at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3166)
>     at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2842)
>     at
> com.google.gwt.dev.SwtHostedModeBase.processEvents(SwtHostedModeBase.java:2
> 35)
>     at
> com.google.gwt.dev.HostedModeBase.pumpEventLoop(HostedModeBase.java:558)
>     at com.google.gwt.dev.HostedModeBase.run(HostedModeBase.java:405)
>     at com.google.gwt.dev.HostedMode.main(HostedMode.java:232)
> [ERROR] : (id=NoId)
> public interface com.allen_sauer.gwt.log.client.LogMessageFormatter
>     extends java.lang.Object
> /*   methods   */
> public abstract java.lang.String format(java.lang.String, java.lang.String)
> =
> If eliminating "public enum Type{OTM}",it works,So doesn't GWT compile
> support enum type in annotation?
--~--~-~--~~~---~--~~
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: Firefox and Chrome Autocomplete Login Forms

2009-08-26 Thread George Georgovassilis

Ok, how about this:

A user works, anonymously ( = not logged in ) with your application.
At some point he decides (or the application decides) that he wants to
log in. You navigate him to the (non GWT) login page, he does the
login and you reload the application.

You can tell your application that the user is logged in either by
putting that information into a hidden  in the module page which
your app can query then. Or your app can simply test for the existence
of a cookie (i.e. jsessionid).

On Aug 26, 12:23 pm, "spike2...@googlemail.com"
 wrote:
> Sadly not an option
> Login is optionally in my app, you can, but you don't have to.
> If I use an IFrame, I can't access the Information generated in there.
> I could have used the User-Capability of Google App, but I did't
> exactly for that reason.
> I hate these Worarounds.
>
> On 26 Aug., 11:48, George Georgovassilis 
> wrote:
>
> > Hi Spike,
>
> > I was pondering the exact same thing the other day. From all the
> > experiments I made, only FF was able to somewhat reliably remember
> > passwords. My understanding is that you need a structure with a form,
> > a login textfield, a password textfield and a submit button:
>
> > 
> > 
> > 
> > 
> > 
>
> > There _has_ to be a form that submits to the server, otherwise
> > browsers won't recognise this as a login form. To make things worse,
> > the login form has to be there in HTML in the page loaded from the
> > beginning. My attempts to create it in runtime via DOM manipulation
> > made it invisible to the password completion mechanism.
>
> > I'd advise you to use a completely decoupled login form and load your
> > application only after the login page.
>
> > On Aug 26, 9:23 am, "spike2...@googlemail.com"
>
> >  wrote:
> > > Hi
> > > I'm building an App, which dynamicall builds a Widget where you can
> > > log in. I'm using 2 TextBoxes, a login-username and a password-box in
> > > a FormPanel in a PopupPanel.
> > > On the onSubmit-Event I make an AJAX-Request to log the user in.
> > > I didn't succeed in triggering the Autofill-Ability of Chrome or
> > > Firefox. Does anyone know what preconditions have to be set to trigger
> > > this.
> > > I gave the textboxes a name and an id, but it still doesn't work...
> > > Does the Autofill-Ability only work on HTML-Pages?
>
> > > Any Ideas?
--~--~-~--~~~---~--~~
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: Firefox and Chrome Autocomplete Login Forms

2009-08-26 Thread spike2...@googlemail.com

Sadly not an option
Login is optionally in my app, you can, but you don't have to.
If I use an IFrame, I can't access the Information generated in there.
I could have used the User-Capability of Google App, but I did't
exactly for that reason.
I hate these Worarounds.

On 26 Aug., 11:48, George Georgovassilis 
wrote:
> Hi Spike,
>
> I was pondering the exact same thing the other day. From all the
> experiments I made, only FF was able to somewhat reliably remember
> passwords. My understanding is that you need a structure with a form,
> a login textfield, a password textfield and a submit button:
>
> 
> 
> 
> 
> 
>
> There _has_ to be a form that submits to the server, otherwise
> browsers won't recognise this as a login form. To make things worse,
> the login form has to be there in HTML in the page loaded from the
> beginning. My attempts to create it in runtime via DOM manipulation
> made it invisible to the password completion mechanism.
>
> I'd advise you to use a completely decoupled login form and load your
> application only after the login page.
>
> On Aug 26, 9:23 am, "spike2...@googlemail.com"
>
>  wrote:
> > Hi
> > I'm building an App, which dynamicall builds a Widget where you can
> > log in. I'm using 2 TextBoxes, a login-username and a password-box in
> > a FormPanel in a PopupPanel.
> > On the onSubmit-Event I make an AJAX-Request to log the user in.
> > I didn't succeed in triggering the Autofill-Ability of Chrome or
> > Firefox. Does anyone know what preconditions have to be set to trigger
> > this.
> > I gave the textboxes a name and an id, but it still doesn't work...
> > Does the Autofill-Ability only work on HTML-Pages?
>
> > Any Ideas?
>
>
--~--~-~--~~~---~--~~
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: Firefox and Chrome Autocomplete Login Forms

2009-08-26 Thread Thomas Matthijs

Example for firefox:

http://raibledesigns.com/rd/entry/browser_based_username_password_autocomplete

--~--~-~--~~~---~--~~
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: Firefox and Chrome Autocomplete Login Forms

2009-08-26 Thread George Georgovassilis

Hi Spike,

I was pondering the exact same thing the other day. From all the
experiments I made, only FF was able to somewhat reliably remember
passwords. My understanding is that you need a structure with a form,
a login textfield, a password textfield and a submit button:







There _has_ to be a form that submits to the server, otherwise
browsers won't recognise this as a login form. To make things worse,
the login form has to be there in HTML in the page loaded from the
beginning. My attempts to create it in runtime via DOM manipulation
made it invisible to the password completion mechanism.

I'd advise you to use a completely decoupled login form and load your
application only after the login page.

On Aug 26, 9:23 am, "spike2...@googlemail.com"
 wrote:
> Hi
> I'm building an App, which dynamicall builds a Widget where you can
> log in. I'm using 2 TextBoxes, a login-username and a password-box in
> a FormPanel in a PopupPanel.
> On the onSubmit-Event I make an AJAX-Request to log the user in.
> I didn't succeed in triggering the Autofill-Ability of Chrome or
> Firefox. Does anyone know what preconditions have to be set to trigger
> this.
> I gave the textboxes a name and an id, but it still doesn't work...
> Does the Autofill-Ability only work on HTML-Pages?
>
> Any Ideas?
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Developing Google Gadget with Eclipse GWT plugin

2009-08-26 Thread Luca Masini

Hi guys, I wrote some notes on how to use the Eclipse Plugin to
develop Google Gadgets with GWT that are hosted on GAE

http://www.lucamasini.net/Home/gwt/google-app-engine/developing-google-gadget-with-eclipse-gwt-plugin

Hope this can help.
Ciao.
--~--~-~--~~~---~--~~
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: BlackBerry Compatible

2009-08-26 Thread Jan Ehrhardt
RIM is developing it's own browser engine, while iPhone and Android use
Webkit. I'm not sure if the Blackberry browser is able to run most
JavaScript  apps. I think, you should try, what happens, but I'm sure it's
not supported.

On Wed, Aug 26, 2009 at 1:11 AM, Tracy  wrote:

>
> I'm new to Google Groups so my apologies if this question was double
> posted...
>
> Does anybody know if a GWT app can be browsed with a Blackberry?  Is
> the BlackBerry browser able to handle the generated JavaScript?
>
> Thanks in advanced.
>
> >
>

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



MVC in forms in gwt? gwt forms best pratices?

2009-08-26 Thread samsus

Hi Everyone,

This past week i have been working on a project where the project is
in php, it has diferent php pages, and im using gwt as a javascript/
jquery substitute, specially for forms.

The problem im getting with gwt-created forms is that, the designer
doesnt seem to have control over it.

With normal html + jquery there would be a html form, the design could
style it anyway he wanted, and put it inside tables, or some neat css
divs and fieldsets, and i would simply apply jquery over it for the
widgets i need (e.g autocomplete) or validations.
In GWT however, the entire form is generated by Java, and in resulting
code the fields of the form are inside messy tables. further, if the
designer wants to change , say, something as simple as the order of
two text boxes, he has to edit the java code, which is not a good
pratice.

Anybody knows a "smarter" way to do this?
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



SliderBar looks hidden in un selected tabs in TabPanel

2009-08-26 Thread maheshm1206

Hi, I am creating SliderBars in three tabs of the TabPanel, when the
page is loaded the slider on the  defult selected tab is visible, but
when i switched to second tab the slider in that tab is hidden. Is
there anything wrong in laying SliderBar in TabPanel. Thanks in
advance for the help.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



onChange, onLostFocus events not receiving in Firefox

2009-08-26 Thread y2ken

My GWT1.5 app has few onChange and FocusListener attached to the
TextBox, and everything is working
fine in IE and debug hosted mode in Windows.

However, once i start testing the deployed app in  Firefox(on Windows
Vista), onChange and onLostFocus event is not receiving from the
listener. Strange thing is, i can make it work in Firefox if i
minimize the browser and restore it and then the listener is receiving
onChange and onLostFocus event.

Another way to make it work (manually) is to turn on Firebug and
inspect one of the element, and then after that my listeners will
receive the corresponding events correctly.

Anyone have seen such behaviour before? is there any workaround or
fix?


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



Firefox and Chrome Autocomplete Login Forms

2009-08-26 Thread spike2...@googlemail.com

Hi
I'm building an App, which dynamicall builds a Widget where you can
log in. I'm using 2 TextBoxes, a login-username and a password-box in
a FormPanel in a PopupPanel.
On the onSubmit-Event I make an AJAX-Request to log the user in.
I didn't succeed in triggering the Autofill-Ability of Chrome or
Firefox. Does anyone know what preconditions have to be set to trigger
this.
I gave the textboxes a name and an id, but it still doesn't work...
Does the Autofill-Ability only work on HTML-Pages?

Any Ideas?
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---