Re: Ignoring unresolvable annotation type

2011-06-01 Thread Adolfo Panizo Touzon
with this libray you solve this problem, in my POJO´s i put some annotations
(for other reasons) and I haven´t problems.

Try it, and tell us.

Greetings.

2011/6/1 randasin 

> I don't plan to use or check the annotation in GWT context so I am ok
> if GWT ignores it.  MyObject is still compiled and I can use it in
> Async requests, right?
>
> The reason I have the annotation is the classes are also used in
> another web service project, which utilizes the annotation.
>
> Just wondered if there is way to get rid of the warning.
>
>
> On Jun 1, 4:24 pm, Adolfo Panizo Touzon 
> wrote:
> > As you know, GWT is not pure Java, so you can´t use some things.
> >
> > One way to solve these problem is including a library for reflection (see
> > gwt-ent in google).
> >
> > 2011/6/1 randasin 
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > > I have one annotation and one object.
> >
> > > com.example.model.shared.MyAnnotation
> > > com.example.model.shared.MyObject
> >
> > > MyObject is declared with MyAnnotation:
> >
> > > @MyAnnotation
> > > public class MyObject {
> > > ...
> > > }
> >
> > > When I compile, I am getting this warning
> >
> > > [java]Resolving com.example.model.shared.MyObject
> > > [java]   Found type 'com.example.model.shared.MyObject'
> > > [java]  [WARN] Ignoring unresolvable annotation type
> > > com.example.model.shared.MyAnnotation
> >
> > > The compilation still succeeded, but I wonder what side effects are
> > > there?  How do I resolve this warning?
> >
> > > --
> > > 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.
> >
> > --
> > El precio es lo que pagas. El valor es lo que recibes.
> > Warren Buffet
>
> --
> 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.
>
>


-- 
El precio es lo que pagas. El valor es lo que recibes.
Warren Buffet

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



Working with a SuggestBox

2011-06-01 Thread Myth17
I am working on a MVP+Event Bus Architecture. I have a SuggestBox declared 
in a view, I want presenter to fetch list of suggestion by an RPC call. 
However the SuggestBox only seems to take "MultiWordSuggestoracle"  in its 
constructor. And no way to add it later in presenter. :|

As an Alternative I also tried creating a Textbox in view and wrapping it up 
as a Suggestbox later in Presenter. Then adding the suggest box to the view 
but this approach dosent work and no widget shows on the view.

What could be a possible work around?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/WVl6VjNid29Cc2dK.
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: EMF Error

2011-06-01 Thread Pavel Byles
Thanks for the help.
Checking my EMF code made me realize I was missing the persistence.xml file.

Once I put that in everything worked!

On Wed, Jun 1, 2011 at 3:46 PM, A. Stevko  wrote:

> Not sure this is the best forum (server side issue vs client side forum)
> for your question but I'll give it a go...
>
> Not much detail to go on so I'll assume that the code you are trying to
> execute is server side and em is your entity manager.
>
> You may want to proof everything else is working by returning a static list
> instead of executing a query.
> Then look at the initializer for EMF. Something is going wrong there.
>
>
> On Wed, Jun 1, 2011 at 1:35 PM, Pavel Byles  wrote:
>
>> Anyone?
>>
>> On Tue, May 31, 2011 at 10:33 PM, Pavel Byles wrote:
>>
>>> Trying to get RequestFactory to work but I am getting:
>>>
>>> Server Error: Could not initialize class myproject.com.server.domain.EMF
>>>
>>> at the line that contains this code:
>>>
>>> List list = em.createQuery("select c from Country c"
>>> ).getResultList();
>>>
>>>
>>> Anyone have any ideas?
>>>
>>> --
>>> -Pav
>>>
>>
>>
>>
>> --
>> -Pav
>>
>> --
>> 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.
>>
>
>
>
> --
> -- A. Stevko
> ===
> "If everything seems under control, you're just not going fast enough." M.
> Andretti
>
>
>
>
>
>  --
> 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.
>



-- 
-Pav

-- 
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: Database and GWT

2011-06-01 Thread J.Ganesan
You may use the emulated JRE ( 
http://code.google.com/webtoolkit/doc/latest/RefJreEmulation.html
) to model  relationships. Specifically, you can use ArrayList (one-to-
many) and HashMap (many-to-many).

J.Ganesan
www.DataStoreGwt.com



On Jun 1, 11:34 pm, purni iyer  wrote:
> Thnks for the replies.I used the serializable objects i.e objects on
> shared side.But found many difficulties implementing them.As in I am
> unable to set relationship one to many between my objects.I need
> suggestion with same
>
> On Jun 1, 11:29 pm, Barry Ard  wrote:
>
>
>
>
>
>
>
> > I found that EodSQL gave me the best bang for my buck (time invested
> > vs usefulness).
>
> > Download fromhttp://java.net/projects/eodsql/downloads
>
> > and read tutorial.html in the docs directory.
>
> > See the developers bloghttp://lemnik.wordpress.com/?s=eodsql
> > t
> > Good luck,
> > Barry
>
> > On Jun 1, 12:14 pm, purni iyer  wrote:
>
> > > hello,
> > > Can any one suggest me which method of applying database with GWT is
> > > the best.I have few options
> > > JDO
> > > JSON
> > > Objectifiers
>
> > > Please suggest
> > > Purnima

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



get Session values in client side

2011-06-01 Thread Rama Krishna
Hi

I have to access the server side session values in GWT. plz suggest me How
can I access?

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: RequestFactoryServlet import problem with AppEngine Connected Android Project

2011-06-01 Thread Chad
Turns out you need to configure SDK version as referenced here (the
instructions of course :-)): 
http://code.google.com/eclipse/docs/appengine_connected_android.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.



Re: SimpleMaps Tutorial (Google Maps)

2011-06-01 Thread Juan Pablo Gardella
Is  gwt-maps.jar 1.1.0 compatible with gwt >= 2.2.0. See this
thread

Juan

2011/6/1 spartanwil...@yahoo.com 

> Hi y'all,
>
> I have been trying to use the simplemaps tutorial from
>
> http://code.google.com/intl/pt-BR/docreader/#p=gwt-google-apis&s=gwt-google-apis&t=MapsGettingStarted
>
> This is my first attempt at using a Google API in gwt. I am using gwt
> 2.3.0 and the gwt-maps.jar 1.1.0 as well as the eclipse IDE.
>
> I have followed all the instructions in the tutorial/example to the
> best of my ability and I come up with errors:
>
> java.lang.ExceptionInInitializerError: null
>
> Caused by: java.lang.RuntimeException: Deferred binding failed for
> 'com.google.gwt.maps.client.impl.MapImpl' (did you forget to inherit a
> required module?
>
> Caused by: java.lang.IncompatibleClassChangeError: Found interface
> com.google.gwt.core.ext.typeinfo.JClassType, but class was expected
>
> I have read this forum as well as many others and I see this is might
> be a common problem, but from I have found any fixes that fix my
> errors.
>
> I apologize if this is in the wrong section , just let me know and I
> will repost.
>
> Thanks,
>
> Will
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

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



Performance Differences IE 8 Vs FF 3.x

2011-06-01 Thread Mittal
I have one particular use case when there is significant difference in
terms of response time between IE8 Vs FF 3.x

IE 8 = 25-35 seconds response time
FF 3.x = 5 - 8 seconds response time.

Rest of the application seems to be OK in IE 8.

In this particular use case, I am making 1 RPC which in data access
layer makes 5 database calls and returns the data to java class that
corresponds to ui.xml  Java class then populates the data returned
into 4 list boxes and 1 suggestion box- there is no additional
processing of data other than getting it from data access layer. The
data is returned from data access layer pretty fast
In terms of data, 1 list box has 4000 elements and one suggestion box
has 7000 elements.

Event to above use case is selection of row from cell table and
clicking on edit button - this performs very well in FF and Chrome but
has slower performance in IE 8

Any pointers why this could be happen ?

Mittal

-- 
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: Hierachy of autobean for state serialization

2011-06-01 Thread Patrick Julien
Honestly, this is all gibberish to me.  Why are you even doing this?
RequestFactory offers you a way to encode/decode your data, supports
polymorphism, etc.

Intro to requestfactory here:

http://code.google.com/webtoolkit/doc/latest/DevGuideRequestFactory.html

Keep in mind here that the entity
(http://code.google.com/webtoolkit/doc/latest/DevGuideRequestFactory.html#entities),
doesn't actually have to be a JPA entity.



On Wed, Jun 1, 2011 at 6:59 PM, Panam  wrote:
> Can sombody just comment on this? I have a decision to make
>
> Related to 2): is polymorphism indeed impossible with autobeans so
>  that I lose subtype specifics when serialzing lists of objects with
>  different subypes (but a common supertype of course)?
>
> Thanks
> panam
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

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



Re: Reflection && Class Generator

2011-06-01 Thread Bademus -
Not so long ago I was interested in gwt 
reflections.
 
But i solve my problem by code duplication ...
Waiting for code releasing.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/d2JOcWJEbDh3QzhK.
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: Reflection && Class Generator

2011-06-01 Thread Bademus -
Agreed with you. Is there any bugreport\proposal this feature?
It was extremely useful to have something like this:

public abstract class PersonListEditor implements HasRequestContext, 
... {
   private RequestContext reqCtx;
   //used internaly 
   private void createNewEntity() {
  T clazz = (Class) ((ParameterizedType) 
getClass().getGenericSuperclass()).getActualTypeArguments()[0];
reqCtx.create( clazz ); //it is impossible without reflection just 
as other trics that let you reuse code
   } 

   @Override
   public void setRequestContext(RequestContext reqCtx) {
  this.reqCtx = reqCtx;
   }
}

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/aHBUNFh3Y3ZocXNK.
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: Hierachy of autobean for state serialization

2011-06-01 Thread Panam
Can sombody just comment on this? I have a decision to make

Related to 2): is polymorphism indeed impossible with autobeans so
 that I lose subtype specifics when serialzing lists of objects with
 different subypes (but a common supertype of course)?

Thanks
panam

-- 
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: Reflection && Class Generator

2011-06-01 Thread Magno Machado
I consider generators as a kind of reflection. It is restricted to compile
time, I know, but you still have full access to all the information about
your classes.

It can succefully replace traditional reflection most of the times, IMHO.
See for exemple GWT-RPC, RequestFactory or the editors framework, these sort
of things would usually be implemented with runtime reflection if possible,
but works pretty well in GWT

On Tue, May 31, 2011 at 12:20 PM, Adolfo Panizo Touzon <
adolfo.pan...@gmail.com> wrote:

> Can somebody the function about de class Generator and all the similar
> classes which is contained int he packpage "com.google.gwt.core.ext", it´s
> used for deferred binding?
>
> Maybe if I want use reflection in my app, I must use these classes??
>
> --
> El precio es lo que pagas. El valor es lo que recibes.
> Warren Buffet
>
> --
> 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.
>



-- 
Magno Machado Paulo
http://blog.magnomachado.com.br
http://code.google.com/p/emballo/

-- 
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: EMF Error

2011-06-01 Thread A. Stevko
Not sure this is the best forum (server side issue vs client side forum) for
your question but I'll give it a go...

Not much detail to go on so I'll assume that the code you are trying to
execute is server side and em is your entity manager.

You may want to proof everything else is working by returning a static list
instead of executing a query.
Then look at the initializer for EMF. Something is going wrong there.


On Wed, Jun 1, 2011 at 1:35 PM, Pavel Byles  wrote:

> Anyone?
>
> On Tue, May 31, 2011 at 10:33 PM, Pavel Byles wrote:
>
>> Trying to get RequestFactory to work but I am getting:
>>
>> Server Error: Could not initialize class myproject.com.server.domain.EMF
>>
>> at the line that contains this code:
>>
>> List list = em.createQuery("select c from Country c"
>> ).getResultList();
>>
>>
>> Anyone have any ideas?
>>
>> --
>> -Pav
>>
>
>
>
> --
> -Pav
>
> --
> 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.
>



-- 
-- A. Stevko
===
"If everything seems under control, you're just not going fast enough." M.
Andretti

-- 
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: Ignoring unresolvable annotation type

2011-06-01 Thread randasin
I don't plan to use or check the annotation in GWT context so I am ok
if GWT ignores it.  MyObject is still compiled and I can use it in
Async requests, right?

The reason I have the annotation is the classes are also used in
another web service project, which utilizes the annotation.

Just wondered if there is way to get rid of the warning.


On Jun 1, 4:24 pm, Adolfo Panizo Touzon 
wrote:
> As you know, GWT is not pure Java, so you can´t use some things.
>
> One way to solve these problem is including a library for reflection (see
> gwt-ent in google).
>
> 2011/6/1 randasin 
>
>
>
>
>
>
>
>
>
> > I have one annotation and one object.
>
> > com.example.model.shared.MyAnnotation
> > com.example.model.shared.MyObject
>
> > MyObject is declared with MyAnnotation:
>
> > @MyAnnotation
> > public class MyObject {
> > ...
> > }
>
> > When I compile, I am getting this warning
>
> > [java]    Resolving com.example.model.shared.MyObject
> > [java]       Found type 'com.example.model.shared.MyObject'
> > [java]          [WARN] Ignoring unresolvable annotation type
> > com.example.model.shared.MyAnnotation
>
> > The compilation still succeeded, but I wonder what side effects are
> > there?  How do I resolve this warning?
>
> > --
> > 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.
>
> --
> El precio es lo que pagas. El valor es lo que recibes.
> Warren Buffet

-- 
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: EMF Error

2011-06-01 Thread Pavel Byles
Anyone?

On Tue, May 31, 2011 at 10:33 PM, Pavel Byles  wrote:

> Trying to get RequestFactory to work but I am getting:
>
> Server Error: Could not initialize class myproject.com.server.domain.EMF
>
> at the line that contains this code:
>
> List list = em.createQuery("select c from Country c"
> ).getResultList();
>
>
> Anyone have any ideas?
>
> --
> -Pav
>



-- 
-Pav

-- 
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: Ignoring unresolvable annotation type

2011-06-01 Thread Adolfo Panizo Touzon
As you know, GWT is not pure Java, so you can´t use some things.

One way to solve these problem is including a library for reflection (see
gwt-ent in google).

2011/6/1 randasin 

> I have one annotation and one object.
>
> com.example.model.shared.MyAnnotation
> com.example.model.shared.MyObject
>
> MyObject is declared with MyAnnotation:
>
> @MyAnnotation
> public class MyObject {
> ...
> }
>
> When I compile, I am getting this warning
>
> [java]Resolving com.example.model.shared.MyObject
> [java]   Found type 'com.example.model.shared.MyObject'
> [java]  [WARN] Ignoring unresolvable annotation type
> com.example.model.shared.MyAnnotation
>
> The compilation still succeeded, but I wonder what side effects are
> there?  How do I resolve this warning?
>
> --
> 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.
>
>


-- 
El precio es lo que pagas. El valor es lo que recibes.
Warren Buffet

-- 
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: SimpleMaps Tutorial (Google Maps)

2011-06-01 Thread spartanwil...@yahoo.com
Dave,

Thanks Dave. It now works.

Probably will be back here soon. Once again appreciate the help.

V/r,

Will

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



Ignoring unresolvable annotation type

2011-06-01 Thread randasin
I have one annotation and one object.

com.example.model.shared.MyAnnotation
com.example.model.shared.MyObject

MyObject is declared with MyAnnotation:

@MyAnnotation
public class MyObject {
...
}

When I compile, I am getting this warning

[java]Resolving com.example.model.shared.MyObject
[java]   Found type 'com.example.model.shared.MyObject'
[java]  [WARN] Ignoring unresolvable annotation type
com.example.model.shared.MyAnnotation

The compilation still succeeded, but I wonder what side effects are
there?  How do I resolve this warning?

-- 
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: SimpleMaps Tutorial (Google Maps)

2011-06-01 Thread Bala Sankar
GWT 2.3 and Google Maps API has issues.
GWT team has to fix it. They need to work with the Maps team and fix it.

I don't want to suggest you to try earlier versions such as, GWT 2.0, etc

Regards,
Bala

On Wed, Jun 1, 2011 at 11:58 AM, spartanwil...@yahoo.com <
spartanwil...@yahoo.com> wrote:

> Hi y'all,
>
> I have been trying to use the simplemaps tutorial from
>
> http://code.google.com/intl/pt-BR/docreader/#p=gwt-google-apis&s=gwt-google-apis&t=MapsGettingStarted
>
> This is my first attempt at using a Google API in gwt. I am using gwt
> 2.3.0 and the gwt-maps.jar 1.1.0 as well as the eclipse IDE.
>
> I have followed all the instructions in the tutorial/example to the
> best of my ability and I come up with errors:
>
> java.lang.ExceptionInInitializerError: null
>
> Caused by: java.lang.RuntimeException: Deferred binding failed for
> 'com.google.gwt.maps.client.impl.MapImpl' (did you forget to inherit a
> required module?
>
> Caused by: java.lang.IncompatibleClassChangeError: Found interface
> com.google.gwt.core.ext.typeinfo.JClassType, but class was expected
>
> I have read this forum as well as many others and I see this is might
> be a common problem, but from I have found any fixes that fix my
> errors.
>
> I apologize if this is in the wrong section , just let me know and I
> will repost.
>
> Thanks,
>
> Will
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

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



Re: SimpleMaps Tutorial (Google Maps)

2011-06-01 Thread David Chandler
Hi Will,

Looks like you need a newer version of gwt-maps that was compiled after GWT
2.2. See comment 32 on this issue for a link:
http://code.google.com/p/gwt-google-apis/issues/detail?id=447

HTH,
/dmc

On Wed, Jun 1, 2011 at 2:58 PM, spartanwil...@yahoo.com <
spartanwil...@yahoo.com> wrote:

> Hi y'all,
>
> I have been trying to use the simplemaps tutorial from
>
> http://code.google.com/intl/pt-BR/docreader/#p=gwt-google-apis&s=gwt-google-apis&t=MapsGettingStarted
>
> This is my first attempt at using a Google API in gwt. I am using gwt
> 2.3.0 and the gwt-maps.jar 1.1.0 as well as the eclipse IDE.
>
> I have followed all the instructions in the tutorial/example to the
> best of my ability and I come up with errors:
>
> java.lang.ExceptionInInitializerError: null
>
> Caused by: java.lang.RuntimeException: Deferred binding failed for
> 'com.google.gwt.maps.client.impl.MapImpl' (did you forget to inherit a
> required module?
>
> Caused by: java.lang.IncompatibleClassChangeError: Found interface
> com.google.gwt.core.ext.typeinfo.JClassType, but class was expected
>
> I have read this forum as well as many others and I see this is might
> be a common problem, but from I have found any fixes that fix my
> errors.
>
> I apologize if this is in the wrong section , just let me know and I
> will repost.
>
> Thanks,
>
> Will
>
> --
> 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.
>
>


-- 
David Chandler
Developer Programs Engineer, Google Web Toolkit
w: http://code.google.com/
b: http://googlewebtoolkit.blogspot.com/
t: @googledevtools

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



SimpleMaps Tutorial (Google Maps)

2011-06-01 Thread spartanwil...@yahoo.com
Hi y'all,

I have been trying to use the simplemaps tutorial from
http://code.google.com/intl/pt-BR/docreader/#p=gwt-google-apis&s=gwt-google-apis&t=MapsGettingStarted

This is my first attempt at using a Google API in gwt. I am using gwt
2.3.0 and the gwt-maps.jar 1.1.0 as well as the eclipse IDE.

I have followed all the instructions in the tutorial/example to the
best of my ability and I come up with errors:

java.lang.ExceptionInInitializerError: null

Caused by: java.lang.RuntimeException: Deferred binding failed for
'com.google.gwt.maps.client.impl.MapImpl' (did you forget to inherit a
required module?

Caused by: java.lang.IncompatibleClassChangeError: Found interface
com.google.gwt.core.ext.typeinfo.JClassType, but class was expected

I have read this forum as well as many others and I see this is might
be a common problem, but from I have found any fixes that fix my
errors.

I apologize if this is in the wrong section , just let me know and I
will repost.

Thanks,

Will

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

2011-06-01 Thread purni iyer
hello
Can anyone suggest me good templates for making GWT apps
Also can anyone suggest me CSS for MenuBar havouring...
Purnima

-- 
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: Database and GWT

2011-06-01 Thread purni iyer
Thnks for the replies.I used the serializable objects i.e objects on
shared side.But found many difficulties implementing them.As in I am
unable to set relationship one to many between my objects.I need
suggestion with same

On Jun 1, 11:29 pm, Barry Ard  wrote:
> I found that EodSQL gave me the best bang for my buck (time invested
> vs usefulness).
>
> Download fromhttp://java.net/projects/eodsql/downloads
>
> and read tutorial.html in the docs directory.
>
> See the developers bloghttp://lemnik.wordpress.com/?s=eodsql
> t
> Good luck,
> Barry
>
> On Jun 1, 12:14 pm, purni iyer  wrote:
>
>
>
>
>
>
>
> > hello,
> > Can any one suggest me which method of applying database with GWT is
> > the best.I have few options
> > JDO
> > JSON
> > Objectifiers
>
> > Please suggest
> > Purnima

-- 
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: Database and GWT

2011-06-01 Thread Barry Ard
I found that EodSQL gave me the best bang for my buck (time invested
vs usefulness).

Download from http://java.net/projects/eodsql/downloads

and read tutorial.html in the docs directory.

See the developers blog http://lemnik.wordpress.com/?s=eodsql

Good luck,
Barry

On Jun 1, 12:14 pm, purni iyer  wrote:
> hello,
> Can any one suggest me which method of applying database with GWT is
> the best.I have few options
> JDO
> JSON
> Objectifiers
>
> Please suggest
> Purnima

-- 
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: Database and GWT

2011-06-01 Thread joe kolba
We personally just use Google RPC calls and send serializable objects
between the server and client.

On Wed, Jun 1, 2011 at 2:14 PM, purni iyer  wrote:

> hello,
> Can any one suggest me which method of applying database with GWT is
> the best.I have few options
> JDO
> JSON
> Objectifiers
>
> Please suggest
> Purnima
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

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



Re: Print contents of RichTextArea

2011-06-01 Thread Ashwani Gupta
Anyone has any ideas??

On Mon, May 30, 2011 at 9:58 PM, Ash  wrote:

> I am able to print contents of a TextArea to a file by doing this
> dom.getElementsByTagName("textarea");
>
> but don't seem to find a way to do the same for RichTextArea. Does
> anyone has an idea how to do this?
>
> On the other hand is there a good solution to printing a page that is
> designed using gwt?
>
> Thanks,
> Ash
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

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



Database and GWT

2011-06-01 Thread purni iyer
hello,
Can any one suggest me which method of applying database with GWT is
the best.I have few options
JDO
JSON
Objectifiers

Please suggest
Purnima

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



A little example on howto configure GWT with spring and hibernate.

2011-06-01 Thread karq
Hey everyone!

I've spent quite some time on getting this setup working. So I made a
little example for those who are struggling with the same problem.
http://karq.planet.ee/blog/?p=275

Hope you like 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.



Fail to compile module with internationalization instructions

2011-06-01 Thread bouba331
Hi,

I'm trying to insert internationalized strings into my application but
it seems to fail a compile time.

What I've done is the following :
 - Add a org.bgaillard.client.constant.LoginPanelConstants which
extends the ConstantsWithLookup interface
 - Add a org/bgaillard/client/constant/
LoginPanelConstants_fr.properties file
 - Add




 

In my GWT XML module file.

 - Generate (using the Maven GWT Plugin) a
org.bgaillard.client.constant.LoginPanelConstants_fr.class interface
which extends the ConstantsWithLookup interface
 - Add

   

  in my root application HTML file.
 - Configure each file to use the UTF-8 encoding

But, a compile time I always have this error :

[ERROR] Errors in '. . . /src/main/java/org/bgaillard/client/widgets/
panel/LoginPanel.java'
[ERROR] Line 45:  Rebind result
'org.bgaillard.client.constant.LoginPanelConstants_fr' must be a class
[ERROR] Cannot proceed due to previous errors

Line 45 corresponds to that piece of code:

  this.loginPanelConstants =
GWT.create(LoginPanelConstants.class);

I'm using GWT 2.3 and the Maven GWT Plugin 2.2.0 to generate GWT
interfaces (for internationalization and async services) and to
compile.


What is the error ? Why do I have this "Rebind" error at compile
time ?

Thanks,

Bouba331

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



Regarding Login

2011-06-01 Thread sachin sreenivasan
Hi,

   I am fairly new to GWT and wanted to know if there are any existing
libraries in GWT to implement a secured login mechanism?

~ Sachin

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



RequestFactoryServlet import problem with AppEngine Connected Android Project

2011-06-01 Thread Chad
I created a new "AppEngine Connected Android Project" but the files
created with the wizard using GPE 2.4beta had a bunch of errors. I was
able to resolve all but one.

The following import statement is bad:

import
com.google.web.bindery.requestfactory.server.RequestFactoryServlet;

Any ideas how/where to import RequestFactoryServlet?

Thanks,
Chad

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



Hierachy of autobean for state serialization

2011-06-01 Thread Panam
Hi,

I am considering to use autobeans for state serialization, i.e. a
hierachy of graphical objects sharing subsets of common properties.
Each has its specifics (specific properties, e.g. specific fields that
should be serialized), but'd like best to find a common state
serialization for them.
The basic idea is to create an autobean for the most general type
which defines all common methods, e.g.

public interface BasicObjectSerialization{
getX();
getY();
}

public class BasicObject implements BasicObjectSerialization{
getX(){return this.x};
getY(){return this.y};
}
For serialization, the object is wrapped into BasicObjectSerialization
and that autobean is then encoded.
Restoration is done by passing the autobean to a
BasicObject.restore(BasicObjectSerialization state) method which does
the restoration after the BasicObject has been instantiated.

Now, what to do with each object's specifics (i.e. those of the
subtypes)? As an example, consider the class
public class SpecialObject extends BasicObject{
   getColor(){return this.color};
}
I basically see two approaches:
1) Add a method
String BasicObject.getCustomState()
which encodes the the specifics to string. This must be done
separately for each subtype of BasicObject.
- Pros:
  * Definitely seems to work.
- Cons:
  * It is necessesary to provide some kind of extra (de-)
serialization in each subtype with spcifics
  * Overall complicated and a lot of manual things to do.
2) Create an hierachy autobeans :
public interface SpecialObjectSerialization extends
BasicObjectSerialization{
getColor();
}
- Pros:
  * Put everything in an object tree and serialize once. Would make
things simple and clean
- Cons:
  * It seems polymorphism is not possible with autobeans. E.g. if I
have a list of ObjectSerializations, how to get the 'specifics' of the
subtypes encoded (e.g. color)? All my attempts failed so far.

  Now some questions:
  Related to 2): is polymorphism indeed impossible with autobeans so
that I lose subtype specifics when serialzing lists of objects with
different subypes (but a common supertype of course)?
  Related to 1): Can the extra serialization necessary in each
subtype be avoided somehow?

Ideas?

Thanks,
panam

-- 
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: Reflection && Class Generator

2011-06-01 Thread giuseppe la scaleia
I am very interessed on it. May you send the project to do a look to the code?
Regards Giuseppe

Inviato da iPhone di Giuseppe La  Scaleia

Il giorno 01/giu/2011, alle ore 16:40, Honza Rames  ha 
scritto:

> Hi, from what I can tell GWT doesn't support reflection at all in
> client side (JS translatable) code. Just a few simple features like
> getting class name (but I can't really call that reflection can
> I ;-) ). I have been experimenting with reflection in client side code
> though, and with a lot of success I must say :-). I'm planning to
> share the code on Google Code when I feel its ready, I'm currently
> testing it on business application I'm working on and then we'll see.
> If you (or anybody else) would like to give it a try, I might be able
> to create some package and share this with you (or maybe create the
> Google Code project right away). There is similar framework (don't
> remember the name but can be found by Google ;-) ), which didn't
> really didn't do the job for me because it was pretty difficult to
> generate the reflection information that is needed (please correct me
> if I got that wrong). My approach uses GWT generators and annotations
> to specify which packages and which classes should participate in
> reflection information generation. I'm supporting similar
> functionality that java Class gives you with some modifications, but
> you can obtain annotations, get/set fields and even call public
> methods and create new instance in reflective way (but you need to be
> careful on what info you add because it could greatly enlarge your
> resulting JS code). I also have unit tests (of course) for bunch of
> stuff but it would require a lot of cleanup I guess.
> 
> So if anyone is interested just leave a message ;-)
> 
> --
> Honza Rames
> 
> On 31 kvě, 16:20, Adolfo Panizo Touzon 
> wrote:
>> Can somebody the function about de class Generator and all the similar
>> classes which is contained int he packpage "com.google.gwt.core.ext", it´s
>> used for deferred binding?
>> 
>> Maybe if I want use reflection in my app, I must use these classes??
>> 
>> --
>> El precio es lo que pagas. El valor es lo que recibes.
>> Warren Buffet
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-web-toolkit?hl=en.
> 

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



Re: Reflection && Class Generator

2011-06-01 Thread Honza Rames
Hi, from what I can tell GWT doesn't support reflection at all in
client side (JS translatable) code. Just a few simple features like
getting class name (but I can't really call that reflection can
I ;-) ). I have been experimenting with reflection in client side code
though, and with a lot of success I must say :-). I'm planning to
share the code on Google Code when I feel its ready, I'm currently
testing it on business application I'm working on and then we'll see.
If you (or anybody else) would like to give it a try, I might be able
to create some package and share this with you (or maybe create the
Google Code project right away). There is similar framework (don't
remember the name but can be found by Google ;-) ), which didn't
really didn't do the job for me because it was pretty difficult to
generate the reflection information that is needed (please correct me
if I got that wrong). My approach uses GWT generators and annotations
to specify which packages and which classes should participate in
reflection information generation. I'm supporting similar
functionality that java Class gives you with some modifications, but
you can obtain annotations, get/set fields and even call public
methods and create new instance in reflective way (but you need to be
careful on what info you add because it could greatly enlarge your
resulting JS code). I also have unit tests (of course) for bunch of
stuff but it would require a lot of cleanup I guess.

So if anyone is interested just leave a message ;-)

--
Honza Rames

On 31 kvě, 16:20, Adolfo Panizo Touzon 
wrote:
> Can somebody the function about de class Generator and all the similar
> classes which is contained int he packpage "com.google.gwt.core.ext", it´s
> used for deferred binding?
>
> Maybe if I want use reflection in my app, I must use these classes??
>
> --
> El precio es lo que pagas. El valor es lo que recibes.
> Warren Buffet

-- 
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: Action on a ImageResourceCell

2011-06-01 Thread Sydney
See my implementation:
http://pastie.org/2003461
http://pastie.org/2003467

The call to add the column:

// Remove Bet Column
ClickableImageResourceCell removeCell = new 
ClickableImageResourceCell();
Column removeColumn = new Column(removeCell) {
@Override
public YourObject getValue(YourObject obj) {
return obj;
}
};
removeCell.setUpdater(this);


I use a ValueUpdater instead of a FieldUpdater. The class containing the 
CellTable implements ValueUpdater, I guess you can do the same 
with FieldUpdater.

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



Re: Can't get gwt remote service (path) to work

2011-06-01 Thread AppEngineNoob
Thank you very much. I found out that simply "thinpost/welcome" works,
but I just had to recompile (wasn't doing that before, when I tried
the same thing).

On Jun 1, 3:29 am, Carlos  wrote:
> hi,
>
> you should check your module file
> if you have used this pattern 
> then your module name is now reffered to as thinpost (thinpost is just
> an example)
> so the servlet mapping would look like the following
>
>   
>     thinpostService
>     thinpost/welcome
>   
>
> and don't forget to add the annotation
> @RemoteServiceRelativePath("welcome") on the top of the interface
> ThinpostService.java
> then compile your project and run it again.
>
> On 31 mai, 02:54, AppEngineNoob  wrote:
>
>
>
>
>
>
>
> > Hi,
>
> > I have an app named "thinpost", where client-side code lives in
> > com.mthusain.thinpost.client.* and server-side code lives in
> > com.mthusain.thinpost.server.* . I have made a service (for RPC with
> > AppEngine JDO) called ThinpostService. The ThinpostServiceAsync code
> > lives in the client-side whereas the ThinpostServiceImpl code lives in
> > the server. In the ThinpostService, I have included this line at the
> > top: @RemoteServiceRelativePath("welcome"). In the web.xml file, I
> > have:
>
> >   
> >   
> >     thinpostService
> >     com.mthusain.thinpost.server.ThinpostServiceImpl > servlet-class>
> >   
>
> >   
> >   
> >     thinpostService
> >     com.mthusain.thinpost/welcome
> >   
>
> > Why am I still getting this error:
>
> > com.google.gwt.user.client.rpc.StatusCodeException: 404
> > HTTP ERROR 404
>
> > Problem accessing /thinpost/welcome. Reason:
>
> >     NOT_FOUND
>
> > What am I doing wrong? I have tried many different combinations of url-
> > patterns: com.mthusain.thinpost.thinpost/welcome, com.mthusain/
> > welcome, com.mthusain/welcome, thinpost/welcome etc. but none seems to
> > work. Do I need to create a file in com.mthusain.thinpost called
> > welcome? If so, then what should I add in it? What am I missin here?
> > Any help would be kindly appreciated.
>
> > Thank you.

-- 
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 and OpenJPA not working together

2011-06-01 Thread roman
Thats good news!
Well obviously I am doing something wrong. When i discovered that I
have to remove the appengine jar from my classpath - to avoid problem
with dataNucleus - yesterday, I also tried the same in my dev branch
with OpenJPA. I saw some other exception.
But now that I know it should work, i can continue investigating.

It's definitly a filebased instance of Derby DB. My connection string
points to "C:\bin\apache-james\..."
cheers

On 30 Mai, 19:27, Patrick Julien  wrote:
> OpenJPA works fine with GWT.  Your issues have to do with the fact
> you're running on AppEngine.  I don't even see how it's possible you
> got derby running on AppEngine unless you're using an all memory
> database.
>
>
>
>
>
>
>
> On Mon, May 30, 2011 at 12:31 PM, roman  wrote:
> > allright. your push made me look into it a little deeper :-)
> > My solution to the "NoClassDefFoundError: java.io.FileOutputStream is
> > a restricted class" is disabling the usage of Google's App engine
> > under Project - Properties | Google | App Engine | Use Google App
> > Engine --> uncheck
>
> > After that i got "ClassCastException:
> > org.datanucleus.store.rdbms.RDBMSManager cannot be cast to
> > org.datanucleus.store.appengine.DatastoreManager" which made me
> > banning the datanucleus-appengine-1.0.8.final.jar from the projects
> > classpath as well.
> > I have no clue if this is a good idea, but my code is running so far
> > and I am able to make calls to the Derby database.
>
> > Which brings me back to my other question:
> > Is it utterly impossible to have the persistence layer running with
> > OpenJPA along with a GWT frontend? As I fear Apache James is dependent
> > on its familiar JPA technology.
>
> > again, thanks for your advice. you helped me loads
> > alltogether I spent already a week on these issues, and I'm craving
> > for answers
> > cheers
>
> > On 30 Mai, 14:48, Patrick Julien  wrote:
> >> I think that's specific enough:
>
> >> "Caused by: java.lang.NoClassDefFoundError: java.io.FileOutputStream
> >> is a restricted class. Please see the Google  App Engine developer's
> >> guide for more details."
>
> >> On Mon, May 30, 2011 at 4:29 AM, roman  wrote:
> >> > Thank you for your quick response.
> >> > I followed your advise and changed the underlying technology of my JPA
> >> > layer to DataNucleus.
>
> >> > But i ran into a different problem
>
> >> > log4j:WARN No appenders could be found for logger
> >> > (DataNucleus.Connection).
> >> > log4j:WARN Please initialize the log4j system properly.
> >> > [ERROR] javax.servlet.ServletContext log: unavailable
> >> > javax.persistence.PersistenceException: Provider error. Provider:
> >> > org.datanucleus.store.appengine.jpa.DatastorePersistenceProvider
> >> >        at 
> >> > javax.persistence.Persistence.createFactory(Persistence.java:176)
> >> >        ...
> >> >        at 
> >> > org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
> >> >        at
> >> > org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:
> >> > 409)
> >> >        at org.mortbay.thread.QueuedThreadPool
> >> > $PoolThread.run(QueuedThreadPool.java:582)
> >> > Caused by: javax.jdo.JDOFatalInternalException: Unexpected exception
> >> > caught.
> >> > NestedThrowables:
> >> > java.lang.reflect.InvocationTargetException
> >> >        at
> >> > javax.jdo.JDOHelper.invokeGetPersistenceManagerFactoryOnImplementation(JDOHelper.java:
> >> > 1186)
> >> >        at 
> >> > javax.jdo.JDOHelper.getPersistenceManagerFactory(JDOHelper.java:
> >> > 803)
> >> >        at 
> >> > javax.jdo.JDOHelper.getPersistenceManagerFactory(JDOHelper.java:
> >> > 698)
> >> >        ...
> >> > Caused by: java.lang.NoClassDefFoundError: java.io.FileOutputStream is
> >> > a restricted class. Please see the Google  App Engine developer's
> >> > guide for more details.
> >> >        at
> >> > com.google.appengine.tools.development.agent.runtime.Runtime.reject(Runtime.java:
> >> > 51)
> >> >        at
> >> > org.apache.derby.impl.services.stream.SingleStream.PBmakeFileHPW(Unknown
> >> > Source)
> >> >        at org.apache.derby.impl.services.stream.SingleStream.run(Unknown
> >> > Source)
>
> >> > Well I see that i probably have got an error in the configuration of
> >> > the DataStorePersistenceProvider. Unfortunately, I am not sure what
> >> > the error could be. Is there any way to get a more specific
> >> > description of what is causing the problem?
>
> >> > cheers, roman
>
> >> > On 27 Mai, 15:28, Patrick Julien  wrote:
> >> >> If you wan't to use JPA with AppEngine, you have to use the JPA that
> >> >> comes with AppEngine which is based on datanucleus.  See
>
> >> >>http://code.google.com/appengine/docs/java/datastore/jpa/overview.html
>
> >> >> for an overview
>
> >> >> On Fri, May 27, 2011 at 5:56 AM, roman  wrote:
> >> >> > Hi,
> >> >> > I'm trying to implement a UserManagement based on GoogleWebToolkit
> >> >> > (Adding, deleting, assigning privileged; nothing special there). The
> >> >> >GWT-module

Re: New GWT /App engine site

2011-06-01 Thread ale
Hi, 
the term and conditions to use google maps with gwt, are the same of every 
other technology: you have to get a key, then you can use for free (with 
some limitation, like not hide google logo or don't sell service...)
when you get an api key, you can read the official term and conditions.
http://code.google.com/intl/it-IT/apis/maps/signup.html

To integrate with gwt I use gwp-maps from here

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

is very useful and simple to use, there is also a sample application that 
explain very well everything is possible to do.
This library use  gmap v2 not v3. (but for me is ok)

Alessandro

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/THp2Sk9XZHA2VkFK.
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: configure db in web.xml

2011-06-01 Thread ArnoNyhm
i figure it out.
my database was created in default path, connection string look like
this:  jdbc:derby:database.

i change it to jdbc:derby:c:\database,  now the webserver know, where
the database is.

On 1 Jun., 13:16, ArnoNyhm  wrote:
> here the exception:
>
> tarting Jetty on port 
>    [WARN] Exception while dispatching incoming RPC call
> com.google.gwt.user.server.rpc.UnexpectedException: Service method
> 'public abstract com.*.***.shared.Data
> com.***.***.client.CommunicationService.getTimelineData()
> throws java.lang.IllegalArgumentException' threw an unexpected
> exception: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
>         at
> com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:
> 385)
>         at
> com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:
> 588)
>         at
> com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:
> 208)
>         at
> com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:
> 248)
>         at
> com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:
> 62)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>         at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
> 487)
>         at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:
> 362)
>         at
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:
> 216)
>         at
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:
> 181)
>         at
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:
> 729)
>         at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:
> 405)
>         at
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
> 152)
>         at
> org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:
> 49)
>         at
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
> 152)
>         at org.mortbay.jetty.Server.handle(Server.java:324)
>         at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
> 505)
>         at org.mortbay.jetty.HttpConnection
> $RequestHandler.content(HttpConnection.java:843)
>         at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647)
>         at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
>         at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
>         at
> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:
> 395)
>         at org.mortbay.thread.QueuedThreadPool
> $PoolThread.run(QueuedThreadPool.java:488)
> Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
>         at java.util.ArrayList.RangeCheck(Unknown Source)
>         at java.util.ArrayList.get(Unknown Source)
>         at com.***.***.server.Server.init(Server.java:72)
>         at com.***.***.server.Server.(Server.java:29)
>         at
> com.***.***.server.CommunicationServiceImpl.getTimelineData(CommunicationServiceImpl.java:
> 16)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>         at java.lang.reflect.Method.invoke(Unknown Source)
>         at
> com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:
> 569)
>         ... 22 more
>
> On 1 Jun., 11:40, ArnoNyhm  wrote:
>
> > thats really strange. tables are created, but when i start a query i
> > get nothing, but the query should return one row.
>
> > On 1 Jun., 11:27, ArnoNyhm  wrote:
>
> > > Hi,
>
> > > i have a problem with my embedde derby database. here is my web.xml:
>
> > >         
> > >                 
> > >                         org.apache.derby.jdbc.EmbeddedDriver
> > >                         jdbc:derby:C:\Documents and
> > >                                 
> > > Settings\*\workspace1\contactApp\contactDB
> > >                         user
> > >                         user
> > >                 
> > >         
>
> > > is it correct?
> > > i start a rpc, but get a unexpected exception. if i test my method on
> > > server side, without rpc everything is working fine.

-- 
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: Overriding a css style loclly

2011-06-01 Thread Brian Reilly
If you want to style all of the Label widgets that are inside a
specific container (e.g. HTMLPanel), you can put a class on the
container add a rule to target labels inside of it.


  @external .gwt-Label;

  .container .gwt-Label {
color: #000;
  }



  This text will be styled by static stylesheets
  
This text will be black
  


.container will be obfuscated, but .gwt-Label will not because it's
declared as external.

-- Brian


On Tue, May 31, 2011 at 6:06 AM, Adolfo Panizo Touzon
 wrote:
> Hi lalit, try it with this
>      
>          @external gwt-Label;
>    .gwt-Label{ color: #000 !Important; }
>  
> I founded it here
>
> 2011/5/30 lalit 
>>
>> I have a lot of labels in my application.I have overriding the style
>> as most of the place, I need the new style and it works fines. the
>> overridden style is
>>
>> .gwt-Label {
>>    font-size: 15px;
>>    font-weight: bold;
>>    color: #fff;
>>    float: inherit;
>> }
>>
>> However at one particular place I need the color of label to be black,
>> so I was trying to override the style in that ui.xml locally like
>>
>>         
>>          @external gwt-Label;
>>    .gwt-Label{ color: #000; }
>>  
>>
>> However this impacts the style of label at other places also. Is there
>> a way to override the standard style in a ui.xm so that it impacts the
>> widgets of only in that ui binder.
>>
>> thanks in advance,
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To post to this group, send email to google-web-toolkit@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-web-toolkit+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>
>
>
> --
> El precio es lo que pagas. El valor es lo que recibes.
> Warren Buffet
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

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



Re: Codesplitting and ``If-Modified-Since`` Header

2011-06-01 Thread David Chandler
Hi Andi,

Have a look at the browser's Developer Tools to inspect what the browser is
actually seeing. In the initial response from the server, do the
Last-Modified, Expires, and Cache-control headers appear as above? In the
subsequent request, is the browser sending an If-Modified-Since header based
on the Last-Modified time as above?

/dmc

On Wed, Jun 1, 2011 at 6:11 AM, pansen  wrote:

> Hey guys,
>
> it seems not as if this is a gwt issue, but a header/browser issue.
> I'm asking you anyway, maybe someone knows about the way splitted
> scripts are requested.
>
> I proved the server responds in a correct manner if ``If-Modified-
> Since`` is sent.
>
> # this file is included in the hosted page via ``

Re: configure db in web.xml

2011-06-01 Thread ArnoNyhm
here the exception:

tarting Jetty on port 
   [WARN] Exception while dispatching incoming RPC call
com.google.gwt.user.server.rpc.UnexpectedException: Service method
'public abstract com.*.***.shared.Data
com.***.***.client.CommunicationService.getTimelineData()
throws java.lang.IllegalArgumentException' threw an unexpected
exception: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at
com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:
385)
at
com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:
588)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:
208)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:
248)
at
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:
62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
487)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:
362)
at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:
216)
at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:
181)
at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:
729)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:
405)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
152)
at
org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:
49)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
152)
at org.mortbay.jetty.Server.handle(Server.java:324)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
505)
at org.mortbay.jetty.HttpConnection
$RequestHandler.content(HttpConnection.java:843)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:
395)
at org.mortbay.thread.QueuedThreadPool
$PoolThread.run(QueuedThreadPool.java:488)
Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at com.***.***.server.Server.init(Server.java:72)
at com.***.***.server.Server.(Server.java:29)
at
com.***.***.server.CommunicationServiceImpl.getTimelineData(CommunicationServiceImpl.java:
16)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:
569)
... 22 more

On 1 Jun., 11:40, ArnoNyhm  wrote:
> thats really strange. tables are created, but when i start a query i
> get nothing, but the query should return one row.
>
> On 1 Jun., 11:27, ArnoNyhm  wrote:
>
> > Hi,
>
> > i have a problem with my embedde derby database. here is my web.xml:
>
> >         
> >                 
> >                         org.apache.derby.jdbc.EmbeddedDriver
> >                         jdbc:derby:C:\Documents and
> >                                 
> > Settings\*\workspace1\contactApp\contactDB
> >                         user
> >                         user
> >                 
> >         
>
> > is it correct?
> > i start a rpc, but get a unexpected exception. if i test my method on
> > server side, without rpc everything is working fine.

-- 
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: Action on a ImageResourceCell

2011-06-01 Thread Jambi
I could solve my problems and I got it to work. But now I want to use
a FieldUpdater to get the row object when I click on the cell. It does
not work with the tutorial solution. Do I have to add something?

On 1 Jun., 10:49, Jambi  wrote:
> I couldn´t get it working. And I don´t know what I did wrong. Could
> you please provide me with the code of your renderer, cell and
> cellTable setup? This would be great. I know that you sure customized
> your cell for your use cases but it really could help. You could send
> it via mail or just post the code here if you want. I´m sure that a
> lot of users could need a working implementation of a
> clickableImageCell... I´m wondering why there´s no build in
> implementation?
>
> Cheers, Mike
>
> On 31 Mai, 19:44, Sydney  wrote:
>
> > In a CellTable

-- 
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: Codesplitting and ``If-Modified-Since`` Header

2011-06-01 Thread pansen
Hey guys,

it seems not as if this is a gwt issue, but a header/browser issue.
I'm asking you anyway, maybe someone knows about the way splitted
scripts are requested.

I proved the server responds in a correct manner if ``If-Modified-
Since`` is sent.

# this file is included in the hosted page via ``

Re: configure db in web.xml

2011-06-01 Thread ArnoNyhm
thats really strange. tables are created, but when i start a query i
get nothing, but the query should return one row.

On 1 Jun., 11:27, ArnoNyhm  wrote:
> Hi,
>
> i have a problem with my embedde derby database. here is my web.xml:
>
>         
>                 
>                         org.apache.derby.jdbc.EmbeddedDriver
>                         jdbc:derby:C:\Documents and
>                                 
> Settings\*\workspace1\contactApp\contactDB
>                         user
>                         user
>                 
>         
>
> is it correct?
> i start a rpc, but get a unexpected exception. if i test my method on
> server side, without rpc everything is working fine.

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



configure db in web.xml

2011-06-01 Thread ArnoNyhm
Hi,

i have a problem with my embedde derby database. here is my web.xml:




org.apache.derby.jdbc.EmbeddedDriver
jdbc:derby:C:\Documents and

Settings\*\workspace1\contactApp\contactDB
user
user



is it correct?
i start a rpc, but get a unexpected exception. if i test my method on
server side, without rpc everything is working fine.

-- 
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: New GWT /App engine site

2011-06-01 Thread Deepak Singh
Hi,

Nice work. I am also supposed to integrate google maps with a gwt
application. Can you pls guide on this technically ? is it free to use or do
we need to pay for using maps ?

Thanks
Deepak

On Tue, May 31, 2011 at 11:05 PM, David Chandler wrote:

> Friendly reminder: the appropriate place to post sites built with GWT is
> gwtgallery.appspot.com. Folks can subscribe to the "Recent projects" RSS
> feed to keep up with the latest projects built with GWT.
>
> Let's preserve the GWT group for technical discussion about GWT.
>
> Thanks,
> /dmc
>
>
> On Tue, May 31, 2011 at 12:47 PM, Rich Dean  wrote:
>
>> Nice.
>>
>> On May 31, 11:52 am, ale  wrote:
>> > Hello everyone.
>> > I am very happy to introduce you to a site made by me and my friend
>> Giorgio.
>> >
>> > http://www.youtrail.com
>> >
>> > The website ha been completely developed with GWT, and deployed on the
>> app
>> > engine.
>> > The main theme of the site are the outdoor sports/activities: you can
>> find
>> > some trail with description, detailed notes (difficulty, length,
>> > elevation...) GPS tracks, images, videos and of course users reviews.
>> > Registerd users can post their own personal reviews and observations,
>> they
>> > can suggest new trails or suggest changes to the exinting ones and so
>> on;
>> > expressing preferences is an other options.
>> >
>> > I would also like to thank the newsgroup, because often I have searched
>>  and
>> > found solutions for our problems here.
>> >
>> > I hope you will enjoy the site, and if you have any questions about how
>> we
>> > developed some part of the website (maps, authentication connection,
>> import
>> > from picasa flickr youtube, facebook...), I will be happy to explain.
>> >
>> > Every suggestion is more than welcome !
>> >
>> > See you soon, thanks
>> > Alessandro
>>
>> --
>> 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.
>>
>>
>
>
> --
> David Chandler
> Developer Programs Engineer, Google Web Toolkit
> w: http://code.google.com/
> b: http://googlewebtoolkit.blogspot.com/
> t: @googledevtools
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

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



Re: Action on a ImageResourceCell

2011-06-01 Thread Jambi
I couldn´t get it working. And I don´t know what I did wrong. Could
you please provide me with the code of your renderer, cell and
cellTable setup? This would be great. I know that you sure customized
your cell for your use cases but it really could help. You could send
it via mail or just post the code here if you want. I´m sure that a
lot of users could need a working implementation of a
clickableImageCell... I´m wondering why there´s no build in
implementation?

Cheers, Mike

On 31 Mai, 19:44, Sydney  wrote:
> In a CellTable

-- 
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 meets Adobe Flex: gwt4air 2.1 is here !

2011-06-01 Thread Alain Ekambi
The Flex API of gwt4air is just a  new UI layer for GWT. Meaning that all
the backend stuff(RPC, RF, RequestBuilder, etc...) should work as usual.
Here is a real world example of using GWT RPC with gwt4air.
http://www.gwt4air.appspot.com/#mx.extended.rpc
Like you can see i just swapped the  native GWT UI with a FleX UI. The RPC
service are the default one that  gets created by GPE(when creating a new
project)

cheers,

Alain


2011/6/1 gwt.user 

> How do i use RPC with the gwt4air Flex API ?
> Cant get it to work.
> Thx
>
> --
> 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 API for  non Java based platforms
http://code.google.com/p/gwt4air/
http://www.gwt4air.appspot.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.



Error during compiling with CellList (2.3)

2011-06-01 Thread Mark Meyer
Moin!

I get the following error using CellList in GWT 2.3 in this piece of code:

TestG.java:91:  CellList cellList = new CellList(new 
ClickableTextCell());

the Error:

09:43:54.856 [ERROR] [testg] Generator 
'com.google.gwt.resources.rebind.context.InlineClientBundleGenerator' threw 
an exception while rebinding 
'com.google.gwt.user.cellview.client.CellList.Resources'

java.lang.NullPointerException: null
at 
com.google.gwt.resources.rg.ImageResourceGenerator$BundledImage.addImage(ImageResourceGenerator.java:99)
at 
com.google.gwt.resources.rg.ImageResourceGenerator.prepare(ImageResourceGenerator.java:544)
at 
com.google.gwt.resources.rebind.context.AbstractClientBundleGenerator.initAndPrepare(AbstractClientBundleGenerator.java:1024)
at 
com.google.gwt.resources.rebind.context.AbstractClientBundleGenerator.initAndPrepare(AbstractClientBundleGenerator.java:1050)
at 
com.google.gwt.resources.rebind.context.AbstractClientBundleGenerator.generateIncrementally(AbstractClientBundleGenerator.java:399)
at 
com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java:681)
at 
com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:41)
at 
com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind(StandardRebindOracle.java:74)
at 
com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:285)
at 
com.google.gwt.dev.shell.ShellModuleSpaceHost.rebind(ShellModuleSpaceHost.java:141)
at com.google.gwt.dev.shell.ModuleSpace.rebind(ModuleSpace.java:585)
at 
com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java:455)
at com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:49)
at com.google.gwt.core.client.GWT.create(GWT.java:98)
at 
com.google.gwt.user.cellview.client.CellList.getDefaultResources(CellList.java:148)
at 
com.google.gwt.user.cellview.client.CellList.(CellList.java:175)
at org.ofosos.gwtest.client.TestG.onModuleLoad(TestG.java:91)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:396)
at 
com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:193)
at 
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:510)
at 
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:352)
at java.lang.Thread.run(Thread.java:679)

I searched for this error and came across various posts, that basically said 
to increase ulimits open files parameters. However that didn't fix the 
issue. Anybody care to tell me, where to look for the bug?

Kind regards, Mark

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/Zkh0WFI0UTk3dXdK.
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: creating war

2011-06-01 Thread Carlos
hi,

try this

http://blog.elitecoderz.net/gwt-and-tomcat-create-war-using-eclipse-to-deploy-war-on-tomcat/2009/12/

read it carefully and apply it
it worked with me



On 1 juin, 06:46, Navindian  wrote:
> How to create a war out of GWT Web application project?

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



Re: Can't get gwt remote service (path) to work

2011-06-01 Thread Carlos
hi,

you should check your module file
if you have used this pattern 
then your module name is now reffered to as thinpost (thinpost is just
an example)
so the servlet mapping would look like the following

  
thinpostService
thinpost/welcome
  

and don't forget to add the annotation
@RemoteServiceRelativePath("welcome") on the top of the interface
ThinpostService.java
then compile your project and run it again.


On 31 mai, 02:54, AppEngineNoob  wrote:
> Hi,
>
> I have an app named "thinpost", where client-side code lives in
> com.mthusain.thinpost.client.* and server-side code lives in
> com.mthusain.thinpost.server.* . I have made a service (for RPC with
> AppEngine JDO) called ThinpostService. The ThinpostServiceAsync code
> lives in the client-side whereas the ThinpostServiceImpl code lives in
> the server. In the ThinpostService, I have included this line at the
> top: @RemoteServiceRelativePath("welcome"). In the web.xml file, I
> have:
>
>   
>   
>     thinpostService
>     com.mthusain.thinpost.server.ThinpostServiceImpl servlet-class>
>   
>
>   
>   
>     thinpostService
>     com.mthusain.thinpost/welcome
>   
>
> Why am I still getting this error:
>
> com.google.gwt.user.client.rpc.StatusCodeException: 404
> HTTP ERROR 404
>
> Problem accessing /thinpost/welcome. Reason:
>
>     NOT_FOUND
>
> What am I doing wrong? I have tried many different combinations of url-
> patterns: com.mthusain.thinpost.thinpost/welcome, com.mthusain/
> welcome, com.mthusain/welcome, thinpost/welcome etc. but none seems to
> work. Do I need to create a file in com.mthusain.thinpost called
> welcome? If so, then what should I add in it? What am I missin here?
> Any help would be kindly appreciated.
>
> Thank you.

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