Hi,

Can anyone please tell me what this:

                buffer.append("\" onclick=\" var b=Wicket.$('");
                buffer.append(submittingComponent.getMarkupId());
                buffer.append("'); if (typeof(b.onclick) != 'undefined') {  var 
r =
b.onclick.bind(b)(); if (r != false) b.click(); } else { b.click(); };
 return false;\" ");


is supposed to do? The idea of adding that hidden submit button there
is that it *typically* (depending on the browser and whether multiple
forms are nested) would be picked up as the first button by the
browser and thus act like a 'default' button that is executed when
enter is pushed. I don't really see how it can be clicked on. And is
"b.onclick.bind(b)()" a typo?

Eelco

Reply via email to