Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi for PHP/Suggestion    [ Add a report in this area ]  
Report #:  104060   Status: Reported
Synchronous AjaxCall
Project:  HTML5 Builder Build #:  4.4.0.1656
Version:    4.4 Submitted By:   Lorenz Klinger
Report Type:  Suggestion / Enhancement Request Date Reported:  3/9/2012 5:34:24 AM
Severity:    Extreme corner case Last Updated: 3/13/2012 1:22:03 AM
Platform:    All platforms Internal Tracking #:  
Resolution: None (Resolution Comments) Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: 13
Description
Add the ability to make syncronous ajax calls.
Patch attached.

Please update 'rpcl/forms.inc.php'.
Steps to Reproduce:
Please see attached 'ajaxsync.patch' for more detail.

----------------------------
--- C:/Programme/Embarcadero/RadPHP/4.0/rpcl/forms.inc.php.orig
Fri Aug 26 04:00:00 2011
+++ C:/Programme/Embarcadero/RadPHP/4.0/rpcl/forms.inc.php
Mon Mar 05 12:55:13 2012
@@ -344,6 +344,10 @@
  * @param array $comps Names of the components to add to the stream to get updated
  * @return string
  */
+        function ajaxProcessSync($owner, $sender, $params, $event, $postvars, $comps)
+        {
+                return ajaxProcess($owner, $sender, $params, $event, $postvars, $comps);
+        }
         function ajaxProcess($owner, $sender, $params, $event, $postvars, $comps)
         {
...
...
...
...
...
----------------------------
Workarounds
None
Attachment
ajaxsync.zip
Comments

Tomohiro Takahashi at 3/9/2012 10:50:16 PM -
> Add the ability to make syncronous ajax calls.
Could you please tell us more details about your request?

Lorenz Klinger at 3/12/2012 2:23:41 AM -
I'm not exactly sure what more details you would want to know about it. What is unclear?

Tomohiro Takahashi at 3/13/2012 1:22:23 AM -
ok, I updated [Descripton], [Steps] field.

Server Response from: ETNACODE01