Re: ValueChangeHandler / History does not work in Opera :-/ (neither stable or beta)

2009-08-17 Thread twdarkflame

The workaround seems to work fine :)
Tested on the demo project, and it responded to everything.
Ive put it on my main project and I'm pretty sure its working fine
there too. (cant know 100% yet, as the history stops responding on
certain functions...I suspect its due to a another part of my code
crashing in though)

Are there any side-effects of this I should be aware of? Will future
gwt upgrades change/effect this?

Cheers,
Thomas

On Aug 17, 1:24 am, Thomas Broyer t.bro...@gmail.com wrote:
 On 16 août, 16:23, Jeff Chimene jchim...@gmail.com wrote:

  Is Opera supported?

 It was... until History code were reworked for IE8 (HTML5/
 onhashchange) support!

 Reported as issue 3956 (submitted too early, summary needs updating,
 sorry):http://code.google.com/p/google-web-toolkit/issues/detail?id=3956

 @twdarkflame, could you try the proposed workaround?

  I know it's WebKit, but even so...

 Jeff, you need a refresh, Opera's using it's own rendering engine (and
 JS engine BTW) known as Presto.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



ValueChangeHandler / History does not work in Opera :-/ (neither stable or beta)

2009-08-16 Thread darkflame

The follow basic, projected created in eclipse by the plugin;

/**
 * Entry point classes define codeonModuleLoad()/code.
 */
public class RateoholicTests implements EntryPoint, ValueChangeHandler
{

/**
 * This is the entry point method.
 */
public void onModuleLoad() {

History.addValueChangeHandler(this);
History.fireCurrentHistoryState();

}

@Override
public void onValueChange(ValueChangeEvent event) {
Window.alert( Test:+event.getValue());
}
}


History does not fire when the token changes in opera, or when the
user press's the back/forward button.
It does fire initially.



Currently tested in Opera beta 10.3 / 10 and 9.64

You can see an online example here;

http://www.rateoholic.co.uk/test/historytest/RateoholicTests.html#something

(just change the end of #something to #somethingelse, and you will
notice history dosnt trigger as you click back/forward)



Am I setting this up wrong? Or is this a bug/incompatibility?


--~--~-~--~~~---~--~~
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: ValueChangeHandler / History does not work in Opera :-/ (neither stable or beta)

2009-08-16 Thread twdarkflame

projected? I meant project...weird slip there.

On Aug 16, 2:33 pm, darkflame darkfl...@gmail.com wrote:
 The follow basic, projected created in eclipse by the plugin;

 /**
  * Entry point classes define codeonModuleLoad()/code.
  */
 public class RateoholicTests implements EntryPoint, ValueChangeHandler
 {

         /**
          * This is the entry point method.
          */
         public void onModuleLoad() {

                 History.addValueChangeHandler(this);
                 History.fireCurrentHistoryState();

         }

         @Override
         public void onValueChange(ValueChangeEvent event) {
                 Window.alert( Test:+event.getValue());
         }

 }

 History does not fire when the token changes in opera, or when the
 user press's the back/forward button.
 It does fire initially.

 Currently tested in Opera beta 10.3 / 10 and 9.64

 You can see an online example here;

 http://www.rateoholic.co.uk/test/historytest/RateoholicTests.html#som...

 (just change the end of #something to #somethingelse, and you will
 notice history dosnt trigger as you click back/forward)

 Am I setting this up wrong? Or is this a bug/incompatibility?
--~--~-~--~~~---~--~~
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: ValueChangeHandler / History does not work in Opera :-/ (neither stable or beta)

2009-08-16 Thread Jeff Chimene

Is Opera supported? I know it's WebKit, but even so...

On Sun, Aug 16, 2009 at 5:33 AM, darkflamedarkfl...@gmail.com wrote:

 The follow basic, projected created in eclipse by the plugin;

 /**
  * Entry point classes define codeonModuleLoad()/code.
  */
 public class RateoholicTests implements EntryPoint, ValueChangeHandler
 {

        /**
         * This is the entry point method.
         */
        public void onModuleLoad() {

                History.addValueChangeHandler(this);
                History.fireCurrentHistoryState();

        }

       �...@override
        public void onValueChange(ValueChangeEvent event) {
                Window.alert( Test:+event.getValue());
        }
 }


 History does not fire when the token changes in opera, or when the
 user press's the back/forward button.
 It does fire initially.



 Currently tested in Opera beta 10.3 / 10 and 9.64

 You can see an online example here;

 http://www.rateoholic.co.uk/test/historytest/RateoholicTests.html#something

 (just change the end of #something to #somethingelse, and you will
 notice history dosnt trigger as you click back/forward)



 Am I setting this up wrong? Or is this a bug/incompatibility?


 


--~--~-~--~~~---~--~~
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: ValueChangeHandler / History does not work in Opera :-/ (neither stable or beta)

2009-08-16 Thread twdarkflame

It is supported, and this is the first/only major opera-specific
problem Ive had.

Opera might not have much of the desktop market, but its got quite a
large chuck of the portable, as well as the DS/Wii market.
Besides, it would be bad form to drop support for a browser that has
traditionally been one of the most standards-complient and upto date,
so I suspect this isnt something deliberate on Googles part.

On Aug 16, 4:23 pm, Jeff Chimene jchim...@gmail.com wrote:
 Is Opera supported? I know it's WebKit, but even so...



 On Sun, Aug 16, 2009 at 5:33 AM, darkflamedarkfl...@gmail.com wrote:

  The follow basic, projected created in eclipse by the plugin;

  /**
   * Entry point classes define codeonModuleLoad()/code.
   */
  public class RateoholicTests implements EntryPoint, ValueChangeHandler
  {

         /**
          * This is the entry point method.
          */
         public void onModuleLoad() {

                 History.addValueChangeHandler(this);
                 History.fireCurrentHistoryState();

         }

        �...@override
         public void onValueChange(ValueChangeEvent event) {
                 Window.alert( Test:+event.getValue());
         }
  }

  History does not fire when the token changes in opera, or when the
  user press's the back/forward button.
  It does fire initially.

  Currently tested in Opera beta 10.3 / 10 and 9.64

  You can see an online example here;

 http://www.rateoholic.co.uk/test/historytest/RateoholicTests.html#som...

  (just change the end of #something to #somethingelse, and you will
  notice history dosnt trigger as you click back/forward)

  Am I setting this up wrong? Or is this a bug/incompatibility?
--~--~-~--~~~---~--~~
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: ValueChangeHandler / History does not work in Opera :-/ (neither stable or beta)

2009-08-16 Thread Jeff Chimene

On 08/16/2009 08:32 AM, twdarkflame wrote:
 
 It is supported, and this is the first/only major opera-specific
 problem Ive had.

You're right. I don't remember seeing Opera in the list of supported
browsers the last time I checked.


--~--~-~--~~~---~--~~
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: ValueChangeHandler / History does not work in Opera :-/ (neither stable or beta)

2009-08-16 Thread Thomas Broyer



On 16 août, 16:23, Jeff Chimene jchim...@gmail.com wrote:
 Is Opera supported?

It was... until History code were reworked for IE8 (HTML5/
onhashchange) support!

Reported as issue 3956 (submitted too early, summary needs updating,
sorry):
http://code.google.com/p/google-web-toolkit/issues/detail?id=3956

@twdarkflame, could you try the proposed workaround?

 I know it's WebKit, but even so...

Jeff, you need a refresh, Opera's using it's own rendering engine (and
JS engine BTW) known as Presto.

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