Mobile iFrame workaround(Paygate&Phonegap)

Hi there, Okay so we have a mobile app that we have wrapped in Phonegap. We use a custom request handler which prints some HTML code, which includes a form geared to post information to PayGate and then writes its response(a payment gateway where you enter your card details and pay) to the canvas. So on the mobile side we use a link button that works as follows : http://www.mendixappurl/requesthandlername/param1/param2/etc/ This triggers the print out of HTML code below: String form = "<html>" + "<head>" + "<title>PayGate::PayWebv2 Sample</title>" + "</head>" + "<body>" + "<form action=\"\" method=\"POST\" >" + "<input type=\"hidden\" name=\"PAYGATE_ID\" value=\"" + paygateId + "\">" + "<input type=\"hidden\" name=\"REFERENCE\" value=\"" + orderId + "\">" + "<input type=\"hidden\" name=\"AMOUNT\" value=\"" + amount + "\">" + "<input type=\"hidden\" name=\"CURRENCY\" value=\"" + currency + "\">" + "<input type=\"hidden\" name=\"RETURN_URL\" value=\"" + returnURL + "\">" + "<input type=\"hidden\" name=\"TRANSACTION_DATE\" value=\"" + transactionDate + "\">" + "<input type=\"hidden\" name=\"CHECKSUM\" value=\"" + checkSum +"\">" + "<input type=\"submit\" value=\"Please click here to proceed to Paygate\">" + "</form>" + "</body>" + "</html>"; OutputStream outputStream = response.getOutputStream(); IOUtils.write(form, outputStream); IOUtils.closeQuietly(outputStream); We have an issue in phone gap where clicking this "Please click here to proceed to Paygate" button does not open a browser page in the phone's default browser but instead opens the in app browser that is used to display the Mendix mobile application and after paying, the customer cannot navigate back to the application without re-posting the form and/or getting errors. Can we open the page http://www.mendixappurl/requesthandlername/param1/param2/etc/ in an external page, in such a way that it forces the native app to open the actual phone's default browser instead? An alternative would be to display the HTML code above in an iFrame inside the application - but the iFrame is not available for mobile yet. Thanks
1 answers

Maybe setting the target property on the form element does the trick? Just like with according to the Phonegap documentation.