[OpenLayers-Dev] can not focuse input text fields

Jachym Cepicky jachym.cepicky at gmail.com
Fri Sep 14 06:40:03 EDT 2007


hi,

OpenLayers.Event.observe(myTextInput, "click",
                      this.focusInputField);
focusInputField: function(evt) {
        evt.target.focus();
},

j

Jachym Cepicky píše v Čt 13. 09. 2007 v 16:11 +0200:
> Hi,
> 
> I try to setup basic WPS [1][2] client in OpenLayers. I used
> OpenLayers.Control.LayerSwitcher as base for the code. The working demo
> (at least in Firefox) can be seen at [3].
> 
> Only one problem: It is not possible, to focus input text fields by
> mouse (<input type="text"></input>), so you can not write new values per
> keyboard (for example the server name or later the process Input
> values). Could anybody give me advice, how to get this working?
> 
> The source, used in the demo [3] is new file, called WPS.py [4].
> 
> Thanks
> 
> Jachym
> 
> [1] http://www.opengeospatial.org/standards/requests/28
> [2] http://pywps.wald.intevation.org
> [3]
> http://www.bnhelp.cz/mapserv/pokusy/OpenLayers/jachym/openlayers/examples/wps.html
> [4]
> http://dev.openlayers.org/sandbox/jachym/openlayers/lib/OpenLayers/Control/WPS.js
> _______________________________________________
> Dev mailing list
> Dev at openlayers.org
> http://openlayers.org/mailman/listinfo/dev
-- 
Jachym Cepicky
e-mail: jachym.cepicky at gmail.com
URL: http://les-ejk.cz
GPG: http://www.les-ejk.cz/pgp/jachym_cepicky-gpg.pub

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Toto je =?UTF-8?Q?digit=C3=A1ln=C4=9B?=
	=?ISO-8859-1?Q?_podepsan=E1?= =?UTF-8?Q?_=C4=8D=C3=A1st?=
	=?ISO-8859-1?Q?_zpr=E1vy?=
Url : http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20070914/dc11da79/attachment.bin


More information about the Dev mailing list