h:link / h:button - navigate to external URL's

Hi all,
Does anybody know if it's possible to use the new JSF 2.0 tags <h:link> and <h:button> to navigate to URL's outside the current application context?
Thank you very much!!
J.

That's one of those things I 'tried' - without success.
According to the spec, the outcome attribute refers to "+The logical outcome used to resolve a navigation case.+", which is not exactly an external URL neither.
Does that work in your environment?
Thx
J.

Similar Messages

  • Navigate to external URL from secured APEX server

    NOTE I am using the internal Oracle APEX server to host my application, so it may be possible that you will have to be an Oracle employee with the same access, or using a similar setup, in order to respond. Even if you are not, if you feel inclined to "take a swing" at it, keep this in mind.
    Hi all,
    I am using the internal APEX server at oracle to host an application (Application Express 4.0.2.00.07). I have other, NON-APEX applications hosted on other servers within the Oracle firewall.
    On page 0 of the APEX application (which, as you may know, usually displays as the "header" section of every other page in the application) I have created a select list of the other projects and their associated URLs as well as a "Go" button, so users that want to navigate to the other applications can do so from this application. Since page 0 does not seem to allow the creation of standard branch items (please correct me otherwise), I have created a process on that page triggered by the "Go" button. The process currently contains the following code:
    begin
    apex_application.g_unrecoverable_error := true;
    htp.p('<script language="JavaScript">
    window.open (:P0_PRODUCT_PAGES); <!-- :P0_PRODUCT_PAGES being the URL of the selected non-APEX application -->
    </script>');
    end;
    That code currently replaces the existing page with a blank page and the associated URL is "https://apex.oraclecorp.com/pls/apex/wwv_flow.accept". I am assuming this means that APEX was looking for an application ID and/or page and did not get it so it "stopped" at this page.
    I am unaware if there are any settings on the APEX server, DB,or associated web server preventing me from navigating outside of APEX once I am running the hosted application.
    I would like to launch another properly-sized (default) browser window rather than replace the existing window pointing to the URL for the selected application.
    I have also tried using the owa.util code to try to generate the proper URL but was likewise unsuccessful.
    NOTE: I am not looking for different ways to do this by changing server parameters, settings, etc. since I do not have server rights to do this. Additionally, due to time constraints, I would prefer not to be drawn in to a discussion of the comparisons and/or benefits of owa.util or javascript over the other for navigating to an external URL from within APEX, etc. (I'm not trying to be a "punk", but I AM under the gun to resolve this with very limited time). In light of this, please indicate if you have a working option to do this under similar conditions that I can implement quickly. I have done much research within the forums and Googled extensively for information from outside sources but have not yet found something that will provide the proper results.
    If you are an oracle employee and wish to contact me directly, please email me at [email protected]
    Crossing my fingers and hoping someone has done this before.
    Many thanks in advance; your useful contribution will actually contribute to lessening the world's INSOMINA factor considerably (mostly mine). ;)

    >
    I would like to launch another properly-sized (default) browser window rather than replace the existing window pointing to the URL for the selected application.
    I have also tried using the owa.util code to try to generate the proper URL but was likewise unsuccessful.
    >
    Opening a URL in a new tab or window has to happen in the browser, without submitting the page. The server doesn't know about browser windows. Use:
    onchange="window.open(this.value);" in the HTML Form Element Attributes property of <tt>P0_PRODUCT_PAGES</tt> (making the "Go" button unnecessary), or, if the "Go" button is required to match the LAF:
    onclick="window.open($v('P0_PRODUCT_PAGES'));"in the button Attributes property, ensuring the button is a template button including the <tt>#BUTTON_ATTRIBUTES#</tt> substitution string, e.g.
    <input type="button" value="#LABEL#" #BUTTON_ATTRIBUTES# />Ensure that absolute URLs are used in the <tt>P0_PRODUCT_PAGES</tt> where necessary, specifying the correct scheme for the site, so that you are not trying to go to <tt>{noformat}https://apex.oraclecorp.com/pls/apex/www.google.com{noformat}</tt> for example:
    f?FOO:BAR:&APP_SESSION.    // other APEX app hosted on apex.oraclecorp.com sharing the same authentication scheme
    https://foo.oraclecorp.com // other secured internal site
    http://www.google.com      // unsecured external site

  • Link from BPF task to external url

    Hi,
    Is it possible to link to an external url from a BPF step? I have tried embedding in the content library, but the resolution is adequate.
    Many thanks,
    Andy

    Hi Andy,
    From BPF, we cant open an external link. You can upload a link on content library and the content library can be opened through the BPF.
    Hope this helps.

  • Navigate to external URL

    Hi All,
    We have a detailed report where we will get the detailed information of any cause, and from this report we want to provide a link to the our application.
    We have a report with columns as below.
    ProductLines      Reason          Type of issue             Issues No
    A                   Reason1           TOIssue1                 123
    B                   Reason2           TOIssue 2                 234
    Now from this report if we click on Issue No column it should takes us to the application. For this we added custom test into Issue No as below.
    *@[html]"<a href="http://localhsot/object/"Type of issue"/""@"" target="_blank">""@""</a>"*
    where we are expecting the url format as *http://localhost/object/TOIssue1/123*
    and one more problem is that if any of the reason values has space the url will not work.
    Regards,
    Somu

    Hi Goran,
    Thanks for reply, as you said modified the code as below and followed the instructions given by you.
    below is the code
    but with this we are getting link as http://localhost/object/TOIssue1/123%20target=
    instead we want same link to come as below
    http://localhost/object/TOIssue1/123
    tried removing target="_blank" from the code after removing this column itself became blank. finally changed the code as below
    with this getting link as below
    http://localhost/object/TOIssue1/'
    Is there any mistake from my side.
    Regards,
    Somu

  • Linking to external URL using POST from a button in APEX

    APEX Experts
    Does anyone know how to link to an external URL using POST rather than GET behind an APEX button? I'm pretty sure there must be a javascript call but I'm a real newbie to both APEX and Javascript.
    Also does anyone know why APEX decodes an encoded URL before sending it out and how to stop it?
    Thanks
    Deborah

    I did something similar recently but it was in .NET.
    Hopefully someone else here can help you do with Apex and Oracle. I am new to both.
    To POST instead of GET is not as easy as it sounds.
    What I did was open a new window where I outputted a dynamically created form. I would think that you would do that by using the pl/sql web toolkit to call a procedure and output the form using htp.p. You may also be able to do it with Apex (I think they are built using the same tech).
    Basically, your proc would look something like this:
    htp.p('<html><head>');
    htp.p('</head><body onload="document.FORM.submit();">');
    htp.p('<form name="FORM" method="POST" action="www.UrlToPostTo.com" >');
    htp.p('<input name="PostVar" type="hidden" value="' || MyValueToPost || '">');
    htp.p('</form></body></html>');
    So, it creates a html page with a form. When the page loads, it runs the javascript to submit the form to the other site. You can add in as many post items as you need. I marked them as hidden so that the user only sees a blank page briefly before the form is submitted.
    I am sure there is more to it than that, but it gives the general outline of how to post to another site dynamically. Hopefully someone else can fill in the rest.

  • Design-Time Data with external url linking

    I have a data list here:
    http://facetmedia.com/new/
    In the portfolio section I would like to make links which are clickable for the portfolio items. I now know how to use Flex Builder to make external URL links for regular buttons. What I don't know is how to edit this data list to create external links. Any help would be appreciated.

    Hi trancepriest,
    First, if you haven't already, you probably want to read some of the other posts here about creating a URL link button.  Once you've tried doing that and feel comfortable setting up a simple URL link in a test project, then you can move on to integrating this functionality into your list.
    Now -- the rest depends on how the data is represented in your list.  From some of your other posts here, it actually sounds like you're no longer using a list at all, but rather just a tall layout of hardcoded items set inside a scrolling viewport.  If this is the case, you can just repeat the simple button creation you did above, placing all the buttons in the appropriate places in your tall layout (on top of / next to each distinct "item" in the layout).
    If you're still using a Data List with a Repeated Item, then the initial setup will be a little bit more tricky, but it will save you time in the long run since you only have to set up one button (which will then be repeated for each item).  Here's how:
    Find the "dataProvider" tag in the code.
    Inside that will be a series of "Object" tags listing your current list data.  Add a new "url" attribute to each tag, e.g. url="http://www.adobe.com".
    Edit the Repeated Item's definition (in the source code, find the itemRenderer attribute on the List tag and ctrl+click it).
    Create your URL link button inside there. But -- instead of typing in the URL as a string in quotes (as seen in other examples in this forum), use data.url to refer to the url attribute you added in step 2.
    Hope that helps!
    - Peter

  • Open external URL in event Button.

    Hi experts,
    I have created a Button in Web Client that call an RFC. Later depending on response, It should open an external URL (e.g http://www.google.es).
    I don't know how I can open a new link with abap code in the event.
    Anyone knows it?
    Thanks.

    Hi,
    In the code where you defined the button use JS
    ls_button-on_client_click = 'javascript:window.open ("http://www.google.es","Google","width=750,height=600,resizable=yes");Google.focus()'.
    Rgds,
    Shobhit

  • Question regarding GO URL link with &Action=Navigate in OBIEE 11g

    Hello All,
    Actually I am working with the GO URL Links in OBIEE 11g.When I am trying to use the link as
    &Action=Navigate&p0=3&p1=bet&p2="Time%20Periods".Date&p3=2+ '01/01/2011'+'01/31/2011'
    The data is not getting filtered.It is giving me all the data which I don't need also..Is this a bug or am I doing any mistakes..Please let me know..

    Actually I have a few parameters or filters and I am using those filters in the GO URL Link but that filters when I am applying in
    &Action=Extract it is working properly.But When I am trying the same with &Action=Navigae it is not gining me the results what I want..

  • Link Webi Report to External URL using URL contained in Dim Object

    I am trying to create a link in my WebI report to an external URL which is stored in a Dimension object.
    The object is simply a string format which contains a link to a Lotus Notes database
    Example:
    Notes:///CA2573920000079B/0B4D8972EDD5DE7CCA257109000682B7/32250ACFEAF2B80FCA2573AB00831255
    When I put the link into Internet Explorer I get the appropriate Lotus Notes databse, however, when trying the same in WebI using the following formula:
    ="<a href=[Notes url1] target='_blank'>Test</a>"
    I get the following URL when clicking the link from InfoView
    http://auyhoz04.an.orica.net:8080/businessobjects/enterprise115/desktoplaunch/viewers/cdz_adv/[Notes%20url1]
    If I hardcode the URL into WebI
    ="<a href='Notes:///CA2573920000079B/0B4D8972EDD5DE7CCA257109000682B7/32250ACFEAF2B80FCA2573AB00831255' target='_blank'>Test</a>"
    It works without a problem.
    I'm sure I'm missing something simple...is anyone able to help?

    Nathan,
    When you build a URL on the fly it requires a certain way to encapsulate everything.  Here is another way for you to try it:
    ="<a href="+Char(34)+[Notes url1]+" target='_blank'>Test"+Char(34)+"</a>"
    Plz note the use of Char(34) which generates a double-quote.  This method should help you with getting a dynamic product delivered to your audience.
    Thanks,
    John

  • External URL link in Request header page

    Hi Experts,
    I know that with transaction launcher in solman we can connect to external URL in navigation area, but I want to publish the same link within the Request header page, as a URL. Any thoughts ?
    Thanks in advance.
    Jignesh

    Got it, by adding the below code in the GET_P_xxxx method of the attribute
    CASE iv_property.
        WHEN if_bsp_wd_model_setter_getter=>fp_sortable.        "This column is not sortable
          rv_value = 'false'.                                   "#EC NOTEXT
        WHEN if_bsp_wd_model_setter_getter=>fp_disable_filter.  "Disable filter
          rv_value = 'true'.                                    "#EC NOTEXT
        WHEN if_bsp_wd_model_setter_getter=>fp_fieldtype.
    * -> field type: client click
          rv_value = cl_bsp_dlc_view_descriptor=>field_type_link.
        WHEN if_bsp_wd_model_setter_getter=>fp_onclick.
    * -> onClick
    ** Get the path name
    rv_value   = "'http://www.google.com'.
      ENDCASE.

  • Url link to button

    how to set a button to get website with target blank.

    Linking is done in HTML, not CSS (with the exception of a link to a background picture)
    So, if your navigation is a list, you'd have the following in your HTML:
    <nav>
         <ul>
              <li><a href="index.html">Home</a></li>
              <li><a href="about.html">About</a></li>
              <li><a href="books.html">Books</a></li>
              <li><a href="http://www.myexternalwebsitelink.com/inboundfromotherwebsite.html">External Link</a></li>
              <li><a href="contact.php">Contact</a></li>
            </ul>
    </nav>
    Here, in the example above, I'm using the HTML5 <nav>, but that could be an HTML4 <div class="nav"> and you will see a link to an internal page on the same website server for Home, About, Books and Contact with "External Link" pointing to another website external to the one we're on.
    Make sense?

  • How to add external URL link to SAP object (Purchase Order, Invoice, etc)

    Hello,
    Is there any function module /BAPI that allows me to add an external URL link to a existing Purchase Order
    or Invoice document in R3 system?
    I tried to debug the system but have not found no suitable function module for it.
    I also analyzed the ABAP code of the small GUI window that allows to add a external URL link to
    a Purchase Order, and found the function module SO_OBJECT_INSERT. However I could not debug
    it (seems to be created with BOR objects) so I've no example for it.
    Please help!
    Regards,
    Manuel Dias

    CONSTANTS:
        c_http(36)    TYPE c VALUE '/BpHttpApis/slaphapi?ibmperson/(uid=',
        c_listxml(12) TYPE c VALUE ').list/byxml',
        c_value(5)    TYPE c VALUE 'value',
        c_cn(2)       TYPE c VALUE 'cn',
        c_mail(4)     TYPE c VALUE 'mail',
        c_em_num(19)  TYPE c VALUE 'managerserialnumber',
        c_em_cou(18)  TYPE c VALUE 'managercountrycode'.
      DATA  client          TYPE REF TO if_http_client.
      DATA  url             TYPE string.
      DATA  xbuffer         TYPE xstring.
      DATA  l_value         TYPE zchar2000.
      DATA  l_value_string  TYPE string.
      DATA  content         TYPE string .
      DATA  rows            TYPE STANDARD TABLE OF string.
      DATA  wa_rows         TYPE string .
      DATA  conv            TYPE REF TO cl_abap_conv_in_ce.
      DATA  ixml            TYPE REF TO if_ixml.
      DATA  streamfactory   TYPE REF TO if_ixml_stream_factory.
      DATA  parser          TYPE REF TO if_ixml_parser.
      DATA  istream         TYPE REF TO if_ixml_istream.
      DATA  document        TYPE REF TO if_ixml_document.
      DATA  node            TYPE REF TO if_ixml_node.
      DATA  xmldata         TYPE string.
      DATA  iterator        TYPE REF TO if_ixml_node_iterator.
      DATA  nodemap         TYPE REF TO if_ixml_named_node_map.
      DATA  attr            TYPE REF TO if_ixml_node.
      DATA  name            TYPE string.
      DATA  prefix          TYPE string.
      DATA  value           TYPE string.
      DATA  indent          TYPE i.
      DATA  count           TYPE i.
      DATA  index           TYPE i.
      url = 'http://bluepages.ibm.com'.
      CLEAR: l_value_string, l_value.
    ***Create the HTTP client
      CALL METHOD cl_http_client=>create_by_url
        EXPORTING
          url    = url
        IMPORTING
          client = client
        EXCEPTIONS
          OTHERS = 1.
      IF sy-subrc <> 0.
    Create the HTTP client failure, sy-subrc =
        MESSAGE i005(zm) WITH text-026 sy-subrc.
        EXIT.
      ENDIF.
      CONCATENATE c_http
                  p_accnt
                  p_couty
                  c_listxml
                  INTO l_value.
      l_value_string = l_value.
    ***Get employee information
      CALL METHOD client->request->set_header_field
        EXPORTING
          name  = '~request_uri'
          value = l_value_string.
      client->send( ).
      client->receive( ).
    ***Load to xstring
      CLEAR xbuffer .
      xbuffer = client->response->get_data( ).
      conv = cl_abap_conv_in_ce=>create( input = xbuffer ).
      conv->read( IMPORTING data = content ).
    create the ixml main factory
      ixml = cl_ixml=>create( ).
    create a stream factory
      streamfactory = ixml->create_stream_factory( ).
      xmldata = content.
    create a input stream
      istream  = streamfactory->create_istream_string( string = xmldata )
    create a ixml document
      document = ixml->create_document( ).
    create a xml parser
      parser  = ixml->create_parser( document       = document
                                     stream_factory = streamfactory
                                     istream        = istream ).
    parse the xml document into DOM tree
      IF parser->parse( ) <> 0.
    parse the xml document into DOM tree failure
        MESSAGE i005(zm) WITH text-027.
        EXIT.
      ELSE.
        node ?= document.
        IF node IS INITIAL.
    To be done
        ENDIF.
    create a node iterator
        iterator  = node->create_iterator( ).
    get current node
        node = iterator->get_next( ).
    loop over all nodes
        WHILE NOT node IS INITIAL.
          indent = node->get_height( ) * 2.
          indent = indent + 20.
          CASE node->get_type( ).
            WHEN if_ixml_node=>co_node_element.
          element node
              name    = node->get_name( ).
              nodemap = node->get_attributes( ).
              IF NOT nodemap IS INITIAL.
            attributes
                count = nodemap->get_length( ).
                DO count TIMES.
                  index  = sy-index - 1.
                  attr   = nodemap->get_item( index ).
                  name   = attr->get_name( ).
                  prefix = attr->get_namespace_prefix( ).
                  value  = attr->get_value( ).
                ENDDO.
              ENDIF.
            WHEN if_ixml_node=>co_node_text.
    User name
              IF name  = c_value AND
                 value = c_cn.
          text node
                value  = node->get_value( ).
                p_name = value.
              ENDIF.
    User email
              IF name  = c_value AND
                 value = c_mail.
          text node
                value  = node->get_value( ).
                p_email = value.
              ENDIF.
    Employ serial number
              IF name  = c_value AND
                 value = c_em_num.
          text node
                value  = node->get_value( ).
                p_em_num = value.
              ENDIF.
    Employ country code
              IF name = c_value AND
                 value = c_em_cou.
          text node
                value  = node->get_value( ).
                p_em_cou = value.
              ENDIF.
          ENDCASE.
      advance to next node
          node = iterator->get_next( ).
        ENDWHILE.
      ENDIF.

  • Link to external URL from flash site

    Is there any way to link to an external URL from your flash
    site without having the flashplayer prompt you to change your
    settings and allow access to that page? (this only applies to swfs
    viewed through a browser)
    the only way around this i've found isn't very useful - you
    have to put a small xml file on the host server where the page you
    want to link to is located. i seriously doubt every site you want
    to link to will allow you to put an xml file on their host server
    just so you can link to their page. the code in the xml file just
    tells flashplayer that the site you are trying to access is safe.
    it's called crossdomain.xml
    anyone have an answer?
    thanks!

    This question was answered by kglad, on Saturday, August 11,
    2007 10:13 AM
    Answer
    no it doesn't. getURL() causes no security issues unless you
    try to open the html locally and (try to) access something on the
    internet.
    unless your "flash site" is your local computer there is no
    security issue. if your local computer is an internet server, you
    just need to set the security settings for your local file and give
    it permission to access the internet zone.

  • Link to external URL from online swf

    Is there any way to link to an external URL from your flash
    site without having the flashplayer prompt you to change your
    settings and allow access to that page? (this only applies to swfs
    viewed through a browser)
    the only way around this i've found isn't very useful - you
    have to put a small xml file on the host server where the page you
    want to link to is located. i seriously doubt every site you want
    to link to will allow you to put an xml file on their host server
    just so you can link to their page. the code in the xml file just
    tells flashplayer that the site you are trying to access is safe.
    it's called crossdomain.xml
    anyone have an answer?
    thanks!

    no it doesn't. getURL() causes no security issues unless you
    try to open the html locally and (try to) access something on the
    internet.
    unless your "flash site" is your local computer there is no
    security issue. if your local computer is an internet server, you
    just need to set the security settings for your local file and give
    it permission to access the internet zone.

  • I feel like a rookie but, can someone tell me how to create links to external URLs in Muse?

    I want to attach the link to text which gives the name of the site. I am not an idiot, just unfamiliar with the program. I have looked through the learning videos but cannot find anything that specifically relates to my question. I appreciate any help I can get. Thank you, in advance, for any assistance.
    Sue

    I am unable to open the screen shots as I keep getting a message saying that I am not using the correct program. Can you tell me which program I should use? Thank you.
    Sue
    Date: Mon, 22 Jul 2013 10:48:46 -0700
    From: [email protected]
    To: [email protected]
    Subject: I feel like a rookie but, can someone tell me how to create links to external URLs in Muse?
        Re: I feel like a rookie but, can someone tell me how to create links to external URLs in Muse?
        created by spudsmurphy13 in Help with using Adobe Muse CC - View the full discussion
    good question sue, and well done to all for how to do links.
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5527823#5527823
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5527823#5527823
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5527823#5527823. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Help with using Adobe Muse CC by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

Maybe you are looking for

  • Flash disappears when template upadated

    For some reason, when I update a template and save the changes globally, my Flash .swf disappears in the pages based on the template, even though it works just fine in the template? What gives? Are .dwt files buggy?

  • Problem adding WebLogic remote server

    I'm running Oracle Enterprise Pack for Eclipse version oepe-indigo-11.1.1.7.3.201107052114. Using Eclipse Indigo with JrockIt jrockit-jdk1.6.0_26-R28.1.4-4.0.1 as Java Virtual Machine on Windows 7 32 bits. The problem is I can not find a way to regis

  • Access to Samsung Omnia Accelerometer and Microphone with Flash Lite?

    Hello everybody, I' like to ask a few things: - Is it possible to access the Omnia accelerometer through our flash lite application? - Is it possible to capture audio from Omnia microphone, through our flash lite app? Thanks in advance.

  • How to automate photslide template in flash 8

    I have flash 8 professional. I am not a html professional, previously i used frontpage 2003 for web creation, and now i dabble with dreamweaver 8 too. I have little html knowledge. I am trying to create a photoslide using the Flash 8 Professional rea

  • Mail attachments - Attachments are being renamed to "Mail Attachment"

    I have MacBook Air and am using the Apple Mail client to connect via IMAP to our company Exchange 2003 server.  When I receive an email with an attachment(PDF, DOC, XLS, JPG) every attachment gets renamed to Mail Attachment (With no extension at the