2010/2/21 Stephen Ince <stephenpi...@gmail.com>:
> Okay I found the problem. I find it hard to believe that anyone is
> using css_xhtml theme with this bug. It doesn't work in IE8 and it
> does not work properly in any other browser.
>
> problem
> struts/css_xhtml/validation.js: function findWWCtrlNode needed to be 
> rewritten.
>
> function findWWCtrlNode(enclosingDiv) {
>    var elems = enclosingDiv.getElementsByTagName("div");
>    for(i = 0; i < elems.length; ++i ) {
>        if (elems[i].className && elems[i].className.match(/(wwlbl|wwctrl)/))
>            return elems[i];
>    }
>
>    elems = enclosingDiv.getElementsByTagName("span");
>    for(i = 0; i < elems.length; ++i ) {
>        if (elems[i].className && elems[i].className.match(/(wwlbl|wwctrl)/))
>            return elems[i];
>    }
>    return enclosingDiv.getElementsByTagName("span")[0];
> }

Could you register that bug?
https://issues.apache.org/jira/browse/WW


Thanks in advance
-- 
Łukasz
http://www.lenart.org.pl/
Kapituła Javarsovia 2010
http://javarsovia.pl

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to