Re: Changing characters form lower to upper case in TextBox

2017-07-06 Thread Juan Carlos
Good Morning

In my case, i was resolved this problem with following code:

@Ian Bambury also shared this solution

TextBox example= new TextBox();
example.addKeyboardListener(new KeyboardListener() {
@Override
public void onKeyPress(Widget sender, char keyCode, int modifiers) {
DeferredCommand.add(new Command() {
@Override
public void execute() {
example.setText(example.getText().toUpperCase()); 
}
});
}

@Override
public void onKeyDown(Widget sender, char keyCode, int modifiers) {
}

@Override
public void onKeyUp(Widget sender, char keyCode, int modifiers) { 
}
});

El miércoles, 27 de septiembre de 2006, 14:48:02 (UTC-5), owl escribió:
>
> How to change characters form lower to upper case in TextBox as they
> are being typed??
>
>

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


Connect client gwt with server external.... help

2014-10-29 Thread carlos espitia
hi, 
I write because I am developing a connection that allows communication 
between me gwt gwt client and an external server and I've already failed 
RPC requests and HTTP communication and works well when working on the same 
project. But now I want to implement the project on a local client and can 
connect to the server developed in another project. I've done everything 
but I get this to work. I hope I can count on your help. Thank you very 
much.

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


Boost performance of Widget creation by using DocumentFragment, Range.createContextualFragment or something else?

2014-03-04 Thread Carlos Aguayo
Hi folks,

I work with an app that builds hundreds of widgets and obviously has a 
performance hit. I'm well aware of performance improvements of the sort of: 
reduce the number of widgets, use directly html, use cell widgets, etc, 
however those paths are not helpful for me.

I'm just interested in making widget creation even faster. There's well 
known techniques using DocumentFragment or Range.createContextualFragment:
https://developer.mozilla.org/en/docs/Web/API/DocumentFragment
https://developer.mozilla.org/en-US/docs/Web/API/range.createContextualFragment
http://ejohn.org/blog/dom-documentfragments/

I noticed that in the GWT code and noticed that whenever creating widgets 
using UiBinder, GWT creates a hidden div that is directly attached to the 
DOM:
https://gwt.googlesource.com/gwt/+/master/user/src/com/google/gwt/uibinder/client/UiBinderUtil.java
 
 (line 84)
So apparently operations are not on an unattached DOM element which 
theoretically makes thing slower.

I tried to attach it to a DocumentFragment instead and while it seems that 
I'm seeing a small performance improvement, it's still hard to prove as the 
numbers that I get still vary a lot.

Anyway, my question for you  guys is that if you know of attempts to 
improve the speed of widget creation and what approaches have been taken?

Thanks!

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


Re: My own Java package (Mi propio paquete Java)

2014-01-28 Thread Juan Carlos Aranda
Gracias Juan Pablo y Jens

Yo me refiero a la parte "Client" de la estructura del proyecto. (Client,
Shared, Server) Te explico mi necesidad, he creado algunas clases en las
cuales he abstraido funcionalidad genérica y avanzada. La idea es crear un
paquete o archivo ".jar" que contenga dicha librería y asi poder
trasladarla a los desarrolladores para que vayan creando sus propias clases
heredadas de las que yo les entregue en el paquete .jar y hacer uso de los
metodos encapsulados.

Algo muy similar como cuando agregas el "sqljdbc4.jar" o el smartgwt.jar,
etc.

Agradezco tu tiempo y tu apoyo.


Saludos



*--------Juan Carlos Aranda*

2014-01-28 Juan Pablo Gardella 

> Hola Juan,
>
> Los fuentes al ser traducidos (pero ofuscados) a javascript no podes
> evitar que queden disponibles. La única forma que no develar los fuentes es
> ejecutar la parte comprometida en el servidor y no en el cliente.
>
> Saludos
>
>
> 2014-01-28 Juan Carlos Aranda 
>
>>
>> Good morning, greetings to the forum.
>>
>> I'm developing a system and I have a development team. There are some
>> classes that do not want to know the source code for security. I need
>> something like create a package containing all these classes to be used in
>> the Client part of a GWT project. I have tried to do so, the project does
>> not show syntax errors, but run the client gives Inherited errors and
>> stuff.
>>
>> Adding a little more complexity to the thing, it is noteworthy that some
>> classes use turn third party packages such as SmartGWT.
>>
>> Someone could help me solve this problem.
>>
>> I look forward to your comments and appreciate the time support.
>>
>> (Original in Spanish [Goole Translator])   :)
>>
>>
>> Version español:
>>
>> Buen día, saludos al foro.
>>
>> Estoy en el desarrollo de un sistema y tengo un equipo de desarrollo. Hay
>> algunas clases que no deseo que conozcan el codigo fuente por seguridad.
>> Necesito algo asi como crear un paquete que contengan todas esas clases
>> para ser usadas en la parte Client de un projecto GWT. He intentado
>> hacerlo, el projecto no muestra errores de sintaxis, pero al ejecuarlo da
>> errores de Inherited y esas cosas.
>>
>> Agregandole un poco mas de complejidad a la cosa, cabe mencionar que
>> algunas clases utilizan a su vez paquetes de terceros como por ejemplo,
>> SmartGWT.
>>
>> Alguien podria ayudarme a resolver este problema.
>>
>> Quedo a la espera de sus comentarios y agradezco el tiempo del apoyo.
>>
>> Atentamente,
>>
>>
>>
>>
>> * Juan Carlos Aranda*
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to google-web-toolkit+unsubscr...@googlegroups.com.
>> To post to this group, send email to google-web-toolkit@googlegroups.com.
>> Visit this group at http://groups.google.com/group/google-web-toolkit.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-web-toolkit+unsubscr...@googlegroups.com.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/groups/opt_out.
>

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


My own Java package (Mi propio paquete Java)

2014-01-28 Thread Juan Carlos Aranda
Good morning, greetings to the forum.

I'm developing a system and I have a development team. There are some
classes that do not want to know the source code for security. I need
something like create a package containing all these classes to be used in
the Client part of a GWT project. I have tried to do so, the project does
not show syntax errors, but run the client gives Inherited errors and
stuff.

Adding a little more complexity to the thing, it is noteworthy that some
classes use turn third party packages such as SmartGWT.

Someone could help me solve this problem.

I look forward to your comments and appreciate the time support.

(Original in Spanish [Goole Translator])   :)


Version español:

Buen día, saludos al foro.

Estoy en el desarrollo de un sistema y tengo un equipo de desarrollo. Hay
algunas clases que no deseo que conozcan el codigo fuente por seguridad.
Necesito algo asi como crear un paquete que contengan todas esas clases
para ser usadas en la parte Client de un projecto GWT. He intentado
hacerlo, el projecto no muestra errores de sintaxis, pero al ejecuarlo da
errores de Inherited y esas cosas.

Agregandole un poco mas de complejidad a la cosa, cabe mencionar que
algunas clases utilizan a su vez paquetes de terceros como por ejemplo,
SmartGWT.

Alguien podria ayudarme a resolver este problema.

Quedo a la espera de sus comentarios y agradezco el tiempo del apoyo.

Atentamente,




*Juan Carlos Aranda*

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


Re: SuperDevMode

2014-01-20 Thread Carlos Aguayo
Thanks so much for helping out!

I got things up and running, your explanations and the video were really 
clear, thanks!

On Monday, January 20, 2014 7:48:05 PM UTC-5, emurmur wrote:
>
> Carlos,
>
> You've gotten to the point of launching the SuperDevMode codeserver.  So  
> http://localhost:9876/ is the code server. At that point, you don't need 
> to have the SuperDevMode page open in the browser.  Now you need to load 
> the page the GWT app is hosted within..  I can often just go to my GWT 
> project's war file and double-click the html file to load it into chrome, 
> then choose the "Dev Mode On" bookmark to compile and run.  If your page 
> needs to talk to a server, then you'll want to launch from the server 
> address (like the hosted Jetty in the video).  In either case, once you 
> have the SuperDevMode code server running, you then want to load your GWT 
> host page then do the Dev Mode On compile.
>
> Ed
>
>
> On Sunday, January 19, 2014 3:16:32 PM UTC-8, Carlos Aguayo wrote:
>>
>> Hi, I don't seem to be able to get SuperDevMode to work. I'm following 
>> instructions from Brian's slides:
>>
>> https://docs.google.com/presentation/d/1DTWZ_06dQsTPhinIwzHSdoPMndRr92wpZoZWicK97YQ/edit?forcehl=1&hl=en#slide=id.g25a114ce1_2056
>> I can get to normal devmode with "ant devmode". But when I do "ant 
>> superdevmode", things seem to compile and start up fine, I then go to 
>> http://localhost:9876/ using Chrome (I tried both 32 and canary), I see 
>> the welcome screen to drag the "Dev mode on/off" buttons, I drag them to 
>> the toolbar, the welcome page says that the "hello" project is available, I 
>> click on that link and then I click on the "dev mode on" bookmark and I get 
>> the "Can't find any GWT Modules on this page.". What step am I missing or 
>> what am I doing wrong?
>> Thanks!
>> Carlos
>>
>

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


SuperDevMode

2014-01-19 Thread Carlos Aguayo
Hi, I don't seem to be able to get SuperDevMode to work. I'm following 
instructions from Brian's slides:
https://docs.google.com/presentation/d/1DTWZ_06dQsTPhinIwzHSdoPMndRr92wpZoZWicK97YQ/edit?forcehl=1&hl=en#slide=id.g25a114ce1_2056
I can get to normal devmode with "ant devmode". But when I do "ant 
superdevmode", things seem to compile and start up fine, I then go 
to http://localhost:9876/ using Chrome (I tried both 32 and canary), I see 
the welcome screen to drag the "Dev mode on/off" buttons, I drag them to 
the toolbar, the welcome page says that the "hello" project is available, I 
click on that link and then I click on the "dev mode on" bookmark and I get 
the "Can't find any GWT Modules on this page.". What step am I missing or 
what am I doing wrong?
Thanks!
Carlos

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


Re: Firefox in OS X freezes in DevMode.

2013-11-09 Thread Carlos Aguayo
I really appreciate your help Colin.

At this point I believe it's some misconfiguration in my computer. I tried 
to do a jconsole on the devmode process and it said it couldn't connect to 
it. I then did a jstack and said the same but this time the utility 
suggested to use a "-F" to force it, when I did that, I was able to see the 
threads. I then tried to launch firefox and sudo mode, and voila, that 
worked! So I open Firefox in normal mode, it can't connect to the plugin, I 
then try it in root mode and works...

The devmode process and eclipse are running with my account, so I can't 
tell what else I could have messed up but the important is that I can work 
and move on.

I appreciate the help,

On Saturday, November 9, 2013 3:10:58 PM UTC-5, Colin Alworth wrote:
>
> If you can repro this on at least one other machine and get the details of 
> what the JVM is doing, that'd be helpful. I have a very basic 
> familiarity with the dev mode code from researching the FF dev mode memory 
> leak, and would be happy to take a closer look. From your description it 
> sounds like the JVM is either also waiting for the browser (and we'll need 
> to figure out how it got into that bad state with one having ignored a 
> message from the other), or the JVM is blocked on something else entirely, 
> the real source of the bug. My bet is on the latter, that something funny 
> is going on there.
>
> Recent updates to Dev Mode were made for all platforms, nothing 
> mac-specific, so that seems unlikely. Getting an old copy of firefox and an 
> old (pre-ff25) copy of the plugin would probably be worth testing as well 
> if you are able to repro this on more than one box.
>
> Note: the FF-devmode memory leak has to do with the old pages failing to 
> shut down the plugin correctly, so make certain that you don't load more 
> than once. If you do, your JVM will have two different threads trying to 
> talk to the browser, and it may be difficult to tell which one is the 
> current one, versus the 'memory leak' one.
>
> On Saturday, November 9, 2013 11:01:40 AM UTC-6, Carlos Aguayo wrote:
>>
>> Thanks Colin, yeah that's what I figured, initially I thought that it 
>> would be a problem in the plugin given that it was only blocking Firefox 
>> and only in OS X (given that Chrome worked and also Firefox but under 
>> Linux).
>> I started debugging and got all the way there.
>>
>> I doubt that it's a breakpoint or having to wait for a long time as I did 
>> leave the browser for a few minutes, there's no breakpoints and CPU is not 
>> peaking, so I'd think there's something else waiting.
>>
>> I'll follow your suggestion and check now the other side, but it's good 
>> to know that you haven't had an issue with FF and Mavericks as then that 
>> would sadly imply that there's something wrong with my computer :(.
>>
>> On Friday, November 8, 2013 9:20:10 PM UTC-5, Colin Alworth wrote:
>>>
>>> Line 155:
>>>
>>> ssize_t n = recv(sock, readBuf, BUF_SIZE, 0);
>>>
>>> That seems to say 'block until bytes are written by the other end of the 
>>> socket', or in other words, wait until the JVM is ready to go. Are you sure 
>>> that the IDE isn't paused on a breakpoint, or that you have waited long 
>>> enough for the page to load? When the browser is in this state, try pausing 
>>> the JVM to see what the dev mode thread is doing - I'm betting it is hard 
>>> at work on something... but if it too is waiting for something, that could 
>>> be a problem.
>>>
>>> But the recv call is *supposed* to block, at least until dev mode has 
>>> finished running its not-yet-JS code.
>>>
>>> We've had no issues with Mavericks and latest FF in our projects fwiw, 
>>> aside from the usual 'dev mode takes longer to do anything' fun.
>>>
>>> On Thursday, November 7, 2013 10:59:18 PM UTC-6, Carlos Aguayo wrote:
>>>>
>>>> It's getting stuck in line 155 in:
>>>>
>>>> https://gwt.googlesource.com/gwt-plugins/+/master/common/Socket.cpp
>>>>
>>>> On Thursday, November 7, 2013 7:32:28 PM UTC-5, Carlos Aguayo wrote:
>>>>>
>>>>> I'm started to have issues when trying to use DevMode with Firefox in 
>>>>> OS X and the only thing "new" is that I upgraded to Mavericks.
>>>>>
>>>>> Here's what I see: I create a GWT sample app (the default one that 
>>>>> comes with the Eclipse GWT plugin), I launch dev mode

Re: Firefox in OS X freezes in DevMode.

2013-11-09 Thread Carlos Aguayo
Thanks Colin, yeah that's what I figured, initially I thought that it would 
be a problem in the plugin given that it was only blocking Firefox and only 
in OS X (given that Chrome worked and also Firefox but under Linux).
I started debugging and got all the way there.

I doubt that it's a breakpoint or having to wait for a long time as I did 
leave the browser for a few minutes, there's no breakpoints and CPU is not 
peaking, so I'd think there's something else waiting.

I'll follow your suggestion and check now the other side, but it's good to 
know that you haven't had an issue with FF and Mavericks as then that would 
sadly imply that there's something wrong with my computer :(.

On Friday, November 8, 2013 9:20:10 PM UTC-5, Colin Alworth wrote:
>
> Line 155:
>
> ssize_t n = recv(sock, readBuf, BUF_SIZE, 0);
>
> That seems to say 'block until bytes are written by the other end of the 
> socket', or in other words, wait until the JVM is ready to go. Are you sure 
> that the IDE isn't paused on a breakpoint, or that you have waited long 
> enough for the page to load? When the browser is in this state, try pausing 
> the JVM to see what the dev mode thread is doing - I'm betting it is hard 
> at work on something... but if it too is waiting for something, that could 
> be a problem.
>
> But the recv call is *supposed* to block, at least until dev mode has 
> finished running its not-yet-JS code.
>
> We've had no issues with Mavericks and latest FF in our projects fwiw, 
> aside from the usual 'dev mode takes longer to do anything' fun.
>
> On Thursday, November 7, 2013 10:59:18 PM UTC-6, Carlos Aguayo wrote:
>>
>> It's getting stuck in line 155 in:
>>
>> https://gwt.googlesource.com/gwt-plugins/+/master/common/Socket.cpp
>>
>> On Thursday, November 7, 2013 7:32:28 PM UTC-5, Carlos Aguayo wrote:
>>>
>>> I'm started to have issues when trying to use DevMode with Firefox in OS 
>>> X and the only thing "new" is that I upgraded to Mavericks.
>>>
>>> Here's what I see: I create a GWT sample app (the default one that comes 
>>> with the Eclipse GWT plugin), I launch dev mode and try to access it with 
>>> Firefox, as soon as I paste the address, the browser freezes.
>>> It stays frozen until I stop development mode, once I do that, Firefox 
>>> comes back to life.
>>>
>>> Using Chrome is fine. I also have a VM setup with Linux and Firefox, if 
>>> I try to debug through that Firefox, everything works as well.
>>>
>>> I tried to see if there was any sort of deadlock in the devmode plugin 
>>> by using jconsole but it says that there's no deadlock.
>>>
>>> I have already ensured that Firefox is clean by doing a "Reset 
>>> Firefox...".
>>>
>>> Apparently the only thing that fixes this issue is by creating a new 
>>> profile. After I create a new profile, I only install the GWT plugin and 
>>> works for a few days, then it freezes again. I don't install anything else 
>>> in Firefox.
>>>
>>> I have tried different versions of Firefox (21, 24 and 25) and I see the 
>>> same behavior in all of them.
>>>
>>> I was wondering if anyone else could be seeing something similar and/or 
>>> would have any suggestions as to how to debug the GWT extension to try to 
>>> figure out what's going on?
>>>
>>

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


Re: Firefox in OS X freezes in DevMode.

2013-11-07 Thread Carlos Aguayo
It's getting stuck in line 155 in:

https://gwt.googlesource.com/gwt-plugins/+/master/common/Socket.cpp

On Thursday, November 7, 2013 7:32:28 PM UTC-5, Carlos Aguayo wrote:
>
> I'm started to have issues when trying to use DevMode with Firefox in OS X 
> and the only thing "new" is that I upgraded to Mavericks.
>
> Here's what I see: I create a GWT sample app (the default one that comes 
> with the Eclipse GWT plugin), I launch dev mode and try to access it with 
> Firefox, as soon as I paste the address, the browser freezes.
> It stays frozen until I stop development mode, once I do that, Firefox 
> comes back to life.
>
> Using Chrome is fine. I also have a VM setup with Linux and Firefox, if I 
> try to debug through that Firefox, everything works as well.
>
> I tried to see if there was any sort of deadlock in the devmode plugin by 
> using jconsole but it says that there's no deadlock.
>
> I have already ensured that Firefox is clean by doing a "Reset Firefox...".
>
> Apparently the only thing that fixes this issue is by creating a new 
> profile. After I create a new profile, I only install the GWT plugin and 
> works for a few days, then it freezes again. I don't install anything else 
> in Firefox.
>
> I have tried different versions of Firefox (21, 24 and 25) and I see the 
> same behavior in all of them.
>
> I was wondering if anyone else could be seeing something similar and/or 
> would have any suggestions as to how to debug the GWT extension to try to 
> figure out what's going on?
>

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


Firefox in OS X freezes in DevMode.

2013-11-07 Thread Carlos Aguayo
I'm started to have issues when trying to use DevMode with Firefox in OS X 
and the only thing "new" is that I upgraded to Mavericks.

Here's what I see: I create a GWT sample app (the default one that comes 
with the Eclipse GWT plugin), I launch dev mode and try to access it with 
Firefox, as soon as I paste the address, the browser freezes.
It stays frozen until I stop development mode, once I do that, Firefox 
comes back to life.

Using Chrome is fine. I also have a VM setup with Linux and Firefox, if I 
try to debug through that Firefox, everything works as well.

I tried to see if there was any sort of deadlock in the devmode plugin by 
using jconsole but it says that there's no deadlock.

I have already ensured that Firefox is clean by doing a "Reset Firefox...".

Apparently the only thing that fixes this issue is by creating a new 
profile. After I create a new profile, I only install the GWT plugin and 
works for a few days, then it freezes again. I don't install anything else 
in Firefox.

I have tried different versions of Firefox (21, 24 and 25) and I see the 
same behavior in all of them.

I was wondering if anyone else could be seeing something similar and/or 
would have any suggestions as to how to debug the GWT extension to try to 
figure out what's going on?

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


Re: change in children not saved in GWT 2.5.1 after implement OSIV

2013-06-01 Thread Antonio Carlos
I'm having the same issue.

Tried to edit the proxy with the same request context as the parent proxy, 
but no solution.

Also tried to create new child proxies and set to the parent, also without 
sucess;

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




Re: I/O 2013 - GWT Sessions?

2013-05-19 Thread Carlos Aguayo
Slides for "GWT Roadmap for the Future" are here:
https://docs.google.com/presentation/d/1PfXXegni0gcZQYpX09t0gs2Z9dqST5MmiHc_NoPSluo/edit#slide=id.p18

I couldn't find the youtube video for it.

The youtube video for the "Demystifying MVP and EventBus in GWT" is here:
http://www.youtube.com/watch?v=kilmaSRq49g


On Sunday, May 19, 2013 1:50:38 PM UTC-4, Benjamin Possolo wrote:
>
> I think a GWT conference would be great as well.
> It would probably make more sense to occur somewhere on the west coast 
> though since it is much closer to silicon valley.
>
> The San Diego Convention Center is always a great place for conventions.
>

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




Re: Can't deploy my project anymore

2013-03-20 Thread Juan Carlos Aranda
Do you fix the problem???  I have the same problem and not find the 
solution.

I install Eclipse, Gwt plugin and Designer.

Now my app not deploy.

Saludos.

Thanks.

El lunes, 18 de marzo de 2013 14:38:02 UTC-6, JoyaleXandre escribió:
>
> Hi everybody,
>
> Since friday I can't deploy my project anymore. 
>
> Went I start the war generation with the deploy button I instantly get an 
> error *message saying*:
> "Designer error occured.
> Select Details >> for more information.
> See the Error Log for more information.
>
> Reason:
> Parse error or internal Designer error,"
>
> *The stack trace is this: *
> "Plug-in Provider: Google
> Plug-in Name: 
> Plug-in ID: org.eclipse
>
> java.lang.NoClassDefFoundError: 
> org/eclipse/jdt/launching/IJavaLaunchConfigurationConstants
> at 
> com.google.gdt.eclipse.designer.actions.deploy.DeployModuleAction.getGWTProjectClasspath(DeployModuleAction.java:364)
> at 
> com.google.gdt.eclipse.designer.actions.deploy.DeployModuleAction.createBuildScript(DeployModuleAction.java:150)
> at 
> com.google.gdt.eclipse.designer.actions.deploy.DeployModuleAction.access$1(DeployModuleAction.java:131)
> at 
> com.google.gdt.eclipse.designer.actions.deploy.DeployModuleAction$1.run(DeployModuleAction.java:103)
> at 
> org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
>
> Full stack trace (to see full context):
> java.lang.reflect.InvocationTargetException
> at 
> com.google.gdt.eclipse.designer.actions.deploy.DeployModuleAction$1.run(DeployModuleAction.java:114)
> at 
> org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
> Caused by: java.lang.NoClassDefFoundError: 
> org/eclipse/jdt/launching/IJavaLaunchConfigurationConstants
> at 
> com.google.gdt.eclipse.designer.actions.deploy.DeployModuleAction.getGWTProjectClasspath(DeployModuleAction.java:364)
> at 
> com.google.gdt.eclipse.designer.actions.deploy.DeployModuleAction.createBuildScript(DeployModuleAction.java:150)
> at 
> com.google.gdt.eclipse.designer.actions.deploy.DeployModuleAction.access$1(DeployModuleAction.java:131)
> at 
> com.google.gdt.eclipse.designer.actions.deploy.DeployModuleAction$1.run(DeployModuleAction.java:103)
> ... 1 more
> "
>
> I completely uninstalled the Google Plugin and reinstalled it. I still get 
> this error.
>
> My last chance is probably to reinstall Eclipse from scratch, but I would 
> like to avoid reinstalling and configuring all my dev envirronnement.
>
> Can somebody help me please. Am I the only one who got this problem since 
> I tried to update the Google Plugin?
>

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




Re: GWT 2.5 RC1 Is Here!

2012-09-21 Thread Juan Carlos Aranda
Somebody please can tell me how to install the  gwt-2.5.0.rc1.zip in
Eclipse Juno ?

I downloaded the file.

Thanks

Pd. Excuseme my English.

2012/9/21 jones34 

> Great news. Congrats GWT team!
>
>
> On Wednesday, June 27, 2012 4:39:07 PM UTC-4, Rajeev Dayal wrote:
>
>> Hey all,
>>
>> We're excited to announce the GWT 2.5 Release Candidate! Read about it on
>> the GWT Blog <http://googlewebtoolkit.blogspot.com/2012/06/gwt-2.html>,
>> and download it here <http://developers.google.com/web-toolkit/download> 
>> (bottom
>> of the page). The RC has been uploaded to Maven Central with the version
>> string of 2.5.0-rc1.
>>
>> Please give it a try and let us know your feedback! Also, many thanks to
>> all of you for your contributions. Without your help, we wouldn't have had
>> a GWT 2.5 release at all!
>>
>>
>> -Rajeev, on behalf of the GWT team
>>
>  --
> 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/-/R5PISRlmgOwJ.
>
> 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.
>



-- 
*Juan Carlos Aranda*
Inteligencia de Negocios
jc_ara...@intel-negocios.com
+502 4192 2302
+502 2220 6876

-- 
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: User visible urls

2012-08-29 Thread Carlos Aguayo
Hi, I created an example and published an example based on Thomas' example:

http://carlosaguayo.posterous.com/html5-history-in-gwt

On Tuesday, February 28, 2012 10:31:43 AM UTC-5, apanizo wrote:
>
> Hi all,
>
> In the next weeks I'm going to start a new app, and I am really interested 
> in this question.
>
> The solution that @Thomas has proposed is really interested. But I don't 
> know exactly how it works.
>
> The question is, could you provide me an simple simple example? Or link?
>
> Thank you,
>
> Adolfo.
>
> 2012/2/27 Carlos Aguayo >
>
>> works like a sharm! thanks buddy!
>>
>>
>> On Wednesday, February 22, 2012 5:08:23 AM UTC-5, Thomas Broyer wrote:
>>>
>>> On Tuesday, February 21, 2012 6:04:55 PM UTC+1, Carlos Aguayo wrote:
>>>>
>>>> Hi Thomas, could you share the one that you wrote to use pushState? 
>>>> Thanks!
>>>>
>>>
>>> Here's a skeleton implementation: 
>>> https://gist.**github.com/1883821<https://gist.github.com/1883821>
>>>
>>  -- 
>> 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/-/OjZDD6XpY5gJ.
>>
>> To post to this group, send email to 
>> google-we...@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 view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/6bTuY7t332IJ.
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-Bootstrap 2.0.4.0 was released

2012-08-11 Thread Carlos Alexandro Becker
As the creator of the project, I'll like to say something, if you guys 
don't mind =D

First, I would like to apologize. Last months my life was changing too 
much, I don't has the time and willpower to contribute as much I want to.
Second, I would like to thank very much some persons:


   - Keisuke aka 'Soundtricker' - He just take the lead of the project when 
   I'm not with time to do that, and made a lot of  other very good 
   contributions. Thank you very much bro, you're awesome.
   - Dominik Mayer - he's the first guy who give some importance to the 
   project, when it is just a 'test', and he talk with keisuke and yusuke to 
   help the project, thank you very much bro, you're awesome.
   - Yusuke - he give a lot of help around the project. Thank you bro, 
   you're awesome!
   - All the other commiters and all the people that use GWT-Bootstrap and 
   report bugs, give suggestions, etc - You, guys, are the people that made we 
   believe in our project, and give us a reason to continue it. Thanks, you're 
   awesome.


I think that that's it.

Thanks everyone, I hope you enjoy this first release, and hope that more 
releases come soon :)


Cheers.
--
Carlos Alexandro Becker aka 'caarlos0'

On Saturday, August 11, 2012 3:18:49 AM UTC-3, soundTricker wrote:
>
> Hi Great gwt hackers.
>
> We released gwt-bootstrap 2.0.4.0.
>
> Maybe gwt-bootstrap 2.0.4.0 will be deployed to maven central repositry in 
> few days.
> Download : https://github.com/gwtbootstrap/gwt-bootstrap/downloads
> Showcase : http://gwtbootstrap.github.com
> Project : https://github.com/gwtbootstrap
> Mailing-list : gwt-bo...@googlegroups.com 
>
> Thanks our contributers, our  users ,our commiters and Great GWT hackers.
>
> --
> keisuke a.k.a soundTricker
>

-- 
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/-/eRHZSVMohlcJ.
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: ClientBundle with lots if Images

2012-07-03 Thread Carlos Silva
On Tue, Jul 3, 2012 at 3:59 PM, Thomas Broyer  wrote:

>
> On Tuesday, July 3, 2012 5:07:32 PM UTC+2, Carlos Silva wrote:
>>
>> Hi,
>>
>> since we can't use reflection on client side, what's an easy way to
>> access each ImageResource from a ClientBundle that has ~250 images? Doing
>> it in a if..then..else..if statement looks overkill, but I really can't
>> remember of anything else. Maybe I'm missing something. Any suggestions?
>>
>
> ClientBundleWithLookup<http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/resources/client/ClientBundleWithLookup.html>
> ?
>

That's what happens when one doesn't know the API :) 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.



ClientBundle with lots if Images

2012-07-03 Thread Carlos Silva
Hi,

since we can't use reflection on client side, what's an easy way to access
each ImageResource from a ClientBundle that has ~250 images? Doing it in a
if..then..else..if statement looks overkill, but I really can't remember of
anything else. Maybe I'm missing something. Any suggestions?

Thanks,
Carlos Silva

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



Help debug GWT Designer in eclipse

2012-07-02 Thread Carlos Silva
Hi,

I'm using Gentoo and I have eclipse version 4.2 along with swt 4.2 and
libwebkit-gtk installed. Everything looks good with respect to system
libraries and whatnot. Still, eclipse refuses to load up the designer
saying that it needs xulrunner version bla bla bla. On version 3.7 I had an
option to enable WebKit as renderer but now I don't.

I'm looking for help to diagnose the problem and try to understand if it's
a system configuration (or libraries installed) problem or some kind of
bug/"feature" of GWT Designer for Eclipse 4.2.

Thanks in advance,
Carlos Silva

-- 
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: Issues with Gwt Bootstrap on IE 8

2012-06-28 Thread Carlos Alexandro Becker
Hi Damu,

Please, try to add below code to your module.html head tag:





...

Best regards
Carlos

On Thursday, June 28, 2012 11:23:08 AM UTC-3, Dhamu wrote:
>
> Hi everyone,
>
> I have integrated GWT bootstrap with my GWT Application. 
> Some CSS of GWT Bootstrap are not rendered in IE8, but it looks fine in 
> Firefox, Google Chrome, Safari.
> I want to add specifically anything for Internet Explorer in GWT 
> application?
> And another thing, I have edited GWT Bootstrap source and i have debugged 
> locally. 
> Those edited functions are works fine in Google Chrome, Firefox & Safari 
> except Internet Explorer.
>
> I have attached screenshot also.
>
> I am using GWT SDK - 2.4.0
> GWT Bootstrap - 2.0.4
>
>
> Regards,
> Dhamu
>
>
>
>
>

-- 
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/-/A3eTTXMdXBcJ.
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 side equivalent of RpcRequestBuilder

2012-06-12 Thread Carlos Silva
Hi,

I'm using an RpcRequestBuilder to add a session id header to the http
request being made to the server.
Now, what I wanted was to on the *server* side, get the request and before
it get's executed (call the method), check if the session is valid.
How can I accomplish this?

My biggest problem is understanding the full workflow (classes involved) of
a GWT-RPC request, so I really don't know which class to
create/extend/define.

Any help is good help :)
Thanks in advance.

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



Re: How to create war file in GWT 2.4 / Eclipse Indigo

2012-05-18 Thread Carlos Silva
On Thu, May 17, 2012 at 8:19 PM, Assiya EL  wrote:

> you must to create a web project and add jar of GWT2.4 and not create a
> project gwt with plugin  it is possible to have a war of the
> project with this step
>
> good luck
>

I create a normal GWT Application (from the Eclipse plugin). Then export
the src folder into a .jar file in war/WEB-INF/lib/ and then use the
warbuilder.xml available from this[1] site.
Works like a charm. :)


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

-- 
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 UIBINDER LOADING .js

2012-05-17 Thread Carlos Alexandro Becker
I dont know if you can do this, but you can inject javascript via java code.

Take a look at this: 
https://github.com/gwtbootstrap/gwt-bootstrap/blob/master/src/main/java/com/github/gwtbootstrap/client/ui/resources/JavaScriptInjector.java

See ya


On Wednesday, May 16, 2012 8:43:45 PM UTC-3, Omar Rodriguez wrote:
>
> HI people, 
> I'm looking for some help, or any tutorial about  loading a javascript 
> file to my uibinder xml. 
>
> the situation is this, i´m creating custom html forms with dreamweaver 
> and puting them into my uibinder xml at my gwtp project, i'm trying to 
> load the .js creating a clientbundle but the .js doesn't load in the 
> app...the info that i found is very poor.  Thanks for help.

-- 
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/-/TNEia9wjLIIJ.
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 Debug & Firefox (for the n'th time)

2012-05-15 Thread Carlos Silva
On Tue, May 15, 2012 at 6:32 PM, Rori Stumpf wrote:

> I made the mistake of upgrading to FireFox 12. I thought Chrome would work
> for GWT debug, but that pig still isn't flying.
> So... where can I download FF 10? I've spent 1/2 hour trying to find it on
> the web, everything I found points back to FF12.
>

How come chrome doesn't work? I'm using the latest beta (19.X) and it
works.

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



Relaunch a GWT-RPC request after a failure

2012-05-14 Thread Carlos Silva
Hi,

I'm using RpcRequestBuilder to intercept and do some general modifications 
to every RPC I make on my application.
Is there a way, to if I caught a throwable on my RpcRequestBuilder, and I 
know that I should try to do the RPC again, relaunch the same RPC? 
It's theoretically possible, I just don't know what to same to launch the 
RPC request again. 
(and yes, I will be careful not to enter on a loop :) )

Thanks in advance

-- 
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/-/W90WEthp5msJ.
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: Client Bundle CSS3 parsing

2012-05-12 Thread Carlos Alexandro Becker
You can inject it has a text resource and use the class names directly, or 
from a constants interface. We do something like that in GWT-Bootstrap (
http://gwtbootstrap.github.com/).




On Friday, May 11, 2012 3:37:50 PM UTC-3, Joseph Lust wrote:
>
> Generally speaking, you should not be using vendor specific prefixes. The 
> W3C has recently been on the war 
> pathon this 
> very 
> issue.
>  
> As such, I would not expect GWT and Google to officially support an 
> officially unsupported CSS property.
>
> Usually you can get away with these sorts of things with the *literal()* 
> function 
> ClientBundle to get around the unrecognized gradient constructor:
>
> i.e.
>
> div-with-literal {
>
>  background-image: literal("linear-gradient(...)");
>
> }
>
>
> Note however this does not help you get around an unsupported property 
> name like *-moz-transition*. I'm not yet sure how to achieve this.
>
> Sincerely,
> Joseph
>

-- 
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/-/RhiwgAV9lyYJ.
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: Findbugs problem by GWT Project.

2012-05-11 Thread Carlos Alexandro Becker
I am with this problem here too...

On Monday, October 31, 2011 12:37:42 PM UTC-2, Kotuboy wrote:
>
> I have a maven GWT project and i am using findbugs to analyze the code.
>
> 
> org.codehaus.mojo
> findbugs-maven-plugin
> 2.3.2
> 
> 1.6
> com.mycompany.
> 
> 
> 
>
> But I am getting the following error and dont get any result from 
> findbugs. The other plugins are working properly.
>
>  [INFO] Fork Value is true
> [java] The following classes needed for analysis were missing:
> [java] com.google.gwt.core.client.GWTBridge
> [java] Missing classes: 2 
> [INFO] xmlOutput is false
>
>  What is the difference of findbugs?? What do you recommend?
>
>
>

-- 
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/-/urdax7AiVsMJ.
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 FormPanel does not submit the session

2012-05-04 Thread Carlos
I have found my error.  It fails in development mode in local and not when 
I deploy it in GAE. My fault was that when create the url to the 
blobservice (

blobstoreService.createUploadUrl("/upload")) 


it returns a url like this: http://*my_host_name*:/_ah/key_to_blob and 
it should return http://*127.0.0.1*:/_ah/key_to_blob . I have fixed 
this when I'm working on local, and all works ok. :D

-- 
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/-/lcX-O5p9xyoJ.
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: private static final EntityManagerFactory emfInstance = Persistence.createEntityManagerFactory("transactions-optional");

2012-05-03 Thread Carlos Alexandro Becker
Hmm.. but, without exception?

Please, make sure that your persistence.xml is in META-INF folder inside 
your war folder. JPA implementations usually cannot find the persistence 
unit if it arent inside this folder.


On Thursday, May 3, 2012 1:25:45 AM UTC-3, laxman lingampally wrote:
>
> Hi carlos,
>
> here EMF object got   null   value.
>
> this object  emfInstance  show's in debug mode null value,  why ??
>
> EntityManagerFactory emfInstance = 
> Persistence..createEntityManagerFactory("some_name_you_choose");
>
>
> please tell me asap.
>
> thanks & regards
> laxman
>
> On Thu, May 3, 2012 at 8:00 AM, Carlos Alexandro Becker <
> caarl...@gmail.com> wrote:
>
>> which error you got?
>>
>>
>> On Monday, April 30, 2012 10:46:26 AM UTC-3, laxman lingampally wrote:
>>>
>>> HI all, 
>>>
>>>
>>> please help me. 
>>>
>>> i am trying to create EMF object  but it is does't created. 
>>>
>>> private static final EntityManagerFactory emfInstance = 
>>> Persistence.**createEntityManagerFactory("**transactions-optional"); 
>>>
>>>
>>>
>>> Thanks & Regards 
>>> laxman 
>>>
>>  -- 
>> 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/-/3mt4Sys1xwkJ.
>>
>> 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 view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/3Juyn9xQg4AJ.
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 FormPanel does not submit the session

2012-05-03 Thread Carlos
I have the same problem that this issue:

http://stackoverflow.com/questions/9114190/gwt-formpanel-does-not-submit-the-session-id-after-updating-on-gwt-version-2-4-0


How do we can trick this error? 

Thank you

-- 
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/-/4WPMhxutbYwJ.
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: private static final EntityManagerFactory emfInstance = Persistence.createEntityManagerFactory("transactions-optional");

2012-05-02 Thread Carlos Alexandro Becker
which error you got?


On Monday, April 30, 2012 10:46:26 AM UTC-3, laxman lingampally wrote:
>
> HI all, 
>
>
> please help me. 
>
> i am trying to create EMF object  but it is does't created. 
>
> private static final EntityManagerFactory emfInstance = 
> Persistence.createEntityManagerFactory("transactions-optional"); 
>
>
>
> Thanks & Regards 
> laxman 
>

-- 
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/-/3mt4Sys1xwkJ.
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: JPA1 vs JPA2 compat Issue with Jetty?

2012-05-02 Thread Carlos Alexandro Becker
I found the problem. GWT-P crawler was adding javax.persistence-api 1.0 to 
the classpath. I add a exclusion for it in pom.xml and everything works 
fine.

Thanks , anyway.


On Wednesday, May 2, 2012 10:14:09 AM UTC-3, Jens wrote:
>
> Maybe you have for some reasons both JPA 1 and JPA 2 API in your 
> classpath? Already googled the error message?
>
> -- J.
>
> Am Mittwoch, 2. Mai 2012 14:27:24 UTC+2 schrieb Carlos Alexandro Becker:
>>
>> Hello.
>>
>> I'm coding an app with guice-persist, gwtp, jpa2 and hibernate. In the 
>> "not web" mode, the tests and everything about persistence run fine... but, 
>> when I try to use them in devmode I got many errors related to 
>> compatibility issues with JPA1 and 2.
>>
>> Someone know anything about this? thanks
>>
>

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



JPA1 vs JPA2 compat Issue with Jetty?

2012-05-02 Thread Carlos Alexandro Becker
Hello.

I'm coding an app with guice-persist, gwtp, jpa2 and hibernate. In the "not 
web" mode, the tests and everything about persistence run fine... but, when 
I try to use them in devmode I got many errors related to compatibility 
issues with JPA1 and 2.

Someone know anything about this? thanks

-- 
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/-/QFHhMFLhgYoJ.
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: accessing the compiled javascript from a stand alone project.

2012-04-11 Thread Carlos
Hi Thomas, 

I have tried this and It works on Chrome, but it doesn't works on firefox 
for example is there another tweak or compiler option to make "cross 
site"

Thank you

El jueves, 19 de enero de 2012 17:07:00 UTC+1, Thomas Broyer escribió:
>
> Add  to make it work "cross site" (as files 
> loaded from the file system all have different "origins", you need 
> something that supports "cross origin" loading)

-- 
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/-/N6zVg3_KvqAJ.
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: Create local application?

2012-04-11 Thread Carlos
I have tried the  and it works on chrome but 
not for firefox... Is there anyway to make this cross... without any web 
server or tomcat...?

El sábado, 14 de enero de 2012 20:08:16 UTC+1, nino escribió:
>
> I dont see why JQuery should be better then GWT for this case.
> I ve done some stand alone GWT apps in the past and it works perfect,
> Like Thomas said try the xframe linker.
>
> 2012/1/14 Xybrek 
>
>> On 1/14/2012 10:52 PM, Jan wrote:
>>
>>> Hi,
>>>
>>> is it possible to create a local application which does not need any
>>> server or anything, so i have just a simple javascript/html/file
>>> combination that i can give to someboy and it works?
>>>
>>> I tried to compile the gwt sample application and tried to just open
>>> the .html file in the "war" folder, but the button is not shown.
>>>
>>> Thank you very much!
>>>
>>>  
>> Hi, you should load the war folder into a servlet container like Tomcat 
>> for it to work. If you just need to create something "stand-alone" you 
>> better use JQuery instead.
>>
>> Cheers.
>>
>>
>> -- 
>> 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://www.emitrom.com/ 
> http://gwt4touch.appspot.com/
> http://gwt4flex.appspot.com/ 
> 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 view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/OJUNL50cqJkJ.
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-Eureka available

2012-04-10 Thread Carlos Tasada
Thanks for your comments.

The problem typing the hours/minutes has been hunting me for sometime, but
I simply cannot find a better way to do it. An alternative would be to
allow to type anything and then fix it when the widget loses focus, but I'm
not really happy about it either. Any behavior suggestion is welcome.

Regarding the mouse-wheel idea, I love it. I'll take a look and implement
it for the next version.

On Tue, Apr 10, 2012 at 3:48 PM, jhulford  wrote:

> First, the widgets look fantastic.  Great job there.
>
> My issue would be w/ keying time into the time pickers.  It's a little
> wonky, in that, you can't click into the textfield and just key "17:45".
> You have to make sure to click the cursor after the hour, then type 17 and
> the click the mouse again to move it to the end of the minutes and key your
> minutes.  It's a bit cumbersome and somewhat counterintuitive.  I'm also
> not really a fan of input widgets that modify your text as you're typing.
> Go ahead and change it after the widget looses focus, but modifying as I'm
> typing has a jaring effect on me.
>
> One suggestion, allow using the mouse wheel to roll the hour / minute
> values up or down.  Along the lines of this:
> http://css-tricks.com/mousewheel-inputs/
>
>
> On Tuesday, April 10, 2012 7:02:47 AM UTC-4, ctasada wrote:
>>
>> Hi everyone,
>>
>> I just published the first version of GWT-Eureka. This is a new library
>> for GWT widgets that are not big enough to fit anywhere else.
>>
>> Right now you can find the next components:
>>
>> * TimePicker: As the name says, a time picker, where you can type hours
>> and minutes
>> * iOSButton: A button with support for badges, like in iOS
>> * ExtendedDatePicker: An extended DatePicker, where you can choose  the
>> valid start/end dates
>>
>> You can find more info here: http://ctasada.blogspot.**
>> com.es/2012/04/gwt-eureka-**available.html<http://ctasada.blogspot.com.es/2012/04/gwt-eureka-available.html>
>> source code here: 
>> https://github.com/**ctasada/GWT-Eureka<https://github.com/ctasada/GWT-Eureka>
>> demo here: http://gwt-eureka.**appspot.com/<http://gwt-eureka.appspot.com/>
>>
>> This is just a first release candidate. I'll keep working to improve it
>> and make it production ready, but I really look forward for your comments
>> and suggestions
>>
>> Regards,
>> Carlos.
>>
>  --
> 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/-/USe98Gn2-h8J.
>
> 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: User visible urls

2012-02-27 Thread Carlos Aguayo
works like a sharm! thanks buddy!

On Wednesday, February 22, 2012 5:08:23 AM UTC-5, Thomas Broyer wrote:
>
> On Tuesday, February 21, 2012 6:04:55 PM UTC+1, Carlos Aguayo wrote:
>>
>> Hi Thomas, could you share the one that you wrote to use pushState? 
>> Thanks!
>>
>
> Here's a skeleton implementation: https://gist.github.com/1883821
>

-- 
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/-/OjZDD6XpY5gJ.
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: User visible urls

2012-02-21 Thread Carlos Aguayo
Hi Thomas, could you share the one that you wrote to use pushState? Thanks!

-- 
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/-/pKyIVdEyL4EJ.
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 to load data from Database

2012-02-08 Thread Juan Carlos Aranda
Hola Gianluca

Yo estoy empezando a utilizar Firebird. No se si ya resolviste el problema, 
pero yo estoy teniendo el mismo. Veo que el error es lanzado al momento de 
asignar el driver:

* Class.forName(driverName).newInstance();  *

Ni siquiera pasa a realizar la conexión.

Tu encontraste alguna solución, sino, yo estaré buscando y si la encuentro 
yo te estaré contando como lo solucioné.

Saludos


-- 
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/-/e8fWbi2ha7YJ.
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: FF10, here we go again

2012-02-08 Thread Juan Carlos Aranda
Windows 7 64 bits... ?

2012/2/8 wbabachan 

> This will work only in Linux, Tesed on Fedora 16 64 bit...
>
> On Feb 8, 7:21 pm, Thad  wrote:
> > I just installed this, but when I try to run in dev mode, I'm told
> > "Sorry, the GWT Developer Plugin only supports Firefox 3.0 - 8.0 at
> > present"
> >
> > On Feb 8, 1:10 pm, wbabachan  wrote:
> >
> >
> >
> >
> >
> >
> >
> > > Hello everyone,
> >
> > > I have built the GWT Dev Plugin for Firefox 10 and could be downloaded
> from
> > > hier:
> >
> > >https://docs.google.com/leaf?id=0Bz789tz1BWLqNGRhZWFiOWUtODY4Yy00MDU5.
> ..
> >
> > > I hope it will help you.
> >
> > >WaruschanBabachan
>
> --
> 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.
>
>


-- 
*Juan Carlos Aranda*
Inteligencia de Negocios
jc_ara...@intel-negocios.com
+502 4192 2302
+502 2220 6876

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



Re: GWT Developer Plugin for Firefox 9

2012-02-02 Thread Carlos Aguayo
FF10 is already here so that will mean updating the plugin again. Is this 
something that can be done by the community? If so, where should we take a 
look at?

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



Catch a javascript event

2012-02-01 Thread Carlos
I open a window and I change the value of a  element that I
have in the main html with javascript from the child window . How do I
catch the onChange events from GWT in parent window?

--
Parent window



  


-
Child window



function x (){
window.parent.opener.document.getElementById('var1').value
= 'new values';
}








-

The parent window executes: Window.open("child.html") from GWT.

When I press the button in the child window... the value of 'var' is
update... but I don't know how to catch the event from GWT in the
parent window. Could anyone help me¿

Thanks a lotQ


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



Multiple constructors with UiBinder

2012-02-01 Thread Carlos
Hi,

How do I define a class with more than one constructor to be use with
UiBinder? @UiConstructor it's not allowed to be put in more than one
constructor :S


For example... if my class is the following... How can I tell to
Uibinder that I have 4 constructors?

public class MyButton extends Button {
public MyButton(String title, ButtonType buttonType) {...}
public MyButton(Sring title, ButtonType buttonType, boolean
orientation) { }
public MyButton(String title, ButtonType buttonType, String imageUrl,
String imagePressedUrl, boolean orientation) {...}

public @UiConstructor
MyButton(String title) {...}
}



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.



Window.ClosingEvent is not fire in iPad

2012-02-01 Thread Carlos
Hello,

When I make a change of my window location the Window.ClosingEvent
it's not fire on Safari, iPad2, iOS 5.0.1...

I attach a example source that works in android, firefox, chrome...
but not in Safari... I don't know which is the problem... could anyone
help me¿

Thank you


import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.RootLayoutPanel;

public class Test implements EntryPoint {

  public void onModuleLoad() {
Window.addWindowClosingHandler(new 
Window.ClosingHandler() {
  public void onWindowClosing(Window.ClosingEvent closingEvent) {
closingEvent.setMessage("Are you sure?" );
  }
});
Button b = new Button("Button");
RootLayoutPanel.get().add(b);
b.addClickHandler(new ClickHandler(){

@Override
public void onClick(ClickEvent event) {
change_location();
}});
  }

  public static native void change_location()/*-{
$wnd.location.replace('http://www.google.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: 2.4 beta and mobilewebapp sample

2011-09-02 Thread Carlos Aguayo
The "Missing artifact com.google.gwt:gwt-servlet:jar:
2.4.0:runtime" errors go away if you update gwtVersion in pom.xml to
this line:
2.4.0-rc1

On Jul 19, 1:07 pm, Michel Jonker  wrote:
> Hi,
>
> Thanks for the reply.
> Are you suggesting that I fetch the missing DataGrid class from
> subversion, instead of using the provided jars from the GPE 2.4?
>
> Michel
> On Jul 19, 12:10 pm, dreamer  wrote:
>
>
>
>
>
>
>
> > 1) Please make sure Java is compiling fine - meaning jar is there some
> > where in classpath
> > 2) Then GWT cross compilation - needs sources - these paths are found
> > by GWTC from "gwt.xml"
> >         Typically all of the paths were included in
> >       
>
> > On Jul 18, 4:18 am, Michel Jonker  wrote:
>
> > > By the way, the maven build complains about:
>
> > > 18-7-11 13:12:17 CEST: Missing artifact com.google.gwt:gwt-servlet:jar:
> > > 2.4.0:runtime
> > > 18-7-11 13:12:17 CEST: Missing artifact com.google.gwt:gwt-user:jar:
> > > 2.4.0:provided
> > > 18-7-11 13:12:17 CEST: Missing artifact com.google.gwt:gwt-dev:jar:
> > > 2.4.0:compile
>
> > > On 18 jul, 13:11, Michel Jonker  wrote:
>
> > > > I am trying to get the mobile webapp sample to work and I found (in
> > > > this forum) that others are also having troubles to get it to work.
>
> > > > Im am running Eclipse 3.6 with the GPE 2.4 beta.
>
> > > > When I try to run the application I get errors regarding the
> > > > RequestFactoryServlet
>
> > > > java.lang.ClassNotFoundException:
> > > > com.google.web.bindery.requestfactory.server.RequestFactoryServlet
>
> > > > I tried putting the gwt-servlet.jar on the classpath, but that did not
> > > > help.
>
> > > > When I do a GWT compile, I get the error (amongst others):
>
> > > > The import com.google.gwt.user.cellview.client.DataGrid cannot be
> > > > resolved
>
> > > > This class is available in the online (SVN) repository, but not in the
> > > > 2.4 beta distribution it seems.
>
> > > > Since I could not find the magic steps to get it to work, I am asking
> > > > this community for help.
>
> > > > TIA
>
> > > > Michel

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



Re: Pop up Panel not working properly

2011-05-30 Thread Carlos
hi,

how did you do the binding ? can you paste your java class here so
that we can see whats going on ?
because i had done something similar to this.

regards.

On 28 mai, 13:55, Juhi Bhatia  wrote:
> Hi,
>
> I am trying to show a Grid in a popup panel through uibinder. but the popup
> panel never shows up.
>
> This is the popup.ui.xml file -
>
> 
>         
>             
>                 
>                     
>                 
>                 
>                     
>                 
>             
>
>             
>                 
>                     
>                 
>                 
>                     
>                 
>             
>
>             
>                 
>                     
>                 
>                 
>                     
>                 
>             
>
>             
>                 
>                     
>                 
>                 
>                     
>                 
>             
>
>             
>                 
>                     
>                 
>                 
>                     
>                 
>             
>
>             
>                 
>                     
>                 
>                 
>                     
>                 
>             
>
>             
>                 
>                     
>                 
>                 
>                     
>                 
>             
>         
>
>         
>             
>                 
>                     
>                 
>             
>             
>                 
>                     
>                 
>                 
>                     
>                 
>             
>             
>                 
>                     
>                 
>                 
>                     
>                 
>             
>         
>         
>
> and my class extends PopupPanel.
>
> I create an object of this class and do a show() on the object, in the
> onClick of the button i want to show this popup.
>
> Can anyone help??
>
> Thanks,
> Juhi.

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



Re: Error while deploying my gwt application on a websphere server 6.1 !!!!

2011-05-26 Thread Carlos
hey,

for those who might face the same problem, the solution is that when
you want to recreat your .war you should clean up your project and
compile it (clean up is not always neseccary).


On 24 mai, 16:47, Carlos  wrote:
> hi,
> This is the message i found in the log of the my websphere of version
> 6.1
> i want to kno if the problem is a gwt issue or websphere issue
> so do you have any idea about it?
> am using
> gwt
> SDK 1.5
> websphere 6.1
> i deployed the .war on the server but i am recieving always this
> error:
>
> --Start of DE processing-- = [24/05/11 16:07:56:178 CEST] ,
> key = javax.servlet.UnavailableException
> com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest() 302
> Exception = javax.servlet.UnavailableException
> Source =
> com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest()
> probeid = 302
> Stack Dump = javax.servlet.UnavailableException: SRVE0200E: Servlet
> [cap.affinium.testInteract.server.metier.ServicesImpl] : Impossible de
> trouver la classe requise -
> cap.affinium.testInteract.server.metier.ServicesImpl
>         at com.ibm.ws.webcontainer.servlet.ServletWrapper
> $1.run(ServletWrapper.java:1203)
>         at
> com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.jav­a:
> 118)
>         at
> com.ibm.ws.webcontainer.servlet.ServletWrapper.loadServlet(ServletWrapper.j­ava:
> 1190)
>         at
> com.ibm.ws.wswebcontainer.servlet.ServletWrapper.loadServlet(ServletWrapper­.java:
> 385)
>         at
> com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper­.java:
> 339)
>         at
> com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapp­er.java:
> 463)
>         at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:
> 3107)
>         at
> com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:
> 238)
>         at
> com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:
> 811)
>         at
> com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:
> 1425)
>         at
> com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:
> 92)
>         at
> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(H­ttpInboundLink.java:
> 465)
>         at
> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(H­ttpInboundLink.java:
> 394)
>         at
> com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLRe­adCallback.java:
> 102)
>         at
> com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioRe­adCompletionListener.java:
> 152)
>         at
> com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.jav­a:
> 213)
>         at
> com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFut­ure.java:
> 195)
>         at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
>         at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:193)
>         at
> com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:
> 725)
>         at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:847)
>         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1498)
>
> Dump of callerThis =
> null
>
> Exception = javax.servlet.UnavailableException
> Source =
> com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest()
> probeid = 302
> Dump of callerThis =
> null
>
> my web.xml is the following:
>
> 
>      PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
>     "http://java.sun.com/dtd/web-app_2_3.dtd";>
>
> 
>
>         
>         
>                 ServiceServlet
>                 
> cap.affinium.testInteract.server.metier.ServicesImpl servlet-class>
>         
>         
>                 WebServicesServlet
>                  class>cap.affinium.testInteract.server.metier.WebServicesImpl class>
>         
>         
>                 APIInteractServlet
>                  class>cap.affinium.testInteract.server.metier.APIInteractServicesImpl servlet-class>
>         
>         
>                 ServiceServlet
>                 /testtool/service
>         
>         
>                 WebServicesServlet
>                 /testtool/webService
>         
>         
>                 APIInteractServlet
>                 /testtool/apiInteract
>         
>         
>         
>                 TestTool.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.



Error while deploying my gwt application on a websphere server 6.1 !!!!

2011-05-24 Thread Carlos
hi,
This is the message i found in the log of the my websphere of version
6.1
i want to kno if the problem is a gwt issue or websphere issue
so do you have any idea about it?
am using
gwt
SDK 1.5
websphere 6.1
i deployed the .war on the server but i am recieving always this
error:

--Start of DE processing-- = [24/05/11 16:07:56:178 CEST] ,
key = javax.servlet.UnavailableException
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest() 302
Exception = javax.servlet.UnavailableException
Source =
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest()
probeid = 302
Stack Dump = javax.servlet.UnavailableException: SRVE0200E: Servlet
[cap.affinium.testInteract.server.metier.ServicesImpl] : Impossible de
trouver la classe requise -
cap.affinium.testInteract.server.metier.ServicesImpl
at com.ibm.ws.webcontainer.servlet.ServletWrapper
$1.run(ServletWrapper.java:1203)
at
com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:
118)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.loadServlet(ServletWrapper.java:
1190)
at
com.ibm.ws.wswebcontainer.servlet.ServletWrapper.loadServlet(ServletWrapper.java:
385)
at
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:
339)
at
com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:
463)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:
3107)
at
com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:
238)
at
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:
811)
at
com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:
1425)
at
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:
92)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:
465)
at
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:
394)
at
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:
102)
at
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:
152)
at
com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:
213)
at
com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:
195)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:193)
at
com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:
725)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:847)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1498)

Dump of callerThis =
null

Exception = javax.servlet.UnavailableException
Source =
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest()
probeid = 302
Dump of callerThis =
null




my web.xml is the following:


http://java.sun.com/dtd/web-app_2_3.dtd";>





ServiceServlet

cap.affinium.testInteract.server.metier.ServicesImpl


WebServicesServlet
cap.affinium.testInteract.server.metier.WebServicesImpl


APIInteractServlet
cap.affinium.testInteract.server.metier.APIInteractServicesImpl


ServiceServlet
/testtool/service


WebServicesServlet
/testtool/webService


APIInteractServlet
/testtool/apiInteract



TestTool.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: run via cmd

2011-05-20 Thread Carlos
thank you for your answer but am not using maven in my project

On 20 mai, 13:22, Juan Pablo Gardella 
wrote:
> http://mojo.codehaus.org/gwt-maven-plugin/user-guide/hosted.html
>
> 2011/5/20 Carlos 
>
>
>
> > now as i have finished creating the .war file am passing an argument
> > via command line to initialize the enviroment variable which
> > represents the path to the configuration file
> > but i have a question concerning how to run my application via cmd
> > what should i write as a command and where
> > 
>
> > --
> > 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.- Masquer le texte 
> >des messages précédents -
>
> - Afficher le texte des messages précédents -

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



run via cmd

2011-05-20 Thread Carlos
now as i have finished creating the .war file am passing an argument
via command line to initialize the enviroment variable which
represents the path to the configuration file
but i have a question concerning how to run my application via cmd
what should i write as a command and where


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

2011-05-19 Thread Carlos
hey thanks Ed,

the solution for my problem is that i created an enviroment variable
with the full path of the file
and in my code i used System.getEnv(config_HOME) which will return the
path of my configuration file.

"Together we stand divide we fall"

On 18 mai, 15:17, Ed  wrote:
> Hi Carlos,
>
> I deploy the war to jetty then in a separate directory on the server
> and use an ant task to replace my configs and web.xml file depending
> on the server.
>
> However i do read the files from the war.
>
> E
>
>
>
> On Wed, May 18, 2011 at 8:35 AM, Carlos  wrote:
> > thanks for you advice,
> > i have another issue now
> > i have a property file which i want it to be outside the war so that
> > the i can't modify it without being obliged to recreate the war file
> > any suggestions please
>
> > On 17 mai, 14:22, nacho  wrote:
> >> You can create an ant task to compile your gwt app and create a war.
>
> >> Try with something like this:
>
> >> 
> >> 
> >>   
> >>   
>
> >>   
> >>    >>     else="-Dgwt.dummy.arg1=">
> >>     
> >>   
>
> >>   
> >>   
> >>     
> >>       
> >>       
> >>     
> >>   
>
> >>   
> >>     
> >>     
> >>     
> >>     
> >>     
> >>   
>
> >>   
> >>     
> >>     
> >>     
> >>   
>
> >>   
> >>     
> >>      >>         destdir="war/WEB-INF/classes"
> >>         source="1.5" target="1.5" nowarn="true"
> >>         debug="true" debuglevel="lines,vars,source">
> >>       
> >>     
> >>     
> >>       
> >>     
> >>   
>
> >>   
> >>      >> classname="com.google.gwt.dev.Compiler">
> >>       
> >>         
> >>         
> >>       
> >>       
> >>       
> >>       
> >>       
> >>       
> >>       
> >>       
> >>     
> >>   
>
> >>   
> >>      >> classname="com.google.gwt.dev.HostedMode">
> >>       
> >>         
> >>         
> >>       
> >>       
> >>       
> >>       
> >>       
> >>       
> >>       
> >>       
> >>     
> >>   
>
> >>   
>
> >>   
> >>     
> >>   
>
> >>   
> >>     
> >>     
> >>   
>
> >> 
>
> > --
> > 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 
> > athttp://groups.google.com/group/google-web-toolkit?hl=en.- Masquer le 
> > texte des messages précédents -
>
> - Afficher le texte des messages précédents -

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

2011-05-18 Thread Carlos
thanks for you advice,
i have another issue now
i have a property file which i want it to be outside the war so that
the i can't modify it without being obliged to recreate the war file
any suggestions please

On 17 mai, 14:22, nacho  wrote:
> You can create an ant task to compile your gwt app and create a war.
>
> Try with something like this:
>
> 
> 
>   
>   
>
>   
>        else="-Dgwt.dummy.arg1=">
>     
>   
>
>   
>   
>     
>       
>       
>     
>       
>
>   
>     
>     
>     
>     
>     
>   
>
>   
>     
>     
>     
>   
>
>   
>     
>              destdir="war/WEB-INF/classes"
>         source="1.5" target="1.5" nowarn="true"
>         debug="true" debuglevel="lines,vars,source">
>       
>     
>     
>       
>     
>   
>
>   
>      classname="com.google.gwt.dev.Compiler">
>       
>         
>             
>       
>       
>       
>       
>       
>       
>       
>       
>         
>   
>
>   
>      classname="com.google.gwt.dev.HostedMode">
>       
>         
>         
>       
>       
>       
>       
>       
>       
>       
>       
>     
>   
>
>   
>
>   
>     
>   
>
>   
>     
>     
>   
>
> 

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

2011-05-16 Thread Carlos
in eclipse you can export a gwt application to .war
i need another way to develope my .war

On 16 mai, 15:08, Juan Pablo Gardella 
wrote:
> In WAS you always deploy an EAR. Your war must put inside in an EAR. For
> create a WAR you can use Eclipse or maven (more complicated if you are
> starting with gwt)
>
> 2011/5/16 Carlos 
>
>
>
> > hey,
>
> > I want to deploy my application to a webSphere server, i surfed the
> > web for some answers but it was really confusing so can u help me with
> > your experience on how to creat a .war file from gwt application.
>
> > 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.- Masquer le texte 
> >des messages précédents -
>
> - Afficher le texte des messages précédents -

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

2011-05-16 Thread Carlos
sorry i wanted to say you can't export a gwt application to .war

On 16 mai, 15:11, Carlos  wrote:
> in eclipse you can export a gwt application to .war
> i need another way to develope my .war
>
> On 16 mai, 15:08, Juan Pablo Gardella 
> wrote:
>
>
>
> > In WAS you always deploy an EAR. Your war must put inside in an EAR. For
> > create a WAR you can use Eclipse or maven (more complicated if you are
> > starting with gwt)
>
> > 2011/5/16 Carlos 
>
> > > hey,
>
> > > I want to deploy my application to a webSphere server, i surfed the
> > > web for some answers but it was really confusing so can u help me with
> > > your experience on how to creat a .war file from gwt application.
>
> > > 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.-Masquer le texte 
> > >des messages précédents -
>
> > - Afficher le texte des messages précédents -- Masquer le texte des 
> > messages précédents -
>
> - Afficher le texte des messages précédents -

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

2011-05-16 Thread Carlos
hey,

I want to deploy my application to a webSphere server, i surfed the
web for some answers but it was really confusing so can u help me with
your experience on how to creat a .war file from gwt application.

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.



Speeding up RPC response

2011-05-12 Thread Carlos
hello,

am using String[] as returned type all the RPC calls and sometimes
this array of strings is of size 3000 which makes it somehow slow, it
takes over 5 to 6 sec i used List and it didn't make any
differences.
The object am using in the server side is not serializable so i can't
send it as return type.
any suggestions concerning speeding up the performance???

thanks in advance.

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



Re: UI:Binder documentation

2011-04-28 Thread Carlos
i can't use static tables because am supposed to add dynamically the
contents to the row and delete it

thanks for your response

On 27 avr, 19:58, Jeff Larsen  wrote:
> If you're using grids/flex table, can you just write a static table or do
> you have to dynamically add content to the rows?
>
> 
> 
> 

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



UI:Binder documentation

2011-04-27 Thread Carlos
hey,

i want to create a uiBinder wchich creates all of the gwt widgets in
order to organize and refactore my code.
but i can't find a real well organized document concerning uiBinder am
using Grids and FlexTables in my code so i was'nt able to find
anything concerning gris or flex table and while running the
application a recieved an error concerning setMethod() for grid..

in brief, i need some links that can help me with the syntax.
Thank you in advance.
chao

-- 
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: some problem about GWT

2011-04-24 Thread Carlos
right this can be a solution

On 24 avr, 05:02, 何剑涛  wrote:
> it is said that i must write it in server side,right?
>
> 2011/4/22 Carlos :
>
>
>
>
>
>
>
> > hi,
>
> > you are writing your code in the client side.
> > thats why it can't recognize the javax.servlet.http.HttpServlet since
> > it is not supported by the gwt libraries.
>
> > On 22 avr, 07:28, 剑涛 何  wrote:
> >> I code a servlet in GWT:
> >> Line 8:   public class AddServvlet extends HttpServlet{
> >> private static final long serialV = 1L;
> >> protected void doPost(HttpServletRequest req,HttpServletResponse 
> >> res)
> >> {
> >> int a = Integer.parseInt(req.getParameter("a"));
> >> int b = Integer.parseInt(req.getParameter("b"));
> >> try {
> >> res.getWriter().print(a+b);
> >> } catch (IOException e) {
> >> // TODO: handle exception
> >> }
> >> }}
>
> >> when I run the project in IE,it say:[ERROR] [hellogwt] - Line 
> >> 8: No
> >> source code is available for type javax.servlet.http.HttpServlet; did
> >> you forget to inherit a required module?
> >> [ERROR] [hellogwt] - Line 10: No source code is available 
> >> for type
> >> javax.servlet.http.HttpServletRequest; did you forget to inherit a
> >> required module?
> >> [ERROR] [hellogwt] - Line 10: No source code is available 
> >> for type
> >> javax.servlet.http.HttpServletResponse; did you forget to inherit a
> >> required module?
> >> 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 
> > athttp://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: some problem about GWT

2011-04-22 Thread Carlos
hi,

you are writing your code in the client side.
thats why it can't recognize the javax.servlet.http.HttpServlet since
it is not supported by the gwt libraries.


On 22 avr, 07:28, 剑涛 何  wrote:
> I code a servlet in GWT:
> Line 8:   public class AddServvlet extends HttpServlet{
>         private static final long serialV = 1L;
>         protected void doPost(HttpServletRequest req,HttpServletResponse res)
> {
>                 int a = Integer.parseInt(req.getParameter("a"));
>                 int b = Integer.parseInt(req.getParameter("b"));
>                 try {
>                         res.getWriter().print(a+b);
>                 } catch (IOException e) {
>                         // TODO: handle exception
>                 }
>         }}
>
> when I run the project in IE,it say:            [ERROR] [hellogwt] - Line 8: 
> No
> source code is available for type javax.servlet.http.HttpServlet; did
> you forget to inherit a required module?
>                 [ERROR] [hellogwt] - Line 10: No source code is available for 
> type
> javax.servlet.http.HttpServletRequest; did you forget to inherit a
> required module?
>                 [ERROR] [hellogwt] - Line 10: No source code is available for 
> type
> javax.servlet.http.HttpServletResponse; did you forget to inherit a
> required module?
> 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: Debuging GWT application with Eclipse

2011-04-22 Thread Carlos
hi,

i had a similar problem with eclipse.
the problem was that my SDK was in a shared network which results in
this exception.
so when i placed my SDK in a non shared area like D: or C: it worked
correctly.

hope this can help.

On 22 avr, 12:45, tdanan  wrote:
> Hi All,
>
> I am currently working on a client / server GWT application using
> eclipse and gwt plugin and jetty.
> The server code needs to read a file on disk.
> When I launch my Web Application from eclipse ( run or debug mode ) I
> get the following exception.
> I do not have the issue when starting the Web Application in devmode
> using ant :
> It sounds like the security policy configuration is not correct but I
> cannot figure out why it is different  when I start the project from
> eclipse or not. Due to this, I am not able to debug my Web
> application.
> I did not find any good explanation on google but I think I am not the
> only one who has this issue.
>
> Thank you very much for your help
>
> Thomas
>
> java.security.AccessControlException: access denied
> (java.io.FilePermission /etc/vtiflash/vtiflash.site.properties read)
>         at
> java.security.AccessControlContext.checkPermission(AccessControlContext.jav­a:
> 323)
>         at
> java.security.AccessController.checkPermission(AccessController.java:
> 546)
>         at java.lang.SecurityManager.checkPermission(SecurityManager.java:
> 532)
>         at com.google.appengine.tools.development.DevAppServerFactory
> $CustomSecurityManager.checkPermission(DevAppServerFactory.java:166)
>         at java.lang.SecurityManager.checkRead(SecurityManager.java:871)
>         at java.io.File.exists(File.java:731)
>         at
> com.mycom.vtiflash.server.VTIBuilderServiceImpl.init(VTIBuilderServiceImpl.­java:
> 89)
>         at
> org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:
> 440)
>         at
> org.mortbay.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:
> 339)
>         at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
> 487)
>         at org.mortbay.jetty.servlet.ServletHandler
> $CachedChain.doFilter(ServletHandler.java:1166)
>         at
> com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFi­lter.java:
> 58)
>         at org.mortbay.jetty.servlet.ServletHandler
> $CachedChain.doFilter(ServletHandler.java:1157)
>         at
> com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(Trans­actionCleanupFilter.java:
> 43)
>         at org.mortbay.jetty.servlet.ServletHandler
> $CachedChain.doFilter(ServletHandler.java:1157)
>         at
> com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFile­Filter.java:
> 122)
>         at org.mortbay.jetty.servlet.ServletHandler
> $CachedChain.doFilter(ServletHandler.java:1157)
>         at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:
> 388)
>         at
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:
> 216)
>         at
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:
> 182)
>         at
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:
> 765)
>         at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:
> 418)
>         at
> com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEn­gineWebAppContext.java:
> 70)
>         at
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
> 152)
>         at com.google.appengine.tools.development.JettyContainerService
> $ApiProxyHandler.handle(JettyContainerService.java:351)
>         at
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
> 152)
>         at org.mortbay.jetty.Server.handle(Server.java:326)
>         at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
> 542)
>         at org.mortbay.jetty.HttpConnection
> $RequestHandler.content(HttpConnection.java:938)
>         at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:755)
>         at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
>         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)

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



module not loading

2011-04-22 Thread Carlos
hi all,

if i have two different modules and each module is associated to an
html page
when the user navigates from the host page to the second page the
module(script) is not working its just viewing the html contents and
the onModuleLoad() is not firing.

in fact i compiled the two modules and running in development mode.

-- 
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: Navigation between different html pages

2011-04-21 Thread Carlos
thanks SVR its working :)

On 21 avr, 15:47, SVR  wrote:
> you mean your hard-coded url isnt working?
> If it cant find the url,  try accessing the page using  :
>
> *getHostPageBaseURL*(), according to GWT:
>
>           Gets the URL prefix of the hosting page, useful for prepending to
> relative paths of resources which may be relative to the host page.
>
> http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/g...
>
>
>
> On Thu, Apr 21, 2011 at 3:58 AM, Carlos  wrote:
> > am using Window.open(.) specifying the url of the new html page
> > which contains a link to a new module but it's not working.
> > it can't find the specified url
>
> > On Apr 20, 6:18 pm, SVR  wrote:
> > > On Success of the RPC, you could open a new Window with Window.open.
> > > depending on what the other part of your application is, for eg., a
> > struts
> > > action could be reached like so:
>
> > > Window.open("../gwt/sample_load.action);
>
> > > On Wed, Apr 20, 2011 at 8:51 AM, Carlos  wrote:
> > > > hello,
>
> > > > sorry being so annoying :)
>
> > > > i have another problem concerning navigation from the html host page
> > > > to another html page.
> > > > first i created a new module with a new entry point.
> > > > then i created a new html page and added the script tag which point to
> > > > the new module
>
> > > > what i want is the following:
> > > > i want after success of an rpc with the server to open a new window or
> > > > tab(would be better) which is the html page.
>
> > > > i don't realy konw how if certain configurations concernig previous
> > > > modules should be done.
> > > > So any suggestions would be great and so helpful for me.
>
> > > > 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.-Hide quoted
> > text -
>
> > > - Show quoted text -
>
> > --
> > 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.- Masquer le texte 
> >des messages précédents -
>
> - Afficher le texte des messages précédents -

-- 
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: Navigation between different html pages

2011-04-21 Thread Carlos
should i configure something in the web.xml for the jetty server?

On 21 avr, 09:58, Carlos  wrote:
> am using Window.open(.) specifying the url of the new html page
> which contains a link to a new module but it's not working.
> it can't find the specified url
>
> On Apr 20, 6:18 pm, SVR  wrote:
>
>
>
> > On Success of the RPC, you could open a new Window with Window.open.
> > depending on what the other part of your application is, for eg., a struts
> > action could be reached like so:
>
> > Window.open("../gwt/sample_load.action);
>
> > On Wed, Apr 20, 2011 at 8:51 AM, Carlos  wrote:
> > > hello,
>
> > > sorry being so annoying :)
>
> > > i have another problem concerning navigation from the html host page
> > > to another html page.
> > > first i created a new module with a new entry point.
> > > then i created a new html page and added the script tag which point to
> > > the new module
>
> > > what i want is the following:
> > > i want after success of an rpc with the server to open a new window or
> > > tab(would be better) which is the html page.
>
> > > i don't realy konw how if certain configurations concernig previous
> > > modules should be done.
> > > So any suggestions would be great and so helpful for me.
>
> > > 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.-Hide quoted text -
>
> > - Show quoted text -- Masquer le texte des messages précédents -
>
> - Afficher le texte des messages précédents -

-- 
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: StackPanel

2011-04-21 Thread Carlos
hello,

you can create a panel which can be of any kind according to the way
you want to view your items (a vertical panel for example)
then you add the different items to this new created item.
finally you add this panel to your StackPanel.

hope this will help you Ani.
Carlos.
On 20 avr, 08:14, Ani  wrote:
> Hi Gaurav,
>
> Thank you for answering! I need a widget that works like a StackPanel,
> but in a way that I can have two items open simultaneously. Now, I
> have a StackPanel with 3 items, but I just can see one of them at
> time. Is it more clear now??Thank you for any help!
>
> On 20 abr, 06:07, Gaurav Vaish  wrote:
>
>
>
> > Hi Ani,
>
> > If you can elaborate on what you're trying to achieve, the forum may
> > be able to suggess you with better options.
>
> > --
> > Happy Hacking,
> > Gaurav Vaishhttp://www.incoleg.com
>
> > On Apr 19, 5:33 pm, Issam  wrote:
>
> > > Hi,
> > > Make the one item a VerticalPanel (or HorizontalPanel) and then put
> > > what ever you want in Vertical/Horizontal Panel..
> > > On Apr 19, 1:44 pm, Ani  wrote:
>
> > > > Hello,
>
> > > > I hope that someone can help me with this question. Is it possible to
> > > > show more than 1 item on a stackpanel? I mean, i know that by
> > > > definition it just show 1 at time, but i'd like to know if it's
> > > > possible to do something like that
> > > > Thank you very much for your help.- Masquer le texte des messages 
> > > > précédents -
>
> - Afficher le texte des messages précédents -

-- 
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: Navigation between different html pages

2011-04-21 Thread Carlos
am using Window.open(.) specifying the url of the new html page
which contains a link to a new module but it's not working.
it can't find the specified url

On Apr 20, 6:18 pm, SVR  wrote:
> On Success of the RPC, you could open a new Window with Window.open.
> depending on what the other part of your application is, for eg., a struts
> action could be reached like so:
>
> Window.open("../gwt/sample_load.action);
>
>
>
> On Wed, Apr 20, 2011 at 8:51 AM, Carlos  wrote:
> > hello,
>
> > sorry being so annoying :)
>
> > i have another problem concerning navigation from the html host page
> > to another html page.
> > first i created a new module with a new entry point.
> > then i created a new html page and added the script tag which point to
> > the new module
>
> > what i want is the following:
> > i want after success of an rpc with the server to open a new window or
> > tab(would be better) which is the html page.
>
> > i don't realy konw how if certain configurations concernig previous
> > modules should be done.
> > So any suggestions would be great and so helpful for me.
>
> > 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.- Hide quoted text -
>
> - Show quoted text -

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



Navigation between different html pages

2011-04-20 Thread Carlos
hello,

sorry being so annoying :)

i have another problem concerning navigation from the html host page
to another html page.
first i created a new module with a new entry point.
then i created a new html page and added the script tag which point to
the new module

what i want is the following:
i want after success of an rpc with the server to open a new window or
tab(would be better) which is the html page.

i don't realy konw how if certain configurations concernig previous
modules should be done.
So any suggestions would be great and so helpful for me.

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: optimizing GWT code

2011-04-18 Thread Carlos
well for the server-side it's quite organized with several packages
like DAO, model, services, webServices etc...
so my second step now is to refactore the code in the client side and
i think it would take some time because its quite a lot of code now :)
thanks for your reply

On 18 avr, 08:21, Gaurav Vaish  wrote:
> As Magno said, refactor your code into multiple methods/classes.
>
> Create logical packages - for UI, biz-logic, data-model, server-
> connections (RPC or ReguestBuilder or otherwise).
>
> Study some decently sized application on places like Sourceforge to
> get idea of how to structure your application ;)
>
> --
> Happy Hacking,
> Gaurav Vaishhttp://www.incoleg.com
>
> On Apr 17, 1:54 am, Magno Machado  wrote:
>
>
>
> > This is pretty much like having a huge main() method on a traditional Java
> > application
>
> > It's hard to tell what you can do without knowing your code, but I'd try to
> > refactor this code and separate it into other classes and methods with well
> > defined responsabilities.
>
> > Are you instantiating widgets inside your entry point to build a GUI? If so,
> > try to put that on another class, using UiBinder
>
> > On Fri, Apr 15, 2011 at 11:26 AM, Carlos  wrote:
> > > hi all,
>
> > > am creating a web application testing tool for a specific server, and
> > > using gwt for this purpose (first contact with gwt). The code of the
> > > EntryPoint class is enorme and somehow confusing for anyone who wants
> > > to re-read it or modify it after me. so how i can realy optimize the
> > > code? is writing several EntryPoint classes can solve the problem? and
> > > if so what problems would i face with respect to performance of
> > > loading and etc
>
> > > Merci d'avance.
>
> > > --
> > > 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 
> > Paulohttp://blog.magnomachado.com.brhttp://code.google.com/p/emballo/- 
> > Masquer le texte des messages précédents -
>
> - Afficher le texte des messages précédents -

-- 
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: optimizing GWT code

2011-04-18 Thread Carlos
in fact, yes i was instantiating widgets inside the entry point so i
will start on now with searching about UiBinder :)
thanks for the advice and we will see later if it's gonna work.

On 16 avr, 22:54, Magno Machado  wrote:
> This is pretty much like having a huge main() method on a traditional Java
> application
>
> It's hard to tell what you can do without knowing your code, but I'd try to
> refactor this code and separate it into other classes and methods with well
> defined responsabilities.
>
> Are you instantiating widgets inside your entry point to build a GUI? If so,
> try to put that on another class, using UiBinder
>
>
>
>
>
> On Fri, Apr 15, 2011 at 11:26 AM, Carlos  wrote:
> > hi all,
>
> > am creating a web application testing tool for a specific server, and
> > using gwt for this purpose (first contact with gwt). The code of the
> > EntryPoint class is enorme and somehow confusing for anyone who wants
> > to re-read it or modify it after me. so how i can realy optimize the
> > code? is writing several EntryPoint classes can solve the problem? and
> > if so what problems would i face with respect to performance of
> > loading and etc
>
> > Merci d'avance.
>
> > --
> > 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 
> Paulohttp://blog.magnomachado.com.brhttp://code.google.com/p/emballo/- 
> Masquer le texte des messages précédents -
>
> - Afficher le texte des messages précédents -

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



optimizing GWT code

2011-04-15 Thread Carlos
hi all,

am creating a web application testing tool for a specific server, and
using gwt for this purpose (first contact with gwt). The code of the
EntryPoint class is enorme and somehow confusing for anyone who wants
to re-read it or modify it after me. so how i can realy optimize the
code? is writing several EntryPoint classes can solve the problem? and
if so what problems would i face with respect to performance of
loading and etc

Merci d'avance.

-- 
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: Value function - Example - Developer's Guide - Client Bundle

2010-12-13 Thread Carlos Aguayo
I had a typo...

public interface MyResources extends ClientBundle {
  @Source("MyCompanyLogo.png")
  ImageResource myLogo();

  @Source("skins.css")
  CssResource skins();
}

Then in skins.css you can have:
.myDiv {
  offset-left: value('myLogo.getWidth', 'px');
}

On Dec 13, 8:23 pm, Carlos Aguayo  wrote:
> Ok we figured it out, here's the more elaborate example:
>
> public interface MyResources extends ClientBundle {
>
>   @Source("MyCompanyLogo.png")
>   ImageResource myLogo();
>
>   @Source("skins.css")
>   CssResource skins();
>
> }
>
> Then in skins.css you can have:
>
> .myClassName {
>   width: value('logo.getWidth', 'px');
>
> }
>
> On Dec 13, 7:58 pm, Carlos Aguayo  wrote:
>
>
>
>
>
>
>
> > Could someone provide a more elaborate example on how to use the
> > "Value function" as described here:
>
> >http://code.google.com/webtoolkit/doc/latest/DevGuideClientBundle.htm...
>
> > The documentation has this example:
>
> > .myDiv {
> >   offset-left: value('imageResource.getWidth', 'px');
>
> > }
>
> > However I don't know where is "imageResource" coming from or defined.
>
> > 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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Value function - Example - Developer's Guide - Client Bundle

2010-12-13 Thread Carlos Aguayo
Ok we figured it out, here's the more elaborate example:

public interface MyResources extends ClientBundle {

  @Source("MyCompanyLogo.png")
  ImageResource myLogo();

  @Source("skins.css")
  CssResource skins();

}

Then in skins.css you can have:

.myClassName {
  width: value('logo.getWidth', 'px');
}

On Dec 13, 7:58 pm, Carlos Aguayo  wrote:
> Could someone provide a more elaborate example on how to use the
> "Value function" as described here:
>
> http://code.google.com/webtoolkit/doc/latest/DevGuideClientBundle.htm...
>
> The documentation has this example:
>
> .myDiv {
>   offset-left: value('imageResource.getWidth', 'px');
>
> }
>
> However I don't know where is "imageResource" coming from or defined.
>
> 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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Value function - Example - Developer's Guide - Client Bundle

2010-12-13 Thread Carlos Aguayo
Could someone provide a more elaborate example on how to use the
"Value function" as described here:

http://code.google.com/webtoolkit/doc/latest/DevGuideClientBundle.html#CssResource

The documentation has this example:

.myDiv {
  offset-left: value('imageResource.getWidth', 'px');
}

However I don't know where is "imageResource" coming from or defined.

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Deploying GWT application on a web server

2010-11-23 Thread Carlos Morell
Hi,

I think that you have to deploy a war file with all your web app.

Read this blog, maybe it answer your better than me hehehe

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

:)

2010/11/23 Noor 

> Hi,
> I have read the documentation on deployment but I have not yet figured
> how to deploy an gwt app on web server. Can someone explain me how to
> do so assume the default application created with eclipse:
>
> that is the server implementation in a package
> and the field verifier which is used by the server implementation in
> another package.
>
> 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-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>


-- 
Enviado desde iPad

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



Re: GWT module 'applicationScaffold' may need to be (re)compiled

2010-11-03 Thread Juan Carlos González
Hi Rajeev,

Thanks for your answer. As we're just testing the new GWT version, Roo
tool, etc. this is not a problem. Anyway we deployed the example to
appengine and the desktop behaviour is OK. I've posted another issue
reporting some problems with the mobile behaviour.

K.R.

Juan Carlos

On Nov 3, 4:12 pm, Rajeev Dayal  wrote:
> This is a bug with the latest version of GPE. The problem is that launching
> your Web Application attempts to synchronize Maven's target directory, which
> wipes out all of the artifacts that have been dumped there (i.e. via a
> compilation).
>
> We're working to fix this, and a point release of GPE with this fix will be
> forthcoming.
>
> As an ugly workaround, perform a Run As launch, perform the GWT compilation
> while the app is launched, and then try accessing the app in production
> mode.
>
> On Tue, Nov 2, 2010 at 7:33 AM, Juan Carlos González 
>
>
>
>
>
>
> > wrote:
> > Hi I've just upgraded GWT with 2.1 release and installed STS 2.5 and
> > Roo 1.1.0.
>
> > I've run the expenses-gae.roo script and the project has been
> > generated properly. I can debug (Run As Web Application) the project
> > from eclipse with the URL:
> >http://127.0.0.1:/ApplicationScaffold.html?gwt.codesvr=127.0.0.1:
> > However, if I try to run in production mode (Run AS Web Application),
> > I always get the following message from the browser: "GWT module
> > 'applicationScaffold' may need to be (re)compiled" when browsing
> >http://127.0.0.1:/ApplicationScaffold.htmlor
> >http://localhost:/ApplicationScaffold.html
>
> > I' ve tried to GWT recompile project before launching but the message
> > is always there.
>
> > Please, could anybody help with this?.
>
> > K.R.
>
> > Juan Carlos
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google Web Toolkit" group.
> > To post to this group, send email to google-web-tool...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-web-toolkit+unsubscr...@googlegroups.com > cr...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.

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



Several errors when testing expenses-gae project with mobile browser (iphone-safari)

2010-11-03 Thread Juan Carlos González
Hi,

I'm testing the expenses-gae roo script provided with last STS version
I've deployed the example to app engine and the desktop version works
fine. However, when trying to browse with mobile safari I get the
following errors:

1. The dialog requesting signup keeps on showing forever. I think the
problem is that the file ScaffoldMobileApp.java is missing the line:
RequestEvent.register(eventBus, new AuthenticationFailureHandler());

2. After adding the previous line, the app requests the signup and
after signing up, redirects properly. However, after clicking any link
on the left planel the following message shows: Entity manager has not
been injected (is the Spring Aspects JAR configured as an AJC/AJDT
aspects library?)

K.R.

Juan Carlos

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



GWT module 'applicationScaffold' may need to be (re)compiled

2010-11-02 Thread Juan Carlos González
Hi I've just upgraded GWT with 2.1 release and installed STS 2.5 and
Roo 1.1.0.

I've run the expenses-gae.roo script and the project has been
generated properly. I can debug (Run As Web Application) the project
from eclipse with the URL: 
http://127.0.0.1:/ApplicationScaffold.html?gwt.codesvr=127.0.0.1:9997.
However, if I try to run in production mode (Run AS Web Application),
I always get the following message from the browser: "GWT module
'applicationScaffold' may need to be (re)compiled" when browsing
http://127.0.0.1:/ApplicationScaffold.html or
http://localhost:/ApplicationScaffold.html

I' ve tried to GWT recompile project before launching but the message
is always there.

Please, could anybody help with this?.

K.R.

Juan Carlos

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



FocusPanel with nested focusable elements

2010-11-02 Thread Carlos Aguayo
Hi,

If I have something like this:


  


  


Where I have elements that are focusable within a FocusPanel. Whenever
I focus/blur on the textboxes, the focus/blur events are not being
fired in the FocusPanel, I'd have to click outside the textboxes but
within the FocusPanel for the event to be fired.

Is there a way I can get the events fired in the FocusPanel while
focusing in the textboxes?

Thanks,
Carlos

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



Re: Adding Event Handlers on the body element...

2010-09-09 Thread Carlos Aguayo
You can try something like this:

Event.addNativePreviewHandler(new NativePreviewHandler() {
  @Override
  public void onPreviewNativeEvent(NativePreviewEvent event) {
int KEY_F8 = 119;
if ("keyup".equals(event.getNativeEvent().getType()) &&
event.getNativeEvent().getKeyCode() == KEY_F8) {
  // do something onkeyup && f8
}
  }
});


On Aug 6, 8:45 pm, "seth.ho...@gmail.com" 
wrote:
> Hello,
>
> I'm using GWT for 2 years now and i did many great things with it.
> However, i'm still looking for how to implements KeyboardHandlers on
> the BodyElement.
> The only way i found is writing something like this in the HTML file :
>
>    onkeyup="return keyUp(event);">
>
> And something like that in the EntryPoint
>
> public void onModuleLoad() {
>         // publish();}
>
> private native final void publish() /*-{
>         $wnd["keyPress"] = function(event) {
>                 
> @webapp.client.Application::keyPress(Lcom/google/gwt/dom/client/
> NativeEvent;)(event);
>         }
>         $wnd["keyUp"] = function(event) {
>                 @webapp.client.Application::keyUp(Lcom/google/gwt/dom/client/
> NativeEvent;)(event);
>         }
>         $wnd["keyDown"] = function(event) {
>                 
> @webapp.client.Application::keyDown(Lcom/google/gwt/dom/client/
> NativeEvent;)(event);
>         }
>
> }-*/;
>
> But i'm really not satisfied with that solution.
> Any ideas please ?

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



ui:image, image within an anchor or a button

2010-04-23 Thread Carlos Aguayo
I'd like to have an image within an anchor or a button tag. I'm using
the UiBinder and I need the anchor or button to be a widget so I can
use their "HasClickHandlers" interface.

I wanted to use an image widget so I can use an ImageResource,
something like this:

http://dl.google.com/gwt/DTD/xhtml.ent";>


  

  
 Add
  



But since neither the Anchor nor the Button can take widgets, I get
the "Found widget in an HTML context" error.

I've seen posts mentioning the "ui:image" tag but couldn't find
documentation on how to use it and I couldn't get it to work.

If I do:

http://dl.google.com/gwt/DTD/xhtml.ent";>


  

  



It's doing something since it won't compile if "add.gif" is not under
the right package. However when I see it in the browser, the ui:image
didn't get compiled into an image.

Do you know what am I missing here?

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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: UiBinder + GWTMockUtilities: How?

2010-04-21 Thread Carlos Aguayo
You should not have logic that you would like to test in the class
where you are using the UiBinder. Have that class implement an
interface, put the logic in a another class that receives an instance
of that interface. When unit testing pass a mock object of that
interface.

http://extgwt-mvp4g-gae.blogspot.com/2009/10/gwt-app-architecture-best-practices_29.html

On Apr 2, 10:30 am, Phuong Nguyen  wrote:
> It's cool that Google provide GWTMockUtilities to facilitate testing
> without launching any web server.
> However, it doesn't solve the problem withUiBinder.
> For example, I have a ui.xml file and a class:
> public class XView extends Composite {
>         interface XViewUiBinder extendsUiBinder {
>         }
>
>         private static final XViewUiBinder binder =GWT
>                         .create(XViewUiBinder.class);
>         @UiField
>         HTMLPanel somePanel;
>
>         public SubjectView() {
>                 initWidget(binder.createAndBindUi(this));
>         }
>
> }
>
> When I bring GWTMockUtilities into use, the XView can no longer be
> instantiated, becauseGWT.createwill return null (so, I got a null
> binder).
>
> Is there any different way to do this? (TestGWTcode without
> launching a web server)

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



Re: Is there a way to mock JSONObject?

2010-02-02 Thread Carlos Aguayo
Not as good or ideal as a mockobject but you could use the
GWTTestCase.

On Feb 2, 4:19 pm, Kevin Q  wrote:
> Our application consumes JSON web services. We're using JSONParser,
> returning a JSONObject, and construct domain models from the result
> JSONObject. I'd like to test that piece of code, but it seems I cannot
> use JSONObject in JVM unit tests, as it depends on native code.
>
> java.lang.UnsatisfiedLinkError:
> com.google.gwt.core.client.JavaScriptObject.createObject()Lcom/google/
> gwt/core/client/JavaScriptObject;
>         at com.google.gwt.core.client.JavaScriptObject.createObject(Native
> Method)
>         at com.google.gwt.json.client.JSONObject.(JSONObject.java:46)
>             [output cut...]
>
> I'm wondering is there a way to mock JSONObject, use a hash map to
> hold the key/value pairs, which enables me to run these tests in JVM?
> JSONObject is an interface, so EasyMock can't help here. (correct me
> if I'm wrong)
>
> Also, I tried creating a class MockJSONObject extending JSONObject,
> and replace the put/get logic with HashMap based implementation but
> still no avail, because the JSONObject constructor calls native JS
> code as well...
>
> Any input 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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



UiBinder and non standard CSS properties.

2010-02-01 Thread Carlos Aguayo
Hi,
UiBinder can't seem to take non standard CSS properties.

I have the following:



  
  .test {
-moz-border-radius: 4px;
  }
  

  

  


And it shows the following warning when trying to display the page:
21:01:53.994 [WARN] [gwtsandbox] Line 3 column 20: encountered "-".
Was expecting one of: "}" ";" 

Is this as designed that you can't use non standard CSS properties?
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: No CSS Style with using StackLayoutPanel and TabLayoutPanel

2010-01-19 Thread Carlos Aguayo
http://code.google.com/p/google-web-toolkit/issues/detail?id=4429

On Dec 31 2009, 9:48 am, GWTFan  wrote:
> Hi,
> I'm quite new here in developing GWT applications. I'm trying to use
> the new StackLayoutPanel andTabLayoutPanelfrom GWT 2.0. But when
> viewing my Application there's no Style attribute attached to it.
>
> So here are my questions:
>
> Did I forget something or is this not implemented yet?
> How can I get some usefulCSSStyles for StackLayoutPanel andTabLayoutPanel?
>
> Every help is apreciated. Many 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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: Blank Screen in IE8 but Normal in FF3.5

2010-01-12 Thread Carlos Aguayo
I have the same problem and also for me the "x-ua-compatible" tag
fixed it.

I created a project using the gwt eclipse plugin, here's the java
file:

===

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.user.client.ui.LayoutPanel;
import com.google.gwt.user.client.ui.RootLayoutPanel;

public class GwtSandbox implements EntryPoint {

  interface Binder extends UiBinder { }
  private static final Binder binder = GWT.create(Binder.class);

  public void onModuleLoad() {
LayoutPanel panel = binder.createAndBindUi(this);
RootLayoutPanel.get().add(panel);
  }
}
===
Here's the ui xml file:



 
   
 Lorem ipsum...
   
   
 Header
   
 



I can see it working in Chrome and in FF, however in IE8 I don't see
anything, if I inspect it using the DeveloperTool I see that the
markup is there but is not displayed. If I add the "x-ua-compatible"
tag to the html where the gwt script (nocache.js) is included, then it
works in IE8.


On Dec 30 2009, 3:12 am, jd  wrote:
> I am having exactly the same problem with 2.0.  Yes I am in standards
> IE8 standards mode and the problem is fixed by changing to IE7
> standards mode with the tag
>
> 
>
> However, I have tested a simple DockLayoutPanel including a map (which
> I thought could be the problem) and it all seems to work fine in IE8
> standards mode - so there must be some other factor in my code that
> prevents the DockLayoutPanel from displaying.  I am happy for now with
> the meta tag but will try to figure out what the cause is some 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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Validating ClientBundles ?

2009-12-22 Thread Carlos Aguayo
Hi,

After upgrading the Eclipse plugin to GWT 2.0, whenever I import my
Eclipse projects, Eclipse crashes. After importing the projects, I see
multiple multiple (~12) jobs spawned called "Validating
ClientBundles", then it either shows a warning saying that it ran out
of memory or just closes.

When inspecting the Eclipse log, I found this:

!ENTRY org.eclipse.core.jobs 4 2 2009-12-22 11:07:17.178
!MESSAGE An internal error occurred during: "Refreshing workspace".
!STACK 0
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Thread.java:597)
at org.eclipse.core.internal.jobs.WorkerPool.jobQueued
(WorkerPool.java:145)
at org.eclipse.core.internal.jobs.JobManager.schedule(JobManager.java:
1001)
at org.eclipse.core.internal.jobs.InternalJob.schedule
(InternalJob.java:391)
at org.eclipse.core.runtime.jobs.Job.schedule(Job.java:435)
at
com.google.gdt.eclipse.core.BuilderUtilities.revalidateCompilationUnits
(BuilderUtilities.java:170)
at
com.google.gwt.eclipse.core.clientbundle.ClientBundleResourceChangeListener
$1.visit(ClientBundleResourceChangeListener.java:154)
at org.eclipse.core.internal.events.ResourceDelta.accept
(ResourceDelta.java:68)
at org.eclipse.core.internal.events.ResourceDelta.accept
(ResourceDelta.java:79)
at org.eclipse.core.internal.events.ResourceDelta.accept
(ResourceDelta.java:79)
at org.eclipse.core.internal.events.ResourceDelta.accept
(ResourceDelta.java:79)
at org.eclipse.core.internal.events.ResourceDelta.accept
(ResourceDelta.java:79)
at org.eclipse.core.internal.events.ResourceDelta.accept
(ResourceDelta.java:79)
at org.eclipse.core.internal.events.ResourceDelta.accept
(ResourceDelta.java:79)
at org.eclipse.core.internal.events.ResourceDelta.accept
(ResourceDelta.java:79)
at org.eclipse.core.internal.events.ResourceDelta.accept
(ResourceDelta.java:48)
at
com.google.gwt.eclipse.core.clientbundle.ClientBundleResourceChangeListener.visitResourceDelta
(ClientBundleResourceChangeListener.java:124)
at
com.google.gwt.eclipse.core.clientbundle.ClientBundleResourceChangeListener.resourceChanged
(ClientBundleResourceChangeListener.java:116)
at org.eclipse.core.internal.events.NotificationManager$2.run
(NotificationManager.java:291)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.NotificationManager.notify
(NotificationManager.java:285)
at
org.eclipse.core.internal.events.NotificationManager.broadcastChanges
(NotificationManager.java:149)
at org.eclipse.core.internal.resources.Workspace.broadcastPostChange
(Workspace.java:313)
at org.eclipse.core.internal.resources.Workspace.endOperation
(Workspace.java:1022)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run
(InternalWorkspaceJob.java:45)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
===
These are my JVM settings in eclipse.ini:

--launcher.XXMaxPermSize
256m
-Xms256m
-Xmx1024m
-Xss1024k

Is there a way to turn off this validation upon importing the project.
Am I missing something or is this a bug?

Thanks,
Carlos

--

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




build.xml [Begginer]

2009-11-30 Thread Carlos
Hi all,

Just finished a couple of tutorial on GWT and found myself with a
problem...sure it is very basic, but I'm just starting... :)

Having ANT + Eclipse + the GWT plugging I'm supposed to have a
build.xml once I've created a project, so later can used ANT build it,
or use ANT to host it...

Well I see no way of finding these file, the tutorials seem to say it
generates with the New Project Web App (icon) but in fact it doesn't
(I'm sure it isn't there at least).

Am I doing something wrong?

Thanks!
Carlos

--

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




Re: GWTTestCase + Spring

2009-11-24 Thread Carlos Rafael Ramirez
Hello,

I think GWTTesCAse use the same mechanism than Hosted mode. So you can
modify the web.xml used by hosted mode. Make the hosted mode run without the
security and hopefully it will work qith GWTTestCase as well.

Regards,
Carlos

On Mon, Nov 16, 2009 at 9:14 AM, Davis Ford wrote:

> Hi, I personally wouldn't write too many test cases like this unless you
> are just trying to ensure that everything is wired together.  Even then, I'd
> probably use something like Selenium to record the test from the UI and play
> it back.
>
> Alternatively, you might consider employing the MVP pattern.  This would
> allow you to test all of your UI logic in standard JUnit, leaving just the
> dumb GUI display code untested.  You could choose to test the latter with a
> GWTTestCase if you desired.  Once I started doing this, I stopped using
> GWTTestCase altogether.  I unit test all my UI logic with just JUnit and
> EasyMock.  My tests (500+) finish in about 20 s.
>
>
> On Fri, Nov 13, 2009 at 2:28 PM, dadodev  wrote:
>
>> I'm working on a GWT (1.7) application that uses Spring and Hibernate
>> on the server side that is secured with SpringSecurity and CAS.
>> I want to create some client side tests using GWTTestCase to test the
>> UI and Asynch behavior of the application.
>>
>> I have two problems/questions regarding GWTTestCase:
>> 1) is it possible to customize the web.xml used by the GWT shell
>> started by GWTTestCase? If yes, how? I need to customize the web.xml
>> used by GWTTestCase to disable the application security mechanism in
>> my tests, otherwise I cannot call the remote services which are
>> secured.
>> 2) it's my understanding that the code I write for a GWTTestCase is
>> like GWT client code, ie. I cannot use non-serializable classes: am I
>> correct? If I'm wrong, is there a way to get to the Spring context in
>> a GWTTestCase?
>>
>> 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-tool...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-web-toolkit+unsubscr...@googlegroups.com
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=.
>>
>>
>>
>
>
> --
> Zeno Consulting, Inc.
> home: http://www.zenoconsulting.biz
> blog: http://zenoconsulting.wikidot.com
> p: 248.894.4922
> f: 313.884.2977
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=.
>

--

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




Re: Problem compiling & deploying GWT-Fx

2009-09-21 Thread Carlos Niebla

Hi Adam,

I've encontered two problems: first, the GWT had to be updated (I've
done so for v1.7 / Linux). I'm using Galileo 3.5 and it encountered no
updates for the IDE. The second, there was a warning: "The following
classpath entry '...' will not be available on the server's
classpath" (for the GWT Fx .jar file), I've applied the QuickFix
Eclipse suggested (copy to war/WEB-INF/lib and actualize the class
path) and the warning vanished.

Then, I recompiled & deployed (it worked fine on hosted mode, on
Eclipse). It's not working. The only error I get on Firefox error
console is:

Error: a is null
Source File: 
http://localhost/naya/nayaweb/A1131B9A61762EF28226E382A7719C2B.cache.html
Line: 614

_=tN.prototype=new tM();_.tI=91;function oO(c,a,b){var d;d=c.d+b*(c.a-
c.d);if(c.c){a.style[ad]=De+d/100}else{a.style[c.e]=d+c.f}}

but the same error apears on any other project using only GWT.

I'm working on the simpliest of GWT-Fx example, here's my source code:

NewGWTFx.gwt.fx
--

http://google-web-toolkit.googlecode.com/svn/tags/1.7.0/distro-
source/core/src/gwt-module.dtd">

  
  

  
  
  
  
  
  

  
  
  
  


NewGWTFx.html
-


  

NewGWTFx Test


  

  

  


FIRPanel.java
-
package com.naya.newgwtfx.client;

import org.adamtacy.client.ui.NEffectPanel;
import org.adamtacy.client.ui.effects.NEffect;
import org.adamtacy.client.ui.effects.events.EffectCompletedEvent;
import org.adamtacy.client.ui.effects.events.EffectCompletedHandler;

import com.google.gwt.event.dom.client.LoadEvent;
import com.google.gwt.event.dom.client.LoadHandler;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.Image;

public class FIRPanel extends Composite {

private boolean forward = false;
String newImageUrl;
private NEffect swapEffect;
private NEffectPanel swapPanel;
private Image visImage;

public FIRPanel(String firstImageUrl, NEffect swapApproach) {
visImage = new Image(firstImageUrl);
swapEffect = swapApproach;
swapPanel = new NEffectPanel();
swapEffect.addEffectCompletedHandler(new
EffectCompletedHandler(){
public void onEffectCompleted
(EffectCompletedEvent handler) {
if (forward) {
visImage.setUrl(newImageUrl);
forward = false;
} else {
forward = true;
}
}
});
swapPanel.add(visImage);
swapPanel.addEffect(swapEffect);

visImage.addLoadHandler(new LoadHandler() {
public void onLoad(LoadEvent event) {
runEffect
();
}
});
initWidget(swapPanel);
swapEffect.setPosition(1);
}

private void runEffect() {
if (forward)
swapEffect.play(0, 1);
else
swapEffect.play(1, 0);
}

public void swapImage(String newImageUrl) {
this.newImageUrl = newImageUrl;
runEffect();
}
}

NewGWTFx.java
-
package com.naya.newgwtfx.client;

import org.adamtacy.client.ui.effects.NEffect;
import org.adamtacy.client.ui.effects.impl.Fade;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.RootPanel;
import com.naya.newgwtfx.client.FIRPanel;

public class NewGWTFx implements EntryPoint {

NEffect fd = new Fade();
FIRPanel f = new FIRPanel("http://www.google.com/images/logo.gif";,
fd);

public void onModuleLoad() {
f.swapImage("http://www.naya.com.mx/img/logo_NAYA_c.jpg";);
RootPanel.get().add(f);
}
}

Many thanks in advance!

On Sep 19, 4:24 am, Adam T  wrote:
> Hi Carlos,
>
> You shouldn't see anything in the war file, the code for gwt-fx gets
> compiled into JavaScript by the GWT compiler - just adding the jar
> file as you have to a lib directory and is enough (assuming your
> classpaths are set up ok).
>
> I'd suggest checking the log of the compile to make sure your code has
> compiled, and if so, then using an inspection tool on your browser to
> see what is happening (e.g. Firebug or similar).
>
> Hope that helps,
>
> Adam
>
> On 12 Sep, 02:15, Carlos Niebla  wrote:
>
> > Hi,
>
> > I've been working with some examples ofGWT-Fx, they run fine in
> > hosted mode within Eclipse, but when I compile and deply to web server
> > they show nothing at al

Re: Problem compiling & deploying GWT-Fx

2009-09-20 Thread Carlos Niebla

Many thanks!

I'm going to track this and I'll keep this thread posted :)

On Sep 19, 4:24 am, Adam T  wrote:
> Hi Carlos,
>
> You shouldn't see anything in the war file, the code for gwt-fx gets
> compiled into JavaScript by the GWT compiler - just adding the jar
> file as you have to a lib directory and is enough (assuming your
> classpaths are set up ok).
>
> I'd suggest checking the log of the compile to make sure your code has
> compiled, and if so, then using an inspection tool on your browser to
> see what is happening (e.g. Firebug or similar).
>
> Hope that helps,
>
> Adam
>
> On 12 Sep, 02:15, Carlos Niebla  wrote:
>
> > Hi,
>
> > I've been working with some examples ofGWT-Fx, they run fine in
> > hosted mode within Eclipse, but when I compile and deply to web server
> > they show nothing at all.
>
> > I've inspected the resulting war dir, and there's not a "org/adam*"
> > set of directories.
>
> > As I said, in my setup I have added the jar filegwt-fxv4.0.0.jar to
> > a "lib" sub-dir in my workspace, then added it to my build path. It's
> > working without problems on hosted mode.
>
> > 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
-~--~~~~--~~--~--~---



Problem compiling & deploying GWT-Fx

2009-09-11 Thread Carlos Niebla

Hi,

I've been working with some examples of GWT-Fx, they run fine in
hosted mode within Eclipse, but when I compile and deply to web server
they show nothing at all.

I've inspected the resulting war dir, and there's not a "org/adam*"
set of directories.

As I said, in my setup I have added the jar file gwt-fx v4.0.0.jar to
a "lib" sub-dir in my workspace, then added it to my build path. It's
working without problems on hosted mode.

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



Issue with services

2009-03-17 Thread Carlos A

Hi,currently I'm working on a project with GWT that has this special
condition:we'll deliver two products,a framework and an
application.The application uses the framework classes through a JAR
file.The big problem is that the framework package contains all the
clases that implements Services and make RP calls.But what we want to
do is to deploy the application in an Oracle server.Here are some
classes,so you understand a more about our problem:

Application.gwt.xml contains the following lines:















FrameworkGWT is found in the JAR file I mentioned earlier.

FrameworkGWT.gwt.xml contains the following lines:


  
 
 
  
  
  
  

  
  
  
  
  
  
  


As you can see,we write the servlets paths for the services in the
Framework module,because it's the one that contains these classes.
The problem is that when we deploy the application and try to call a
service,it doesn't work because we don't have them mapped in the
web.xml file from the application.We tried to map them directly in
this XML file but it didn't work,as the application threw an
Exception.

So,the question is:is there any way to invoke a service that's not
contained in the same project where the client side is located?Like I
told you before,we MUST keep separated the Application and Framework
projects,and the only way to interact with it is through a JAR file.

Thanks for your 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
-~--~~~~--~~--~--~---



Combox dynamic

2009-02-26 Thread Carlos

Hello !!!

I am creating dynamic ComboBox with bilioteca gwt-ext,
in some cases need to fill the data again
ComboBox. How to do it if I have only the name of the ComboBox?

Example:

 for (int x=0;x<= ncombobox.length();x++) {

   ComboBox cb = new ComboBox();
   cb.setFieldLabel(ncombobox[x][1]);
   cb.setDisplayField(ncombobox[x][2]);

   }

  cb.setstore( ) ??

   How to fill the combobox if I have only the name of the combobox?

tks.

Carlos

--~--~-~--~~~---~--~~
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: Exception when running GWT Gadget RPC sample project ($stats is not defined)

2008-12-03 Thread carlos calvo
I have the same problem trying to pass ArrayList by rpc


On Wed, Dec 3, 2008 at 12:03 PM, rintcius <[EMAIL PROTECTED]> wrote:

>
> Hi,
>
> I am trying to get the GadgetRPC sample working, but I'm stuck. I am
> getting the exception below when it's about to make the RPC call (and
> a similar exception in my own project)
> Anybody knows what's going on here? Did I miss a configuration step
> somewhere?
>
> By the way I am running linux. GWT version is 1.5.3. gwt-gadgets
> version is 1.0.1.
>
> Thanks for any help,
> Rintcius
>
> [ERROR] Uncaught exception escaped
> com.google.gwt.core.client.JavaScriptException: (ReferenceError):
> $stats is not defined
>  fileName: jar:file:/home/rintcius/dev/lib/gwt/gwt-linux-1.5.3/gwt-
> user.jar!/com/google/gwt/user/client/rpc/impl/RemoteServiceProxy.java
>  lineNumber: 56
>  stack: ()@jar:file:/home/rintcius/dev/lib/gwt/gwt-linux-1.5.3/gwt-
> user.jar!/com/google/gwt/user/client/rpc/impl/RemoteServiceProxy.java:
> 56
> static void com.google.gwt.user.client.DOM.dispatchEvent
>
> (com.google.gwt.user.client.Event,com.google.gwt.user.client.Element,com.google.gwt.user.client.EventListener)
> ([object Event],[object HTMLButtonElement],[object
> gwt_nativewrapper_class])@:0
> ([object Event])@jar:file:/home/rintcius/dev/lib/gwt/gwt-linux-1.5.3/
> gwt-user.jar!/com/google/gwt/user/client/impl/DOMImplStandard.java:197
> @:0
>
>at
> com.google.gwt.user.client.rpc.impl.RemoteServiceProxy.isStatsAvailable
> (Native Method)
>at
>
> com.google.gwt.gadgets.sample.gadgetrpc.client.GadgetService_Proxy.getServerInfo
> (transient source for
> com.google.gwt.gadgets.sample.gadgetrpc.client.GadgetService_Proxy:23)
>at
> com.google.gwt.gadgets.sample.gadgetrpc.client.GadgetRPC$2.onClick
> (GadgetRPC.java:104)
>at com.google.gwt.user.client.ui.ClickListenerCollection.fireClick
> (ClickListenerCollection.java:34)
>at com.google.gwt.user.client.ui.FocusWidget.onBrowserEvent
> (FocusWidget.java:102)
>at com.google.gwt.user.client.DOM.dispatchEventImpl(DOM.java:1308)
>at com.google.gwt.user.client.DOM.dispatchEventAndCatch(DOM.java:
> 1287)
>at com.google.gwt.user.client.DOM.dispatchEvent(DOM.java:1255)
> >
>


-- 


Respetuosamente
Carlos Calvo Guillen

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



Re: GWT deployment to JBoss

2008-10-03 Thread Carlos Rafael Ramirez
Hello,

Use

-Xmx1024m


Regards,
Carlos

On Thu, Oct 2, 2008 at 7:59 PM, Ronak Patel <[EMAIL PROTECTED]> wrote:

>
> Thanks,
>
> That did it.
>
> Another question for you...I am now getting OutOfMemoryErrors while
> trying to compile and build Google Web Toolkit from Maven. I tried
> setting my pom file to:
>
> 
>com.totsp.gwt
>maven-googlewebtoolkit2-plugin artifactId>
>
>true
>INFO
>
>  com.baesystems.grading.gwt/Main.html
>
>
>  com.baesystems.canes.grading.gwt.Main
>
>${gwtVersion}
>
>
>
>
>mergewebxml
>compile
>
>
>
>
>
> But there's no process fork going on. I also tried setting
>
> -Xmx1024m but that doesn't help either.
>
> Has anyone come across this?
>
> Thanks.
> On Sep 27, 6:27 pm, "Carlos Rafael Ramirez" <[EMAIL PROTECTED]>
> wrote:
> > Hi,
> >
> > I am using jboss, eclipse and ant (not maven) to deploy my web
> application
> > using GWT 1.5 and no problem at all. Check your html host page. A simple
> > check is trying to download the nocache file as is written in your
> webpage.
> > If it can be found by the browser well at  least your web application is
> > well configured.
> >
> > Regards,
> > Carlos
> >
> >
> >
> > On Sat, Sep 27, 2008 at 8:19 PM, Ronak Patel <[EMAIL PROTECTED]>
> wrote:
> >
> > > Hi all,
> >
> > > I'm using Eclipse & Maven to deploy a GWT 1.5 web application to
> > > JBoss. When I run the application inside of the built in Application-
> > > shell.cmd program, I see my web application inside of the Google
> > > Browser Window.
> >
> > > However, when I build the war file using Maven and the GWT Archetype,
> > > I am unable to visit the web application home page.
> >
> > > Maven runs and bundles the outputs of the Application-compile.cmd
> > > file. This includes a WEB-INF complete with classes and lib folders
> > > along with the nocache and cache html and js files.
> >
> > > Was anyone else ever able to deploy and view the outputs of a GWT
> > > application successfully?- Hide quoted text -
> >
> > - Show quoted text -
> >
>

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



Re: Best practices

2008-09-29 Thread Carlos Rafael Ramirez
Hello Gregor,

Have you thought in put your answer in a BLOG? For me your message is an GWT
optimization article.

Thanks,
Regards,
Carlos

On Tue, Sep 30, 2008 at 12:04 PM, Thomas Broyer <[EMAIL PROTECTED]> wrote:

>
>
> On 25 sep, 10:44, Stefan <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > Does anyone know any good resources for "Best practices" when writing
> > GWT apps? Questions I would like to have answered:
> >
> > * How to I write high-performing apps? I know that the compiler helps
> > out, but how do I write code that helps the compiler to minify/
> > optimize my app?
>
> Google for "high performance ajax" and the like. Application and code
> "organisation" and design, independently of being "pure" or GWT-
> generated JavaScript, highly impacts performance.
>
> The main rule: the fastest code is the one that doesn't run (or, as
> would say Julien Lecomte [1]: less is more: don't do anything
> unnecessary / don't do anything until it becomes absolutely necessary)
>
> [1]
> http://www.slideshare.net/julien.lecomte/high-performance-ajax-applications/
> >
>

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



Re: GWT deployment to JBoss

2008-09-28 Thread Carlos Rafael Ramirez
Hi,

I am using jboss, eclipse and ant (not maven) to deploy my web application
using GWT 1.5 and no problem at all. Check your html host page. A simple
check is trying to download the nocache file as is written in your webpage.
If it can be found by the browser well at  least your web application is
well configured.

Regards,
Carlos

On Sat, Sep 27, 2008 at 8:19 PM, Ronak Patel <[EMAIL PROTECTED]> wrote:

>
> Hi all,
>
> I'm using Eclipse & Maven to deploy a GWT 1.5 web application to
> JBoss. When I run the application inside of the built in Application-
> shell.cmd program, I see my web application inside of the Google
> Browser Window.
>
> However, when I build the war file using Maven and the GWT Archetype,
> I am unable to visit the web application home page.
>
> Maven runs and bundles the outputs of the Application-compile.cmd
> file. This includes a WEB-INF complete with classes and lib folders
> along with the nocache and cache html and js files.
>
> Was anyone else ever able to deploy and view the outputs of a GWT
> application successfully?
>
> >
>

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



  1   2   >