Re: Error 404 in the RPC GWT

2014-04-09 Thread paolamontorio
Hi Thomas,
there is nothing in Tomcat's log. I discovered the 404 error through HTTP 
Watch.
ciao
Paola

Il giorno martedì 8 aprile 2014 15:59:36 UTC+2, Thomas Broyer ha scritto:

 What does Tomcat says if you open that URL in your browser (or if you look 
 at the response in your browser's developer tools)
 Is there anything in Tomcat's logs?

 On Tuesday, April 8, 2014 2:49:15 PM UTC+2, paolam...@gmail.com wrote:

 Hi Alberto,

 The problem 404 is with Tomcat, the app Gwt is deployed on tomcat and 
 there is the error 404. With Eclipse with Jetty server is all ok and the 
 app GWT works well and there isn't problem.

 In order the service is implemented in its.server.GreetingServiceImpl.

 Ciao
 Paola


 Il giorno martedì 8 aprile 2014 14:29:38 UTC+2, Alberto Mancini ha 
 scritto:

 Hi,
 there is some associated error before the '404' (probably in the console 
 view in eclipse) ? 

 For instance, is your service implemented in 
 'its.server.GreetingServiceImpl' ?

 Cheers,
Alberto. 



 On Tue, Apr 8, 2014 at 2:18 PM, paolam...@gmail.com wrote:

 unfortunately it doesn't work :-(
 I have already in gwt.xml the module rename-tomyopengov but the 
 problem 404 remains


 Il giorno martedì 8 aprile 2014 12:41:49 UTC+2, Jens ha scritto:

 If you haven't you must rename your GWT module to myopengov, e.g. 
 module rename-tomyopengov

 -- J.

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




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


Re: Error 404 in the RPC GWT

2014-04-09 Thread paolamontorio
Hi all,
I solved the 404 error : 
it was the position and the version of the hibernate library:

I moved under Tomcat / lib all the libraries that were in Webapp / Myapp / 
WEBINF / lib
Now it works!
Ciao
Paola






Il giorno mercoledì 9 aprile 2014 09:35:15 UTC+2, paolam...@gmail.com ha 
scritto:

 Hi Thomas,
 there is nothing in Tomcat's log. I discovered the 404 error through HTTP 
 Watch.
 ciao
 Paola

 Il giorno martedì 8 aprile 2014 15:59:36 UTC+2, Thomas Broyer ha scritto:

 What does Tomcat says if you open that URL in your browser (or if you 
 look at the response in your browser's developer tools)
 Is there anything in Tomcat's logs?

 On Tuesday, April 8, 2014 2:49:15 PM UTC+2, paolam...@gmail.com wrote:

 Hi Alberto,

 The problem 404 is with Tomcat, the app Gwt is deployed on tomcat and 
 there is the error 404. With Eclipse with Jetty server is all ok and the 
 app GWT works well and there isn't problem.

 In order the service is implemented in its.server.GreetingServiceImpl.

 Ciao
 Paola


 Il giorno martedì 8 aprile 2014 14:29:38 UTC+2, Alberto Mancini ha 
 scritto:

 Hi,
 there is some associated error before the '404' (probably in the 
 console view in eclipse) ? 

 For instance, is your service implemented in 
 'its.server.GreetingServiceImpl' ?

 Cheers,
Alberto. 



 On Tue, Apr 8, 2014 at 2:18 PM, paolam...@gmail.com wrote:

 unfortunately it doesn't work :-(
 I have already in gwt.xml the module rename-tomyopengov but the 
 problem 404 remains


 Il giorno martedì 8 aprile 2014 12:41:49 UTC+2, Jens ha scritto:

 If you haven't you must rename your GWT module to myopengov, e.g. 
 module rename-tomyopengov

 -- J.

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




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


Error 404 in the RPC GWT

2014-04-08 Thread paolamontorio
hi all,
when there is a RPC i have an error 404,
in the tutorial GWT  there is written :
If invoking your RPC call fails with a 404 StatusCodeException, your 
web.xml may be misconfigured.

my web.xml is
---
  servlet
servlet-namegreetServlet/servlet-name
servlet-classits.server.GreetingServiceImpl/servlet-class
  /servlet
  servlet-mapping
servlet-namegreetServlet/servlet-name
url-pattern/myopengov/greet/url-pattern
  /servlet-mapping
---
my GreetingService.java  is :
@RemoteServiceRelativePath(greet)
public interface GreetingService extends RemoteService {
.to do something

Where I wrong??
I'm waiting for an help please 
thank you in advance
ciao
Paola Montorio

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


Re: Error 404 in the RPC GWT

2014-04-08 Thread paolamontorio
unfortunately it doesn't work :-(
I have already in gwt.xml the module rename-tomyopengov but the problem 
404 remains


Il giorno martedì 8 aprile 2014 12:41:49 UTC+2, Jens ha scritto:

 If you haven't you must rename your GWT module to myopengov, e.g. 
 module rename-tomyopengov

 -- J.


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


Re: Error 404 in the RPC GWT

2014-04-08 Thread paolamontorio
Hi Alberto,

The problem 404 is with Tomcat, the app Gwt is deployed on tomcat and there 
is the error 404. With Eclipse with Jetty server is all ok and the app GWT 
works well and there isn't problem.

In order the service is implemented in its.server.GreetingServiceImpl.

Ciao
Paola


Il giorno martedì 8 aprile 2014 14:29:38 UTC+2, Alberto Mancini ha scritto:

 Hi,
 there is some associated error before the '404' (probably in the console 
 view in eclipse) ? 

 For instance, is your service implemented in 
 'its.server.GreetingServiceImpl' ?

 Cheers,
Alberto. 



 On Tue, Apr 8, 2014 at 2:18 PM, paolam...@gmail.com javascript: wrote:

 unfortunately it doesn't work :-(
 I have already in gwt.xml the module rename-tomyopengov but the 
 problem 404 remains


 Il giorno martedì 8 aprile 2014 12:41:49 UTC+2, Jens ha scritto:

 If you haven't you must rename your GWT module to myopengov, e.g. 
 module rename-tomyopengov

 -- J.

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




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


catch the Click Event on the TextBox draggable

2014-04-03 Thread paolamontorio
I'm developing with the dnd library 3.3.0 and my goal is to catch the click 
event on the text box draggable.

I create the textBox draggable : 
8-8
private Widget createDraggableTextBox() {
ClickTextBox textBox = new ClickTextBox(demoDragHandler);
dragController.makeDraggable(textBox);
return textBox;
}

public class ClickTextBox extends TextBox {

  private DemoDragHandler demoDragHandler;

  public ClickTextBox(DemoDragHandler demoDragHandler) {
this.demoDragHandler = demoDragHandler;

  }

  @Override
  public void setText(String text) {
super.setText(text);
  }
}
8

and now in my script to catch the click event I invoke:

for(final WSIO input:inputList){  // nn cycles

Widget wi = createDraggableTextBox();
wi.addAttachHandler(new AttachEvent.Handler() {
   @Override
   public void onAttachOrDetach(AttachEvent event) {
//do something
...
}
}

But the PROBLEM is that IT will catch n(size of cycles's FOR  ) events with 
only one click .
I would have need to catch only one event by only one click.
I'm waiting for an help for this idiosyncrasy,
thanks in advance to anybody to help me


Paola Montorio

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