Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F1E6A982B for ; Thu, 19 Jan 2012 09:00:20 +0000 (UTC) Received: (qmail 718 invoked by uid 500); 19 Jan 2012 09:00:20 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 562 invoked by uid 500); 19 Jan 2012 09:00:10 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 460 invoked by uid 99); 19 Jan 2012 09:00:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jan 2012 09:00:04 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jan 2012 09:00:00 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id E490215543E for ; Thu, 19 Jan 2012 08:59:39 +0000 (UTC) Date: Thu, 19 Jan 2012 08:59:39 +0000 (UTC) From: "Barry vd. Heuvel (Commented) (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <440049160.55587.1326963579980.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <462821533.23919.1322610099902.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CB-94) OpenAllWhitelistURLsInWebView setting still problematic MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CB-94?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13189016#comment-13189016 ] Barry vd. Heuvel commented on CB-94: ------------------------------------ Is anyone working or looking in to this? Or is there a simple quickfix/alternate method? > OpenAllWhitelistURLsInWebView setting still problematic > ------------------------------------------------------- > > Key: CB-94 > URL: https://issues.apache.org/jira/browse/CB-94 > Project: Apache Callback > Issue Type: Bug > Components: iOS > Reporter: Shazron Abdullah > Assignee: Shazron Abdullah > > The good news: OpenThisWhitelistURLsInWebView works perfectly. > The not so good news: Once that boolean is set to yes, there is no way to force a link to jump out and open in a browser. It's all or nothing. How, in the case of an app requiring OpenAllWhitelistURLsInWebView = Yes for some pages, can you also force a particular link to open outside of the in-app webview? > In practice, it would be nice (and fairly universally useful) to be able to specify whether a link's behavior does or does not open in webview on an individual basis. For example in the same app you have some embed or iframe links that should be opened in the app's webview, and, other links on a FB or twitter badge to jump out to follow or to "like" a page, or "if you like this app, click here to jump to our website to find out more" types of links. > Maybe it is as simple as using target="_blank" inside an < a> tag to signify jumping out of the app and opening in a browser? > or maybe this scheme as an expected behavior ... > If the OpenAllWhitelistURLsInWevView boolean is set to YES, > then, > any external links in the whitelist (ExternalHosts array) will open up in WebView. > Inversely, > any external links NOT on the whitelist will open externally. > Thoughts? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira