qooxdoo and jscalendar: the saga continues

View: New views
5 Messages — Rating Filter:   Alert me  

qooxdoo and jscalendar: the saga continues

by Jason Priebe :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This message is for Steve Scargall (or any other jscalendar users):

I was wondering if you had worked more with jscalendar and qooxdoo.  I
thought that the integration was working well, but it turns out that
qooxdoo does not "see" the value that jscalendar puts into the
textfield.

The value is displayed properly, but if you try to retrieve the value
of the field via QxTextField.getValue(), you get a null value.

Any new info would be appreciated!

Jason Priebe
CBC New Media  


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Qooxdoo-devel mailing list
Qooxdoo-devel@...
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Parent Message unknown RE: qooxdoo and jscalendar: the saga continues

by Jason Priebe :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'll update my own request.

A workaround is to get the value directly from the underlying INPUT
field.  To expand upon Steve's example code at

http://qooxdoo.oss.schlund.de/snippets/integrating-jscalendar

to get the date set by jscalendar, do this:

var xdate = document.getElementById("f_date_b").value;

this will not work:

var xdate = txtDate.getValue();

(forget about the fact that txtDate is a local var in Steve's example;
even if it were available to an event handler, the value would be null).

Hugh, you might want to add this to the document mentioned above.
Thanks!

Jason Priebe
CBC New Media


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Qooxdoo-devel mailing list
Qooxdoo-devel@...
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

RE: qooxdoo and jscalendar: the saga continues

by Hugh Gibson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Hugh, you might want to add this to the document mentioned above.
> Thanks!

Done.

Hugh


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Qooxdoo-devel mailing list
Qooxdoo-devel@...
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Re: qooxdoo and jscalendar: the saga continues

by Sebastian Werner :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Priebe, Jason schrieb:

> This message is for Steve Scargall (or any other jscalendar users):
>
> I was wondering if you had worked more with jscalendar and qooxdoo.  I
> thought that the integration was working well, but it turns out that
> qooxdoo does not "see" the value that jscalendar puts into the
> textfield.
>
> The value is displayed properly, but if you try to retrieve the value
> of the field via QxTextField.getValue(), you get a null value.
>
> Any new info would be appreciated!

You could also try to use getComputedValue instead. getValue represents
just the internal stored value. It doesn't poll the field each time.

Sebastian


>
> Jason Priebe
> CBC New Media  
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642
> _______________________________________________
> Qooxdoo-devel mailing list
> Qooxdoo-devel@...
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Qooxdoo-devel mailing list
Qooxdoo-devel@...
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Parent Message unknown RE: qooxdoo and jscalendar: the saga continues

by Jason Priebe :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Nice -- I'll give that a try next time.  It's always good
to keep my code within the "qooxdoo world".

Sebastian Werner wrote:

> You could also try to use getComputedValue instead. getValue
> represents just the internal stored value. It doesn't poll
> the field each time.

Jason Priebe
CBC New Media


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Qooxdoo-devel mailing list
Qooxdoo-devel@...
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel