[Proto-Scripty] IE8 + Prototype AJAX = HTTP Status 12019

2011-12-15 Thread web_dev_ajax
I have a B2B web application that is developed on Struts JSP using
Prototype JS library (version 1.4.0) for AJAX. I have a client running
my application on IE8. She is intermittently getting the http status
code of 12019 (this is an IE specific status code for
ERROR_INTERNET_INCORRECT_HANDLE_STATE). She is the only person in the
client shop that gets the error and she cannot consistently reproduce
the error. However, after she gets the error, she can close her
browser and logs in again to go to the same page as before and not get
the error.

Initially the client shop was on IE6 SP2 and all the users got the
error 12019 intermittently also. After researching on the internet, we
recommended that they upgrade to IE8 to see if the error is resolved
because error 12019 is widely associated with IE6. Now that everyone
in the client shop has upgraded to IE8, and after about 2 months after
the upgrade, one user is beginning to get the error 12019 again. We
have been unable to reproduce the error under various scenarios in
Development.

One more thing to add, in one instance, the user that was getting the
12019 error code also got an exception message coming back from the
AJAX call. The exception message is: System error: -2146697208.

Googling this exception message indicates that it is tied to the error
The download of the specific resource has failed. The same message
has been seen before by the same client when they were on IE6, but on
IE6, they saw the explicit message rather than the exception code.

Does anyone have this similar problem or know of a fix or know of a
way for me to reproduce this in order to find a solution?

Any help is appreciated. Thank you.

-- 
You received this message because you are subscribed to the Google Groups 
Prototype  script.aculo.us group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.



Re: [Proto-Scripty] IE8 + Prototype AJAX = HTTP Status 12019

2011-12-15 Thread Phil Petree
I would try using a later version of proto on just that page.
On Dec 15, 2011 1:43 PM, web_dev_ajax lily.o...@gmail.com wrote:

 I have a B2B web application that is developed on Struts JSP using
 Prototype JS library (version 1.4.0) for AJAX. I have a client running
 my application on IE8. She is intermittently getting the http status
 code of 12019 (this is an IE specific status code for
 ERROR_INTERNET_INCORRECT_HANDLE_STATE). She is the only person in the
 client shop that gets the error and she cannot consistently reproduce
 the error. However, after she gets the error, she can close her
 browser and logs in again to go to the same page as before and not get
 the error.

 Initially the client shop was on IE6 SP2 and all the users got the
 error 12019 intermittently also. After researching on the internet, we
 recommended that they upgrade to IE8 to see if the error is resolved
 because error 12019 is widely associated with IE6. Now that everyone
 in the client shop has upgraded to IE8, and after about 2 months after
 the upgrade, one user is beginning to get the error 12019 again. We
 have been unable to reproduce the error under various scenarios in
 Development.

 One more thing to add, in one instance, the user that was getting the
 12019 error code also got an exception message coming back from the
 AJAX call. The exception message is: System error: -2146697208.

 Googling this exception message indicates that it is tied to the error
 The download of the specific resource has failed. The same message
 has been seen before by the same client when they were on IE6, but on
 IE6, they saw the explicit message rather than the exception code.

 Does anyone have this similar problem or know of a fix or know of a
 way for me to reproduce this in order to find a solution?

 Any help is appreciated. Thank you.

 --
 You received this message because you are subscribed to the Google Groups
 Prototype  script.aculo.us group.
 To post to this group, send email to
 prototype-scriptaculous@googlegroups.com.
 To unsubscribe from this group, send email to
 prototype-scriptaculous+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/prototype-scriptaculous?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Prototype  script.aculo.us group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.



[Proto-Scripty] Recode jQuery expression in the prototype way

2011-12-15 Thread Moo
Hi there!

I found a very useful script-snippet for endless scrolling. It loads
new content via AJAX when the page is near the bottom of the page. My
knowledge about JavaScript and Prototype is pretty good actually, but
I always had problems with all the measurement stuff.

Here's the line of code:

var nearBottomOfPage = $(window).scrollTop()  $(document).height() - $
(window).height() - 200;

How could I get that working with Prototype?

Thank you very much!

-- 
You received this message because you are subscribed to the Google Groups 
Prototype  script.aculo.us group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.



[Proto-Scripty] Re: IE8 + Prototype AJAX = HTTP Status 12019

2011-12-15 Thread web_dev_ajax
Thanks for the suggestion. That's an option that we plan to do with
the next Production release. Unfortunately, we have release cycles
that we have to adhere to and in the mean time, the client is unhappy
with getting these 12XXX status code errors. I have also done a diff
between version 1.4.0 and 1.7.0 and I don't see any differences that I
believe may help with these 12XXX status errors, but we won't know
until we do a release and see if the errors are still occurring.

I do have an update - it seems that ALL the users at the client shop
are now getting the 12XXX status code errors on IE8 (12019 and 12152
so far). The client shop claims that it's happening about once an
hour.

Thanks to some leads from Khan (http://groups.google.com/group/google-
web-toolkit/browse_thread/thread/f8059139eab52ccf), I'm now trying to
monitor the requests and responses to see if there's a pattern to
these seemingly intermittent errors, specifically request header
content-length that doesn't match the request body length.

Still, if anyone has any ideas or suggestions, I'd appreciate hearing
from you. Thanks.

On Dec 15, 1:55 pm, Phil Petree phil.pet...@gmail.com wrote:
 I would try using a later version of proto on just that page.
 On Dec 15, 2011 1:43 PM, web_dev_ajax lily.o...@gmail.com wrote:

  I have a B2B web application that is developed on Struts JSP using
  Prototype JS library (version 1.4.0) for AJAX. I have a client running
  my application on IE8. She is intermittently getting the http status
  code of 12019 (this is an IE specific status code for
  ERROR_INTERNET_INCORRECT_HANDLE_STATE). She is the only person in the
  client shop that gets the error and she cannot consistently reproduce
  the error. However, after she gets the error, she can close her
  browser and logs in again to go to the same page as before and not get
  the error.

  Initially the client shop was on IE6 SP2 and all the users got the
  error 12019 intermittently also. After researching on the internet, we
  recommended that they upgrade to IE8 to see if the error is resolved
  because error 12019 is widely associated with IE6. Now that everyone
  in the client shop has upgraded to IE8, and after about 2 months after
  the upgrade, one user is beginning to get the error 12019 again. We
  have been unable to reproduce the error under various scenarios in
  Development.

  One more thing to add, in one instance, the user that was getting the
  12019 error code also got an exception message coming back from the
  AJAX call. The exception message is: System error: -2146697208.

  Googling this exception message indicates that it is tied to the error
  The download of the specific resource has failed. The same message
  has been seen before by the same client when they were on IE6, but on
  IE6, they saw the explicit message rather than the exception code.

  Does anyone have this similar problem or know of a fix or know of a
  way for me to reproduce this in order to find a solution?

  Any help is appreciated. Thank you.

  --
  You received this message because you are subscribed to the Google Groups
  Prototype  script.aculo.us group.
  To post to this group, send email to
  prototype-scriptaculous@googlegroups.com.
  To unsubscribe from this group, send email to
  prototype-scriptaculous+unsubscr...@googlegroups.com.
  For more options, visit this group at
 http://groups.google.com/group/prototype-scriptaculous?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
Prototype  script.aculo.us group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.



[Proto-Scripty] Re: Recode jQuery expression in the prototype way

2011-12-15 Thread buda
http://webdeveloperplus.com/jquery/create-a-dynamic-scrolling-content-box-using-ajax/
function _onScroll(e) { var el = e.element();   if 
(el.scrollTop =
(el.scrollHeight - (el.clientHeight + 50))) {   if 
(dataContextLength !
== el.childElements().length) { onDataContextChanged(); 
}   }   }

On 15 дек, 21:35, Moo stuhlm...@fifty-nine.de wrote:
 Hi there!

 I found a very useful script-snippet for endless scrolling. It loads
 new content via AJAX when the page is near the bottom of the page. My
 knowledge about JavaScript and Prototype is pretty good actually, but
 I always had problems with all the measurement stuff.

 Here's the line of code:

 var nearBottomOfPage = $(window).scrollTop()  $(document).height() - $
 (window).height() - 200;

 How could I get that working with Prototype?

 Thank you very much!

-- 
You received this message because you are subscribed to the Google Groups 
Prototype  script.aculo.us group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.



[Proto-Scripty] Re: Recode jQuery expression in the prototype way

2011-12-15 Thread buda
http://webdeveloperplus.com/jquery/create-a-dynamic-scrolling-content-box-using-ajax/

function onScroll(e) {
var el = e.element();
if (el.scrollTop = (el.scrollHeight - (el.clientHeight + 50))) {
if (dataContextLength !== el.childElements().length) {
onDataContextChanged();
}
}
}

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



Re: [Proto-Scripty] Re: Recode jQuery expression in the prototype way

2011-12-15 Thread Brian Williams
oh my carp... dude's, thank you both I love this.



On Thu, Dec 15, 2011 at 11:30 PM, buda www...@pochta.ru wrote:

 http://webdeveloperplus.com/**jquery/create-a-dynamic-**
 scrolling-content-box-using-**ajax/http://webdeveloperplus.com/jquery/create-a-dynamic-scrolling-content-box-using-ajax/

 function onScroll(e) {
 var el = e.element();
 if (el.scrollTop = (el.scrollHeight - (el.clientHeight + 200))) {
 //load with ajax some html and append to element
 }
 }

  --
 You received this message because you are subscribed to the Google Groups
 Prototype  script.aculo.us group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/prototype-scriptaculous/-/4NQ5VfaQV-UJ.

 To post to this group, send email to
 prototype-scriptaculous@googlegroups.com.
 To unsubscribe from this group, send email to
 prototype-scriptaculous+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/prototype-scriptaculous?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
Prototype  script.aculo.us group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.