Re: HandlerRegistration.removeHandler() does not work?

2013-06-22 Thread Sang Hero
Oh, thank Thomas.

I have solved the problem. The problem caused by an other activity that
fires the LoginSuccessEvent. I forgot to removeHandler() on that activity,
so It fires the  LoginSuccessEvent multiple times.

2013/6/22 Thomas Broyer 

>
>
> On Saturday, June 22, 2013 3:40:21 AM UTC+2, Sang Hero wrote:
>>
>> Hi everyone,
>>
>> I have had a problem with *HandlerRegistration* returned by method *
>> SimpleEventBus.addHandler *
>> *
>> *
>> When I call:
>>
>> *HandlerRegistration hr = eventBus.addHandler(LoginSuccessEvent.TYPE,
>> new LoginSuccessEventHandler() {*
>> * *
>> * @Override*
>> * public void onSuccess(LoginSuccessEvent event) {*
>> * view.getName().setText(event.getName());*
>> * System.out.println("Fire");*
>> * }*
>> * });*
>> *
>> *
>> Then I call:
>>
>> *hr.removeHandler();*
>> *
>> *
>> The handler still does not be removed. I see on console multiple "Fire"
>> each event firing.
>>
>> This is my complete code: 
>> http://pastebin.com/**3ZBXnXF8
>>
>> On each event firing, I see "Back" one time but multiple time with "Fire"
>>
>> Can you help me solve this problem?
>>
>
> Hard to diagnose with the given information (where and when the
> LoginSuccessEvent is fired?), but you actually don't need that 'hr',
> because the EventBus passed to start() will automatically un-register all
> its handlers when the activity stops (onStop and onCancel).
>
> --
> 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.




application does not open when deployed on tomcat

2013-06-22 Thread Shashank Beerla
Hi,

I deployed my application on tomcat and it doesnot open on any of the 
browser. It shows http 404 error . I created a war file file of the GWT 
application and placed it in the tomcat webapp folder. It doesnot show any 
error while running the server. 
My project name is Datamart

I used http://localhost:8080/Datamart this http request to open my 
application . Please let me know what could be the reason?

HTTP Status 404 - /Datamart 
--

*type* Status report

*message* */Datamart*

*description* *The requested resource is not available.*
--
Apache Tomcat/7.0.40

Jun 22, 2013 7:20:54 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal 
performance in production environments was not found on the 
java.library.path: C:\Program 
Files\Java\jdk1.7.0_15\bin;C:\windows\Sun\Java\bin;C:\windows\system32;C:\windows;C:/Program
 
Files/Java/jre7/bin/client;C:/Program Files/Java/jre7/bin;C:/Program 
Files/Java/jre7/lib/i386;C:\Program Files\Teradata\Client\13.0\ODBC Driver 
for Teradata\Lib;C:\oracle\product\10.2.0\client_1\bin;C:\Program 
Files\CA\SC\CAWIN\;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\PROGRA~1\CA\SC\CAM\bin;C:\Program
 
Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common 
Files\Roxio Shared\10.0\DLLShared\;C:\Program Files\CA\SC\CBB\;C:\Program 
Files\CA\DSM\bin;C:\Program Files\CA\SC\Csam\SockAdapter\bin;C:\Program 
Files\Teradata\Client\13.0\Shared ICU Libraries for 
Teradata\lib\;C:\Program Files\SAS\SharedFiles\Formats;C:\Program 
Files\Java\jdk1.7.0_15\bin;C:\apache-maven-3.0.5\bin;;C:\Users\937689\Downloads\eclipse;;.
Jun 22, 2013 7:20:54 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Jun 22, 2013 7:20:54 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Jun 22, 2013 7:20:54 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 306 ms
Jun 22, 2013 7:20:54 PM org.apache.catalina.core.StandardService 
startInternal
INFO: Starting service Catalina
Jun 22, 2013 7:20:54 PM org.apache.catalina.core.StandardEngine 
startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.40
Jun 22, 2013 7:20:54 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive 
C:\Users\937689\Downloads\apache-tomcat-7.0.40\webapps\ Datamart.war
Jun 22, 2013 7:20:55 PM org.apache.catalina.startup.HostConfig 
deployDirectory
INFO: Deploying web application directory 
C:\Users\937689\Downloads\apache-tomcat-7.0.40\webapps\docs
Jun 22, 2013 7:20:55 PM org.apache.catalina.startup.HostConfig 
deployDirectory
INFO: Deploying web application directory 
C:\Users\937689\Downloads\apache-tomcat-7.0.40\webapps\examples
Jun 22, 2013 7:20:55 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Jun 22, 2013 7:20:55 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Jun 22, 2013 7:20:55 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: 
attributeAdded('org.apache.jasper.compiler.TldLocationsCache', 
'org.apache.jasper.compiler.TldLocationsCache@459fc2')
Jun 22, 2013 7:20:55 PM org.apache.catalina.startup.HostConfig 
deployDirectory
INFO: Deploying web application directory 
C:\Users\937689\Downloads\apache-tomcat-7.0.40\webapps\host-manager
Jun 22, 2013 7:20:56 PM org.apache.catalina.startup.HostConfig 
deployDirectory
INFO: Deploying web application directory 
C:\Users\937689\Downloads\apache-tomcat-7.0.40\webapps\manager
Jun 22, 2013 7:20:56 PM org.apache.catalina.startup.HostConfig 
deployDirectory
INFO: Deploying web application directory 
C:\Users\937689\Downloads\apache-tomcat-7.0.40\webapps\ROOT
Jun 22, 2013 7:20:56 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Jun 22, 2013 7:20:56 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Jun 22, 2013 7:20:56 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 1295 ms

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




GWT passing value objects

2013-06-22 Thread Shashank Beerla
In my current project I am building an interface where I will be passing 
huge list of values to the csv servlet class( i need to write the data to 
csv file) . Currently I am using window.open() method to pass the values to 
the csv class servlet. When the list of values to be send are huge the 
inbuilt jetty server closes the connection. Is there any framework in GWT i 
can use to send the values as a objects to the csv servlet class. 

-- 
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: Introducing GWT-Tour 0.1

2013-06-22 Thread Francesco Izzi
Cool!

+1


2013/6/22 Alain Ekambi 

> Sweet.
> I m glad it works for you.
> Enjoy and build some nice Tour :)
> Cheers
>
>
> 2013/6/22 JoyaleXandre 
>
>> Sorry, that's just because I was displaying the popup on the left and my
>> button was completely on the left side of the browser. So I could not see
>> it. What a newbie lol.
>>
>> Thanks for your help. Again, nice work.
>>
>> Le samedi 22 juin 2013 12:16:27 UTC-4, Alain a écrit :
>>>
>>> It s strange the code below is working for me. I m missing the image too.
>>> This is because I did nt included them in the jar file. You will need to
>>> download them from GitHub.
>>> But the tour should be working.
>>>
>>>  /**
>>>
>>>  * This is the entry point method.
>>>
>>>  */
>>>
>>> public void onModuleLoad() {
>>>
>>> final Button sendButton = new Button("Send");
>>>
>>> RootPanel.get().add(**sendButton);
>>>
>>>
>>> final Tour tour = new Tour("my-Tour");
>>>
>>>
>>> TourStep step = new TourStep(Placement.RIGHT, sendButton);
>>>
>>> step.setTitle("Test");
>>>
>>> step.setContent("Hello");
>>>
>>> tour.addStep(step);
>>>
>>>
>>> sendButton.addClickHandler(new ClickHandler() {
>>>
>>> @Override
>>>
>>> public void onClick(ClickEvent event) {
>>>
>>> GwtTour.startTour(tour);
>>>
>>> }
>>>
>>> });
>>>
>>> }
>>>
>>>
>>> 2013/6/22 JoyaleXandre 
>>>
>>> This is my entry point.

 package com.ibal.cervello.client;

 import com.ibal.cervello.client.**views.AddInvoice;
 import com.ibal.cervello.client.**views.MenuBar;
 import com.eemi.gwt.tour.client.**GwtTour;
 import com.eemi.gwt.tour.client.**Placement;
 import com.eemi.gwt.tour.client.Tour;
 import com.eemi.gwt.tour.client.**TourStep;
 import com.github.gwtbootstrap.**client.ui.Button;
 import com.github.gwtbootstrap.**client.ui.constants.IconType;
 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.ui.**RootPanel;

 /**
   * Entry point classes define onModuleLoad().
  */
 public class Cervello implements EntryPoint {

 /**
  * This is the entry point method.
  */
 public void onModuleLoad() {
  RootPanel.get().add(new MenuBar());
 RootPanel.get().add(new AddInvoice());

 Button btnTour = new Button("Test Tour");
 btnTour.setBaseIcon(IconType.**ENVELOPE);
  RootPanel.get().add(btnTour);

 // Define the tour!
  final Tour tour = new Tour("myTour");

 TourStep step = new TourStep(Placement.LEFT, btnTour);
  step.setContent("Test button");
 step.setTitle("Comment");
  tour.addStep(step);

 // Start the tour!
  btnTour.addClickHandler(new ClickHandler() {

 @Override
  public void onClick(ClickEvent event) {
 GwtTour.startTour(tour);
  }
 });

  }
 }



 Le samedi 22 juin 2013 11:45:20 UTC-4, Alain a écrit :
>
> First  Thx for the nice feedback.
> The Jar should work.
> Can you please post your sample code ?
>
>
>
>
> 2013/6/22 JoyaleXandre 
>
>> I can't make it work with the jar. I get this message and nothing
>> append when I click on launch the GwtTour.startTour event. Does the jar
>> works?
>>
>> [WARN] 404 - GET /img/sprite-green-0.3.png (127.0.0.1) 1410 bytes
>>Request headers
>>   Host: 127.0.0.1:
>>   Connection: keep-alive
>>   Accept: */*
>>   User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64)
>> AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36
>>   Accept-Encoding: gzip,deflate,sdch
>>   Accept-Language: en-US,en;q=0.8
>>   Referer: http://127.0.0.1:/**Cervello**
>> .html?gwt.codesvr=127.**0.0.1:**9997
>>Response headers
>>   Content-Type: text/html; charset=iso-8859-1
>>   Content-Length: 1410
>>
>> Le vendredi 21 juin 2013 18:22:57 UTC-4, Alain a écrit :
>>
>>> GWT-Tour is a small GWT library that can help you implement a nice
>>> tour of your GWT/Web app.
>>>
>>> So if you ever wanted to show your users how to use your application
>>> in an interactive way this can be usefull.
>>> GWT-Tour works with regular web app as well as with GWT Widgets.
>>>
>>> A demo can be seen here : 
>>> http://eemi2010.github.io/**gwt-tour/
>>>
>>> Enjoy :)
>>>
>>> Alain
>>>
>>  --
>> 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,
>> se

Re: Introducing GWT-Tour 0.1

2013-06-22 Thread Alain Ekambi
Sweet.
I m glad it works for you.
Enjoy and build some nice Tour :)
Cheers


2013/6/22 JoyaleXandre 

> Sorry, that's just because I was displaying the popup on the left and my
> button was completely on the left side of the browser. So I could not see
> it. What a newbie lol.
>
> Thanks for your help. Again, nice work.
>
> Le samedi 22 juin 2013 12:16:27 UTC-4, Alain a écrit :
>>
>> It s strange the code below is working for me. I m missing the image too.
>> This is because I did nt included them in the jar file. You will need to
>> download them from GitHub.
>> But the tour should be working.
>>
>>  /**
>>
>>  * This is the entry point method.
>>
>>  */
>>
>> public void onModuleLoad() {
>>
>> final Button sendButton = new Button("Send");
>>
>> RootPanel.get().add(**sendButton);
>>
>>
>> final Tour tour = new Tour("my-Tour");
>>
>>
>> TourStep step = new TourStep(Placement.RIGHT, sendButton);
>>
>> step.setTitle("Test");
>>
>> step.setContent("Hello");
>>
>> tour.addStep(step);
>>
>>
>> sendButton.addClickHandler(new ClickHandler() {
>>
>> @Override
>>
>> public void onClick(ClickEvent event) {
>>
>> GwtTour.startTour(tour);
>>
>> }
>>
>> });
>>
>> }
>>
>>
>> 2013/6/22 JoyaleXandre 
>>
>> This is my entry point.
>>>
>>> package com.ibal.cervello.client;
>>>
>>> import com.ibal.cervello.client.**views.AddInvoice;
>>> import com.ibal.cervello.client.**views.MenuBar;
>>> import com.eemi.gwt.tour.client.**GwtTour;
>>> import com.eemi.gwt.tour.client.**Placement;
>>> import com.eemi.gwt.tour.client.Tour;
>>> import com.eemi.gwt.tour.client.**TourStep;
>>> import com.github.gwtbootstrap.**client.ui.Button;
>>> import com.github.gwtbootstrap.**client.ui.constants.IconType;
>>> 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.ui.**RootPanel;
>>>
>>> /**
>>>  * Entry point classes define onModuleLoad().
>>>  */
>>> public class Cervello implements EntryPoint {
>>>
>>> /**
>>>  * This is the entry point method.
>>>  */
>>> public void onModuleLoad() {
>>>  RootPanel.get().add(new MenuBar());
>>> RootPanel.get().add(new AddInvoice());
>>>
>>> Button btnTour = new Button("Test Tour");
>>> btnTour.setBaseIcon(IconType.**ENVELOPE);
>>>  RootPanel.get().add(btnTour);
>>>
>>> // Define the tour!
>>>  final Tour tour = new Tour("myTour");
>>>
>>> TourStep step = new TourStep(Placement.LEFT, btnTour);
>>>  step.setContent("Test button");
>>> step.setTitle("Comment");
>>>  tour.addStep(step);
>>>
>>> // Start the tour!
>>>  btnTour.addClickHandler(new ClickHandler() {
>>>
>>> @Override
>>>  public void onClick(ClickEvent event) {
>>> GwtTour.startTour(tour);
>>>  }
>>> });
>>>
>>>  }
>>> }
>>>
>>>
>>>
>>> Le samedi 22 juin 2013 11:45:20 UTC-4, Alain a écrit :

 First  Thx for the nice feedback.
 The Jar should work.
 Can you please post your sample code ?




 2013/6/22 JoyaleXandre 

> I can't make it work with the jar. I get this message and nothing
> append when I click on launch the GwtTour.startTour event. Does the jar
> works?
>
> [WARN] 404 - GET /img/sprite-green-0.3.png (127.0.0.1) 1410 bytes
>Request headers
>   Host: 127.0.0.1:
>   Connection: keep-alive
>   Accept: */*
>   User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64)
> AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36
>   Accept-Encoding: gzip,deflate,sdch
>   Accept-Language: en-US,en;q=0.8
>   Referer: http://127.0.0.1:/**Cervello**
> .html?gwt.codesvr=127.**0.0.1:**9997
>Response headers
>   Content-Type: text/html; charset=iso-8859-1
>   Content-Length: 1410
>
> Le vendredi 21 juin 2013 18:22:57 UTC-4, Alain a écrit :
>
>> GWT-Tour is a small GWT library that can help you implement a nice
>> tour of your GWT/Web app.
>>
>> So if you ever wanted to show your users how to use your application
>> in an interactive way this can be usefull.
>> GWT-Tour works with regular web app as well as with GWT Widgets.
>>
>> A demo can be seen here : 
>> http://eemi2010.github.io/**gwt-tour/
>>
>> Enjoy :)
>>
>> Alain
>>
>  --
> 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+**unsubscribe**@googlegroups.com.
> To post to this group, send email to google-we...@**googlegroups.com.
>
> Visit this group at http://groups.google.com/**group**
>

Re: Introducing GWT-Tour 0.1

2013-06-22 Thread JoyaleXandre
Sorry, that's just because I was displaying the popup on the left and my 
button was completely on the left side of the browser. So I could not see 
it. What a newbie lol.

Thanks for your help. Again, nice work.

Le samedi 22 juin 2013 12:16:27 UTC-4, Alain a écrit :
>
> It s strange the code below is working for me. I m missing the image too.
> This is because I did nt included them in the jar file. You will need to 
> download them from GitHub.
> But the tour should be working.
>
>  /**
>
>  * This is the entry point method.
>
>  */
>
> public void onModuleLoad() {
>
> final Button sendButton = new Button("Send");
>
> RootPanel.get().add(sendButton);
>
>
> final Tour tour = new Tour("my-Tour");
>
>
> TourStep step = new TourStep(Placement.RIGHT, sendButton);
>
> step.setTitle("Test");
>
> step.setContent("Hello");
>
> tour.addStep(step);
>
>
> sendButton.addClickHandler(new ClickHandler() {
>
> @Override
>
> public void onClick(ClickEvent event) {
>
> GwtTour.startTour(tour);
>
> }
>
> });
>
> }
>
>
> 2013/6/22 JoyaleXandre >
>
>> This is my entry point.
>>
>> package com.ibal.cervello.client;
>>
>> import com.ibal.cervello.client.views.AddInvoice;
>> import com.ibal.cervello.client.views.MenuBar;
>> import com.eemi.gwt.tour.client.GwtTour;
>> import com.eemi.gwt.tour.client.Placement;
>> import com.eemi.gwt.tour.client.Tour;
>> import com.eemi.gwt.tour.client.TourStep;
>> import com.github.gwtbootstrap.client.ui.Button;
>> import com.github.gwtbootstrap.client.ui.constants.IconType;
>> 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.ui.RootPanel;
>>
>> /**
>>  * Entry point classes define onModuleLoad().
>>  */
>> public class Cervello implements EntryPoint {
>>
>> /**
>>  * This is the entry point method.
>>  */
>> public void onModuleLoad() {
>>  RootPanel.get().add(new MenuBar());
>> RootPanel.get().add(new AddInvoice());
>>
>> Button btnTour = new Button("Test Tour");
>> btnTour.setBaseIcon(IconType.ENVELOPE);
>>  RootPanel.get().add(btnTour);
>>
>> // Define the tour!
>>  final Tour tour = new Tour("myTour");
>>
>> TourStep step = new TourStep(Placement.LEFT, btnTour);
>>  step.setContent("Test button");
>> step.setTitle("Comment");
>>  tour.addStep(step);
>>
>> // Start the tour!
>>  btnTour.addClickHandler(new ClickHandler() {
>>
>> @Override
>>  public void onClick(ClickEvent event) {
>> GwtTour.startTour(tour);
>>  }
>> });
>>
>>  }
>> }
>>
>>
>>
>> Le samedi 22 juin 2013 11:45:20 UTC-4, Alain a écrit :
>>>
>>> First  Thx for the nice feedback.
>>> The Jar should work.
>>> Can you please post your sample code ? 
>>>
>>>
>>>
>>>
>>> 2013/6/22 JoyaleXandre 
>>>
 I can't make it work with the jar. I get this message and nothing 
 append when I click on launch the GwtTour.startTour event. Does the jar 
 works?

 [WARN] 404 - GET /img/sprite-green-0.3.png (127.0.0.1) 1410 bytes
Request headers
   Host: 127.0.0.1:
   Connection: keep-alive
   Accept: */*
   User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) 
 AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36
   Accept-Encoding: gzip,deflate,sdch
   Accept-Language: en-US,en;q=0.8
   Referer: http://127.0.0.1:/**Cervello.html?gwt.codesvr=127.**
 0.0.1:9997
Response headers
   Content-Type: text/html; charset=iso-8859-1
   Content-Length: 1410

 Le vendredi 21 juin 2013 18:22:57 UTC-4, Alain a écrit :

> GWT-Tour is a small GWT library that can help you implement a nice 
> tour of your GWT/Web app.
>
> So if you ever wanted to show your users how to use your application 
> in an interactive way this can be usefull.
> GWT-Tour works with regular web app as well as with GWT Widgets.
>
> A demo can be seen here : 
> http://eemi2010.github.io/**gw**t-tour/
>
> Enjoy :)
>
> Alain 
>
  -- 
 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/**groups/opt_out
 .
  
  

>>>
>>>  -- 
>> You received this message because you are subscr

Re: Introducing GWT-Tour 0.1

2013-06-22 Thread Alain Ekambi
It s strange the code below is working for me. I m missing the image too.
This is because I did nt included them in the jar file. You will need to
download them from GitHub.
But the tour should be working.

 /**

 * This is the entry point method.

 */

public void onModuleLoad() {

final Button sendButton = new Button("Send");

RootPanel.get().add(sendButton);


final Tour tour = new Tour("my-Tour");


TourStep step = new TourStep(Placement.RIGHT, sendButton);

step.setTitle("Test");

step.setContent("Hello");

tour.addStep(step);


sendButton.addClickHandler(new ClickHandler() {

@Override

public void onClick(ClickEvent event) {

GwtTour.startTour(tour);

}

});

}


2013/6/22 JoyaleXandre 

> This is my entry point.
>
> package com.ibal.cervello.client;
>
> import com.ibal.cervello.client.views.AddInvoice;
> import com.ibal.cervello.client.views.MenuBar;
> import com.eemi.gwt.tour.client.GwtTour;
> import com.eemi.gwt.tour.client.Placement;
> import com.eemi.gwt.tour.client.Tour;
> import com.eemi.gwt.tour.client.TourStep;
> import com.github.gwtbootstrap.client.ui.Button;
> import com.github.gwtbootstrap.client.ui.constants.IconType;
> 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.ui.RootPanel;
>
> /**
>  * Entry point classes define onModuleLoad().
>  */
> public class Cervello implements EntryPoint {
>
> /**
>  * This is the entry point method.
>  */
> public void onModuleLoad() {
> RootPanel.get().add(new MenuBar());
> RootPanel.get().add(new AddInvoice());
>
> Button btnTour = new Button("Test Tour");
> btnTour.setBaseIcon(IconType.ENVELOPE);
> RootPanel.get().add(btnTour);
>
> // Define the tour!
> final Tour tour = new Tour("myTour");
>
> TourStep step = new TourStep(Placement.LEFT, btnTour);
> step.setContent("Test button");
> step.setTitle("Comment");
> tour.addStep(step);
>
> // Start the tour!
> btnTour.addClickHandler(new ClickHandler() {
>
> @Override
> public void onClick(ClickEvent event) {
> GwtTour.startTour(tour);
> }
> });
>
> }
> }
>
>
>
> Le samedi 22 juin 2013 11:45:20 UTC-4, Alain a écrit :
>>
>> First  Thx for the nice feedback.
>> The Jar should work.
>> Can you please post your sample code ?
>>
>>
>>
>>
>> 2013/6/22 JoyaleXandre 
>>
>>> I can't make it work with the jar. I get this message and nothing append
>>> when I click on launch the GwtTour.startTour event. Does the jar works?
>>>
>>> [WARN] 404 - GET /img/sprite-green-0.3.png (127.0.0.1) 1410 bytes
>>>Request headers
>>>   Host: 127.0.0.1:
>>>   Connection: keep-alive
>>>   Accept: */*
>>>   User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36
>>> (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36
>>>   Accept-Encoding: gzip,deflate,sdch
>>>   Accept-Language: en-US,en;q=0.8
>>>   Referer: http://127.0.0.1:/**Cervello.html?gwt.codesvr=127.**
>>> 0.0.1:9997
>>>Response headers
>>>   Content-Type: text/html; charset=iso-8859-1
>>>   Content-Length: 1410
>>>
>>> Le vendredi 21 juin 2013 18:22:57 UTC-4, Alain a écrit :
>>>
 GWT-Tour is a small GWT library that can help you implement a nice tour
 of your GWT/Web app.

 So if you ever wanted to show your users how to use your application in
 an interactive way this can be usefull.
 GWT-Tour works with regular web app as well as with GWT Widgets.

 A demo can be seen here : 
 http://eemi2010.github.io/**gw**t-tour/

 Enjoy :)

 Alain

>>>  --
>>> 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/**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 Grou

Re: Introducing GWT-Tour 0.1

2013-06-22 Thread JoyaleXandre
This is my entry point.

package com.ibal.cervello.client;

import com.ibal.cervello.client.views.AddInvoice;
import com.ibal.cervello.client.views.MenuBar;
import com.eemi.gwt.tour.client.GwtTour;
import com.eemi.gwt.tour.client.Placement;
import com.eemi.gwt.tour.client.Tour;
import com.eemi.gwt.tour.client.TourStep;
import com.github.gwtbootstrap.client.ui.Button;
import com.github.gwtbootstrap.client.ui.constants.IconType;
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.ui.RootPanel;

/**
 * Entry point classes define onModuleLoad().
 */
public class Cervello implements EntryPoint {

/**
 * This is the entry point method.
 */
public void onModuleLoad() {
RootPanel.get().add(new MenuBar());
RootPanel.get().add(new AddInvoice());

Button btnTour = new Button("Test Tour");
btnTour.setBaseIcon(IconType.ENVELOPE);
RootPanel.get().add(btnTour);

// Define the tour!
final Tour tour = new Tour("myTour");

TourStep step = new TourStep(Placement.LEFT, btnTour);
step.setContent("Test button");
step.setTitle("Comment");
tour.addStep(step);

// Start the tour!
btnTour.addClickHandler(new ClickHandler() {

@Override
public void onClick(ClickEvent event) {
GwtTour.startTour(tour);
}
});

}
}



Le samedi 22 juin 2013 11:45:20 UTC-4, Alain a écrit :
>
> First  Thx for the nice feedback.
> The Jar should work.
> Can you please post your sample code ? 
>
>
>
>
> 2013/6/22 JoyaleXandre >
>
>> I can't make it work with the jar. I get this message and nothing append 
>> when I click on launch the GwtTour.startTour event. Does the jar works?
>>
>> [WARN] 404 - GET /img/sprite-green-0.3.png (127.0.0.1) 1410 bytes
>>Request headers
>>   Host: 127.0.0.1:
>>   Connection: keep-alive
>>   Accept: */*
>>   User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 
>> (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36
>>   Accept-Encoding: gzip,deflate,sdch
>>   Accept-Language: en-US,en;q=0.8
>>   Referer: 
>> http://127.0.0.1:/Cervello.html?gwt.codesvr=127.0.0.1:9997
>>Response headers
>>   Content-Type: text/html; charset=iso-8859-1
>>   Content-Length: 1410
>>
>> Le vendredi 21 juin 2013 18:22:57 UTC-4, Alain a écrit :
>>
>>> GWT-Tour is a small GWT library that can help you implement a nice tour 
>>> of your GWT/Web app.
>>>
>>> So if you ever wanted to show your users how to use your application in 
>>> an interactive way this can be usefull.
>>> GWT-Tour works with regular web app as well as with GWT Widgets.
>>>
>>> A demo can be seen here : 
>>> http://eemi2010.github.io/**gwt-tour/
>>>
>>> Enjoy :)
>>>
>>> Alain 
>>>
>>  -- 
>> 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/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.




Re: Introducing GWT-Tour 0.1

2013-06-22 Thread Alain Ekambi
First  Thx for the nice feedback.
The Jar should work.
Can you please post your sample code ?




2013/6/22 JoyaleXandre 

> I can't make it work with the jar. I get this message and nothing append
> when I click on launch the GwtTour.startTour event. Does the jar works?
>
> [WARN] 404 - GET /img/sprite-green-0.3.png (127.0.0.1) 1410 bytes
>Request headers
>   Host: 127.0.0.1:
>   Connection: keep-alive
>   Accept: */*
>   User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36
> (KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36
>   Accept-Encoding: gzip,deflate,sdch
>   Accept-Language: en-US,en;q=0.8
>   Referer:
> http://127.0.0.1:/Cervello.html?gwt.codesvr=127.0.0.1:9997
>Response headers
>   Content-Type: text/html; charset=iso-8859-1
>   Content-Length: 1410
>
> Le vendredi 21 juin 2013 18:22:57 UTC-4, Alain a écrit :
>
>> GWT-Tour is a small GWT library that can help you implement a nice tour
>> of your GWT/Web app.
>>
>> So if you ever wanted to show your users how to use your application in
>> an interactive way this can be usefull.
>> GWT-Tour works with regular web app as well as with GWT Widgets.
>>
>> A demo can be seen here : 
>> http://eemi2010.github.io/**gwt-tour/
>>
>> Enjoy :)
>>
>> Alain
>>
>  --
> 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.




Re: Introducing GWT-Tour 0.1

2013-06-22 Thread JoyaleXandre
I can't make it work with the jar. I get this message and nothing append 
when I click on launch the GwtTour.startTour event. Does the jar works?

[WARN] 404 - GET /img/sprite-green-0.3.png (127.0.0.1) 1410 bytes
   Request headers
  Host: 127.0.0.1:
  Connection: keep-alive
  Accept: */*
  User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 
(KHTML, like Gecko) Chrome/27.0.1453.116 Safari/537.36
  Accept-Encoding: gzip,deflate,sdch
  Accept-Language: en-US,en;q=0.8
  Referer: 
http://127.0.0.1:/Cervello.html?gwt.codesvr=127.0.0.1:9997
   Response headers
  Content-Type: text/html; charset=iso-8859-1
  Content-Length: 1410

Le vendredi 21 juin 2013 18:22:57 UTC-4, Alain a écrit :
>
> GWT-Tour is a small GWT library that can help you implement a nice tour of 
> your GWT/Web app.
> So if you ever wanted to show your users how to use your application in an 
> interactive way this can be usefull.
> GWT-Tour works with regular web app as well as with GWT Widgets.
>
> A demo can be seen here : http://eemi2010.github.io/gwt-tour/
>
> Enjoy :)
>
> Alain 
>

-- 
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: Introducing GWT-Tour 0.1

2013-06-22 Thread JoyaleXandre
Wow this is something I really wanted to integrate in my project. Thanks a 
lot for the good work!

Le vendredi 21 juin 2013 18:22:57 UTC-4, Alain a écrit :
>
> GWT-Tour is a small GWT library that can help you implement a nice tour of 
> your GWT/Web app.
> So if you ever wanted to show your users how to use your application in an 
> interactive way this can be usefull.
> GWT-Tour works with regular web app as well as with GWT Widgets.
>
> A demo can be seen here : http://eemi2010.github.io/gwt-tour/
>
> Enjoy :)
>
> Alain 
>

-- 
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: Logging in GWT

2013-06-22 Thread Leung
Hi,

Which servlet do I need to use and put on web.xml?

Thanks




 From: gpike 
To: google-web-toolkit@googlegroups.com 
Sent: Sunday, September 23, 2012 8:14 PM
Subject: Re: Logging in GWT
 


I use the built in GWT logging. It works for us, and we can use the remote 
logging so that info can be included in the server log in production. Your 
classes use java logging classes. Add the import and configure the loggers you 
want in the module file something similar to:


    
    
 







If you use remote remote logging make sure to add the servlet to your web.xml.

Thanks,

Gordon Pike
http://gwtcast.com
http://easygwt.com

On Wednesday, September 19, 2012 10:34:44 AM UTC-6, BM wrote:
I know GWT document says to inherit "com.google.gwt.logging. Logging". Does 
anyone have any suggestion on which is a standards or best practices or trusted 
third party JARs to use for logging GWT client side code? Any help is much 
appreciated.
>
>
>
>
-- 
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/-/5oOX5g-fdmoJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email 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 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: Regarding GWT with the upcoming Windows 8 and Internet Explorer 10

2013-06-22 Thread Thomas Broyer


On Saturday, June 22, 2013 10:28:12 AM UTC+2, OrNOt wrote:
>
> I am using the latest GWT version and it seems no IE10 support yet. 


IE10 (in "IE10 standards mode") should use the ie9 permutation, and I'm not 
aware of breakages.
 

> Any plan update on it ?
>

Vaadin is working on it (Pointer Events support mainly). GWT 2.6 is 
scheduled for the end of this year.

-- 
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: HandlerRegistration.removeHandler() does not work?

2013-06-22 Thread Thomas Broyer


On Saturday, June 22, 2013 3:40:21 AM UTC+2, Sang Hero wrote:
>
> Hi everyone,
>
> I have had a problem with *HandlerRegistration* returned by method *
> SimpleEventBus.addHandler *
> *
> *
> When I call:
>
> *HandlerRegistration hr = eventBus.addHandler(LoginSuccessEvent.TYPE, new 
> LoginSuccessEventHandler() {*
> * *
> * @Override*
> * public void onSuccess(LoginSuccessEvent event) {*
> * view.getName().setText(event.getName());*
> * System.out.println("Fire");*
> * }*
> * });*
> *
> *
> Then I call:
>
> *hr.removeHandler();*
> *
> *
> The handler still does not be removed. I see on console multiple "Fire" 
> each event firing.
>
> This is my complete code: 
> http://pastebin.com/3ZBXnXF8
>
> On each event firing, I see "Back" one time but multiple time with "Fire"
>
> Can you help me solve this problem?
>

Hard to diagnose with the given information (where and when the 
LoginSuccessEvent is fired?), but you actually don't need that 'hr', 
because the EventBus passed to start() will automatically un-register all 
its handlers when the activity stops (onStop and onCancel).

-- 
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: Regarding GWT with the upcoming Windows 8 and Internet Explorer 10

2013-06-22 Thread OrNOt
I am using the latest GWT version and it seems no IE10 support yet. 

Any plan update on it ?


thanks a  lot

OrNot



On Thursday, December 13, 2012 10:06:30 AM UTC+8, Goktug Gokdogan wrote:
>
> I'm not sure about timing but we will definitely add support for IE10. 
> I expect most of the work to be about testing and working around behavior 
> differences.
> Will let you know more, when we have a clear plan.
>
>
> On Wed, Dec 12, 2012 at 12:18 PM, Pedro Lamarão 
> 
> > wrote:
>
>> Em terça-feira, 11 de dezembro de 2012 19h11min56s UTC-2, Thomas Broyer 
>> escreveu:
>>
>>>
>>>
>>> On Tuesday, December 11, 2012 8:45:22 PM UTC+1, Dmitry wrote:

 Hi,

 Do you know if there are any plans to release GWT 2.5.1 with IE10 
 support any time soon?

>>>
>>> 2.5.1 yes, but not with IE10 support.
>>>
>>
>> What would be required to add IE10 support? Maybe the community can step 
>> up to this.
>>
>> --
>>  P.
>>
>> -- 
>> 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/-/23pAAY_Dvo0J.
>>
>> 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.
>>
>
>

-- 
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: Regarding GWT with the upcoming Windows 8 and Internet Explorer 10

2013-06-22 Thread OrNOt
I am using the latest GWT version and it seems no IE10 support yet. 

Any plan update on it ?


thanks a  lot

OrNot



On Thursday, December 13, 2012 10:06:30 AM UTC+8, Goktug Gokdogan wrote:
>
> I'm not sure about timing but we will definitely add support for IE10. 
> I expect most of the work to be about testing and working around behavior 
> differences.
> Will let you know more, when we have a clear plan.
>
>
> On Wed, Dec 12, 2012 at 12:18 PM, Pedro Lamarão 
> 
> > wrote:
>
>> Em terça-feira, 11 de dezembro de 2012 19h11min56s UTC-2, Thomas Broyer 
>> escreveu:
>>
>>>
>>>
>>> On Tuesday, December 11, 2012 8:45:22 PM UTC+1, Dmitry wrote:

 Hi,

 Do you know if there are any plans to release GWT 2.5.1 with IE10 
 support any time soon?

>>>
>>> 2.5.1 yes, but not with IE10 support.
>>>
>>
>> What would be required to add IE10 support? Maybe the community can step 
>> up to this.
>>
>> --
>>  P.
>>
>> -- 
>> 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/-/23pAAY_Dvo0J.
>>
>> 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.
>>
>
>

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