Watch, Follow, &
Connect with Us

Please visit our new home
community.embarcadero.com.

Public Report
Report From: Delphi for PHP/Library    [ Add a report in this area ]  
Report #:  108141   Status: Reported
Keeping the User in the mobile app.
Project:  HTML5 Builder Build #:  XE2
Version:    4.0 Submitted By:   beta tester
Report Type:  Issue Date Reported:  8/22/2012 10:54:25 AM
Severity:    Extreme corner case Last Updated: 8/24/2012 4:52:35 AM
Platform:    All platforms Internal Tracking #:  
Resolution: None  Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: 1
Description
Keeping the User in the mobile app.
The tool RadPHP does not have good documentation. We have many doubts. Among them one of most concern is the issue of keeping the user within the application. Using the component DBRepeater, we can display the information of records in a very simple, but when we want to pass information from one screen to another, unfortunately the user is redirected.
Using the demos that comes with the installer, you can see that when a component within the DBRepeater receives information from the record, it is placed as GET. Ex: (Demo simplemanagement.php line 114)

<code>
   function Label17BeforeShow($sender, $params)
   {
      //Setup a link to delete registers
      $this->Label17->Link = "simplemanagementand.php?action=delete&edit_id=" . $this->tbRepeater->products_id;
   }
</code>

Well when this happens, click the user quits the application and it is redirected to the mobile browser.
In this case and in the case of MLINK or other components, the property is used whenever the link, and always at the event "BeforeShow." I believe that is the correct command usage mobileRedirect ().

The main question is:
How can I use DBRepeater without redirecting the user?
Thank you.
Steps to Reproduce:
Create a new mobile application.
Enter the necessary components (a DBRepeater with a MLINK and a label inside) and components to connect to the database. Naturally I use ajaxuri.
Workarounds
None
Attachment
None
Comments

Betta tester at 8/31/2012 5:25:04 AM -
If have anyone component to change page (inside DBRepeater) and keeping the user in app, this solve my problem. Thank You.

Server Response from: ETNACODE01