[EMAIL PROTECTED] wrote:
> "Nick Glencross" <[EMAIL PROTECTED]> writes:
>> * I haven't successfully worked out how to make Enter in a form
>> submit it. There's a previous posting which shows how to do it by
>> sending the keypress event onto the submit button, but things must
>> have changed because the value of the text field that you are in
>> doesn't get correctly picked up. I can provide a test case to
>> demonstrate this if it helps.
>
> Have you tried using qx.client.Command() for this purpose? I think it should
> be appropriate.
That's certainly more elegant than what I had, so I'll definitely be
using it. However, it seems to suffer from the same problem that the
current text field doesn't provide the correct value (due to some some
caching which probably only updates when you leave the field).
I hoped that calling blur on the fields might help, but unfortunately not.
> Hmmm... If you needed only a single URL in a single row, it's easy to catch
> the Selection event (an event is already dispatched for that to any waiting
> listeners), and do something with the url. In that case, you'd likely keep
> the url in the data model (whether displayed or otherwise) and access it via
> something like this untested snippet:
Thanks Derrell, that was spot on, and works, brilliant!
One other thing that I forgot to check. I have a button that appears
when using a source build, and since IS_SOURCE seems to have been
removed, is the the following a reasonable alternative?
qx.core.Setting.get("qx.minLogLevel") < 300
Thanks!
Nick
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel