Does anyone know how I can I patch /struts/css_xhtml/validation.js? I tried replacing template/css_xhtml/validation.js in struts-core but that does not seem to work. I added in my own validation.js to the end of the file but I don't like this solution.
Steve On Mon, Feb 22, 2010 at 5:52 AM, Stephen Ince <stephenpi...@gmail.com> wrote: > Here is the link. > https://issues.apache.org/jira/browse/WW-3393 > > On Mon, Feb 22, 2010 at 1:05 AM, Lukasz Lenart > <lukasz.len...@googlemail.com> wrote: >> 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 >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org