Hi, I've got a similar problem. I can't select the text inside the input field. <br>I tried with the following code:<br>OpenLayers.Event.observe(myTextInput, "click",<br> this.focusInputField
);<br>focusInputField: function(evt) {<br> evt.target.select();<br>},<br><br>but the text on the field in not selected. <br>Any idea?<br>THANKS<br><br><div><span class="gmail_quote">On 9/14/07, <b class="gmail_sendername">
Jachym Cepicky</b> <<a href="mailto:jachym.cepicky@gmail.com">jachym.cepicky@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
hi,<br><br>OpenLayers.Event.observe(myTextInput, "click",<br> this.focusInputField);<br>focusInputField: function(evt) {<br> evt.target.focus();<br>},<br><br>j<br><br>Jachym Cepicky píše v Čt 13. 09. 2007 v 16:11 +0200:
<br>> Hi,<br>><br>> I try to setup basic WPS [1][2] client in OpenLayers. I used<br>> OpenLayers.Control.LayerSwitcher as base for the code. The working demo<br>> (at least in Firefox) can be seen at [3].<br>
><br>> Only one problem: It is not possible, to focus input text fields by<br>> mouse (<input type="text"></input>), so you can not write new values per<br>> keyboard (for example the server name or later the process Input
<br>> values). Could anybody give me advice, how to get this working?<br>><br>> The source, used in the demo [3] is new file, called WPS.py [4].<br>><br>> Thanks<br>><br>> Jachym<br>><br>> [1] <a href="http://www.opengeospatial.org/standards/requests/28">
http://www.opengeospatial.org/standards/requests/28</a><br>> [2] <a href="http://pywps.wald.intevation.org">http://pywps.wald.intevation.org</a><br>> [3]<br>> <a href="http://www.bnhelp.cz/mapserv/pokusy/OpenLayers/jachym/openlayers/examples/wps.html">
http://www.bnhelp.cz/mapserv/pokusy/OpenLayers/jachym/openlayers/examples/wps.html</a><br>> [4]<br>> <a href="http://dev.openlayers.org/sandbox/jachym/openlayers/lib/OpenLayers/Control/WPS.js">http://dev.openlayers.org/sandbox/jachym/openlayers/lib/OpenLayers/Control/WPS.js
</a><br>> _______________________________________________<br>> Dev mailing list<br>> <a href="mailto:Dev@openlayers.org">Dev@openlayers.org</a><br>> <a href="http://openlayers.org/mailman/listinfo/dev">http://openlayers.org/mailman/listinfo/dev
</a><br>--<br>Jachym Cepicky<br>e-mail: <a href="mailto:jachym.cepicky@gmail.com">jachym.cepicky@gmail.com</a><br>URL: <a href="http://les-ejk.cz">http://les-ejk.cz</a><br>GPG: <a href="http://www.les-ejk.cz/pgp/jachym_cepicky-gpg.pub">
http://www.les-ejk.cz/pgp/jachym_cepicky-gpg.pub</a><br><br><br>_______________________________________________<br>Dev mailing list<br><a href="mailto:Dev@openlayers.org">Dev@openlayers.org</a><br><a href="http://openlayers.org/mailman/listinfo/dev">
http://openlayers.org/mailman/listinfo/dev</a><br><br><br></blockquote></div><br>