Well, you can try catching the event in textfields' onMouseDown and
then either set e.ignore=true on it or make it stop propagate.

-Matej

On Fri, Dec 19, 2008 at 11:07 PM, lesterburlap <[email protected]> wrote:
>
>
> Matej Knopp-2 wrote:
>>
>> it doesn't seem likely for me that the prelight would cause this. But
>> it also isn't impossible. These things are quite difficult to predict
>> and sometimes also to solve unfortunately.
>>
>> -Matej
>>
>
> Could it possibly be the InMethod.Drag.onMouseDown method in script.js
> that's preventing the focus from being set on the TextField?  That method is
> called when I click on the TextField, and it returns false...
>
> 202 onMouseDown: function(e) {
> 203 if (typeof(e.ignore) == "undefined") {
> 204
> 205 E.stopEvent(e);
> 206 this.lastMouseX = e.clientX;
> 207 this.lastMouseY = e.clientY;
> 208
> 209 addListener(document, "selectstart", this.onSelectStart);
> 210 addListener(document, "mousemove", this.onMouseMove, this, true);
> 211 addListener(document, "mouseup", this.onMouseUp, this, true);
> 212
> 213 this.onDragBegin.bind(this.thisRef)(Wicket.$(this.elementId), e);
> 214 }
> 215
> 216 return false;
> 217 },
>
> I'm going to start experimenting with it.  Any feedback or hints would be
> appreciated.  Thanks!
>
> Lester
> --
> View this message in context: 
> http://www.nabble.com/TextField-in-inmethod-grid-column-header---Firefox-issue-tp21060335p21098990.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to