Nick Glencross <[EMAIL PROTECTED]> writes:

> [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).

There are some "_getComputedValue()" or some such methods available.  I don't
know if they'd help, but they may.

> 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!

Good.

> 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

The IS_SOURCE has been renamed, but that facility still exists.  I recall
seeing the check-in that modified it, but don't remember what it changed to.
Using whatever it changed to would be considerably better than depending on
the log level setting.

Derrell

-------------------------------------------------------------------------
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

Reply via email to