You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by lesterburlap <be...@emc.com> on 2009/01/06 00:14:12 UTC

Re: TextField in inmethod grid column header - Firefox issue


Matej Knopp-2 wrote:
> 
> Well, you can try catching the event in textfields' onMouseDown and
> then either set e.ignore=true on it or make it stop propagate.
> 

Brilliant, thanks Matej.  It works now.  For posterity, this is the
necessary change:

HTML:
<input type="text" onmousedown="return ignoreMouseEvent(event);"
wicket:id="myTextField" />

JS (using Ext to double-check browser type):

ignoreMouseEvent : function(event){
   if (Ext.isGecko && event) {
      event.stopPropagation();
   }
   return true;
}
-- 
View this message in context: http://www.nabble.com/TextField-in-inmethod-grid-column-header---Firefox-issue-tp21060335p21301507.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org