Hi,

I found this warning often in our customers log file too, but I wasn't able to reproduce it myself. I had a look in tobago.js and found this code:

getAbsoluteLeft: function(element) {
    var left = 0;
    var parent = false;
    while (element && element.offsetParent) {
      left += element.offsetLeft;
      left -= element.scrollLeft;
      if (parent && element.currentStyle) {  // IE only
        left += element.currentStyle.borderLeftWidth.replace(/\D/g, "") - 0;
      }
      element = element.offsetParent;
      parent = true;
    }
    return left;
  }

I'm not sure, if it's correct for all browsers and if the page content is 
scrolled.

Regards,
Helmut

Am 31.05.2011 15:51, schrieb Abushammala, Hani (EXTERN: conceptQ):
Hello,

Sometimes we got a warning from PageRendererBase class while calling an
action. In contrast to firefox, internet explorer don`t produce this
warning.
I found out, that by decoding the requested page the request parametr
"actionPositionString" contains negative pixel values.
I don`t know what that means and why.

Log:
WARN org.apache.myfaces.tobago.renderkit.PageRendererBase - Can't
analyse parameter for action-position
java.lang.IllegalArgumentException: Can't parse to any measure: '-12px'
at org.apache.myfaces.tobago.layout.Measure.parse(Measure.java:39)
at org.apache.myfaces.tobago.layout.Position.<init>(Position.java:38)
at org.apache.myfaces.tobago.layout.Box.<init>(Box.java:40) at

Env:
Tabago Version: 1.0.30
MyFaces: 1.1.7
FireFox: 4.0.1
IE: 6.0


Regards,
Hani


Reply via email to