× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



The example doesn't work for me on an iPad even using a high speed connection and clicking the button only once (ruling out the possibility of an asynchronous issues).

Sent from my iPad

On 31 May 2015, at 09:47, Henrik Rützou <hr@xxxxxxxxxxxx> wrote:

Kevin/Nathan



Kevin’s error is probably a classic AJAX error when launching multiple AJAX
requests where the results depends on each other.



Gent, AJAX runs async by default and javascript processing continues while
the AJAX requests are performed. That is why we have to put the javascript
that process the result into the AJAX object.



The statement >>> this.req.open(this.method, this.url, true); in function
ht_HttpReqObj <<< parm 3 (async) in .open should be changed to false that
means sync. It will slow things down but other javascript processing will
wait until the AJAX request is done and if it fails, it will lock the
client until a HTTP error is received (long wait).



Synchronous AJAX is a no go/bad design used in large scale because of
client lock ups so Nathan will need a general event handler that monitors
the status of the fired AJAX requests and then trigger the HTML rendering
when the AJAX requests that depends on each other has signal they are done.


On Fri, May 29, 2015 at 5:49 PM, Kevin Turner <
kevin.turner@xxxxxxxxxxxxxxxxxxxx> wrote:

Yes basically you are right - the individual function (or context) is a
markup that to all intents and purposes is xml (validated by an xsd)
containing references to JavaScript components and/or HTML elements. The
JavaScript components have options (attributes) that may be bound to
attributes of the data model.

Sent from my iPad

On 29 May 2015, at 17:30, Nathan Andelin <nandelin@xxxxxxxxx> wrote:


The way we do it, there is no HTML exchanged between the client and
server
... Just the data model (JSON) is exchanged, and the UI reacts to the
content via observers - basically events that get triggered when a data
element in the model changes.


It sounds like you may be using a <tag> language other than HTML, or a UI
defined by JSON or JavaScript instead of HTML. I suppose either approach,
including HTML has its pros and cons.
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.


___________________________________________
This email has been scanned by iomartcloud.
http://www.iomartcloud.com/

________________________________

NOTICE: The information in this electronic mail transmission is intended
by CoralTree Systems Ltd for the use of the named individuals or entity to
which it is directed and may contain information that is privileged or
otherwise confidential. If you have received this electronic mail
transmission in error, please delete it from your system without copying or
forwarding it, and notify the sender of the error by reply email or by
telephone, so that the sender's address records can be corrected.




--------------------------------------------------------------------------------


CoralTree Systems Limited
Company Registration Number 5021022.
Registered Office:
12-14 Carlton Place
Southampton
Hampshire
SO15 2EA
VAT Registration Number 834 1020 74.
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.


--
Regards,
Henrik Rützou

http://powerEXT.com <http://powerext.com/>
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.


___________________________________________
This email has been scanned by iomartcloud.
http://www.iomartcloud.com/


________________________________

NOTICE: The information in this electronic mail transmission is intended by CoralTree Systems Ltd for the use of the named individuals or entity to which it is directed and may contain information that is privileged or otherwise confidential. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email or by telephone, so that the sender's address records can be corrected.



--------------------------------------------------------------------------------


CoralTree Systems Limited
Company Registration Number 5021022.
Registered Office:
12-14 Carlton Place
Southampton
Hampshire
SO15 2EA
VAT Registration Number 834 1020 74.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.