Load URL inside Flex 2

How do you load a URL inside a targeted area (a container for
example) of a Flex 2 application? Basically the same way you would
load a URL into a frame in an HTML page. I see that there is a
<mx:HTML> tag in Flex 3 but I believe that tag doesn't exist
in Flex 2.

Flex has a limited support of HTML as it does not have a
built in browser functionality. If you would like to load an actual
URL you can use an IFRAME loaded on top of your Flex application.
If you search the web you can find a few examples of this. If you
need real HTML rendering, Apollo is your only real solution at this
time.
Al

Similar Messages

  • Programatically load URL inside a portlet

    Hi Super Solver(s) of Problems,
    Is there a way to programatically load a given URL inside a portlet?
    For example, if I have Portlet A and Porlet B, and I want to make a B load up,
    say, "http://www.google.com", when I click a button in A, how would I go about
    doing that (preferably without using a Webflow that can see both A and B)?
    Hanson

    Hanson,
    Please post the contents of the page that is not rendering correctly.
    Thanks!
    Sincerely,
    Daniel Selman
    "Hanson" <[email protected]> wrote in message
    news:[email protected]...
    >
    Hi again,
    I've written a page that displays what my servlet ought to without usingany session
    data, and parts of that page still won't render inside the portlet (thoughin
    its own browser window, it displays fine).
    I guess my question then becomes: what can/can't you render with the<ws:uriContent>
    tag?
    Hanson
    "Daniel Selman" <[email protected]> wrote:
    Hanson,
    It sounds like a problem with your Servlet. If it requires certain
    session
    variables, how do you intend to be able to hit it with a brand new
    Session?
    What happens when you hit your Servlet directly with a web-browser?
    Sincerely,
    Daniel Selman
    "Hanson" <[email protected]> wrote in message
    news:[email protected]...
    Hi Prady,
    Thanks for all your input! If I want to direct my page to somethinglike
    Yahoo
    or Google, the method you showed me works. However, the URL I'm
    getting
    the portlet
    to load points to a servlet, and for some reason, that servlet can'tget
    the session
    variables it needs to render its contents (retrievals return null whenother portlets
    in the session can read them fine). Is there any way around that
    problem?
    >>>
    >>>
    Hanson
    "Prady" <[email protected]> wrote:
    Try this:
    1. Go to developer.bea.com and download/install the web services
    portlet
    wizard. This will modify your EBCC to include the web service wizard
    tool.
    2. Using the URI tool of that wizard (from EBCC), create yourPortlet-B
    for
    a default URL such as http://www.google.com. The URI tool has couple
    of
    tags that help us load the URI content within a portlet.
    3. Write your Portlet-A with a simple form. Eg.
    <FORM>
    MyURL:<BR>
    <INPUT TYPE=text NAME=myURL SIZE=30>
    <INPUT TYPE=submit NAME=submit VALUE=go>
    </FORM>
    4. In Portlet-B (generated by the URI tool), there is a "defaultURL"
    variable that will have the default URL that you provided while
    creating the portlet-B (in our example from step 2. it will be
    http://www.google.com). Change it to get the "myURL"
    variable from the request object. Eg.
    String myURL = request.getParameter("myURL");
    5. Test.
    6. you can modify portlet-B and portlet-A to use webflow to
    pass information via pipeline session.
    Let me know if this works.

  • Workspace URL inside Flex form

    Using ES1 still.
    Does anyone know an easy way to gain access to the Workspace URL from within a Flex form?  I tried using the BrowserManager, but since the Flex form is actually loaded inside another Flex application and not the browser, it didn't seem to work for me.
    My goal is to use the URL to do some internal configuration in the Flex form to respond to DEV, TEST and PROD servers.

    You can try to following option.
    navigateToURL(new URLRequest("http://localhost:8080/workspace"),"_blank");  // This code will open your workspace in a new browser window.
    Nith

  • Load url into!! the swf file

    can i load a url into a continer on a stage (into the swf)?
    i need to let users lunch url in the application without open
    a new window or somthing like this...
    it needs to load into a continer or somthing like this?
    i know to load swf with swfLoder, i need the same thing only
    to load any URL (insdate of wsf only)...
    can you help me?

    Flex does not support the direct display of URLs. Flex does
    have some capability to display HTML, but it sounds like it would
    be too limiting for your use.
    Check this out:
    http://coenraets.com/viewarticle.jsp?articleId=95
    Christophe wrote this for Flex 1.5 but it might work for Flex
    2.

  • "Unable to load URL" - SQL Server 2005 DB Web Service Connection

    Hi ,
    I am using XCelsius version 5.0.0.99 to create dashboards connecting to SQL Server 2005.
    Find below the details of the steps -
    1. Created a web service within SQL Server 2005 database.
    2. Copied the WSDL URL.
    3. In XCelsius 2008 -> Data Manager -> Web Service Connection, pasted the URL in the WSDL URL input box and clicked "Import" to import the methods. At this point I am getting "Unable to load URL" .
    Am I missing any step ?
    Any suggestion would be highly appreciated.
    Note : I have tested the web service by using it in a ASP.Net project and works fine.
    Thanks
    Chitra

    Hi,
    Error :unable to Load URL occurs" because Crystal xcelsius only support single schema web service created from Query as a web service and Flynet tool available in xcelsius 2008.
    The reason:
    All the web service create from Sql 2005 ,PHP script produced multiple scehma web service and crystal xcelsius only support single schema web service which can be created from Query as a web service or Flynet.
    Please revert in case of any queries.
    Regards
    Kekti Fadnavis

  • "Unable to load URL" error when importing VS2008 created WSDL

    One of my developers created a simple web service in Visual Studio 2008 that queries a database on our SQL Server 2005. I can view the web service results in a web browser with no problems. I can also pull up the WSDL in the web browser with no problems (http://<ip address>/Service.asmx?WSDL). However, when I try to load WSDL into a Web Service Connection in Xcelsius 2008, I get the "Unable to load URL" error.
    I've also tried to use the web service as a data source in Crystal Reports 2008, but I get another error:
    Logon failed.
    Details: Schema file is invalid
    error: src-resolve: element 'schema@http://www.w3.org/2001/XMLSchema' not found
    I've seen a post in which it looked like Crystal acknowledged this as a bug in the XML driver used by Crystal products, but it should be fixed in a service pack update. I've got the latest service packs and fix packs installed for both Xcelsius 2008 and Crystal Reports 2008.
    I scanned the information being sent/returned to Xcelsius using Fiddler and it looks like the request is getting through and the actual WSDL file is being returned to Xcelsius, so it shouldn't be an authentication issue. It seems like Xcelsius doesn't like the WSDL file for some reason. However, it is automatically generated by Visual Studio 2008.
    Any ideas as to how I can get Xcelsius to use this test web service?

    Having the same issues here also.
    I can see the wsdl file being accessed successfully in the web access log, but Xcelsius v5.3 return "unable to load URL"
    Only thing I can guess is that the schema is "untyped"
    So, nobody in SAP has a solution?

  • Xcelsius error: Unable to load URL while using QAAWS on XI 3.0.

    Hi Experts,
    I am getting "unable to load url" in xcelsius 2008 while importing a qaaws url.
    After all the testing below are my observations:-
    1) This has something to do with QAAWS.
    2) When I logged into QAAWS and tried accessing the newly created url from the browser. It gave this error " can not communicate to the server mcc69u01:6400" but intrestingly the cms port is located at 6464 and not 6400.
    3) For every other application like infoview and cmc it picks the correct port i.e. 6464.
    4) Server is present on a UNIX box.
    5) I read somewhere that I need to make changes in the dsws.properties file under war files folder. There I enetered "domain= mcc69u01:6464" and restarted TOMCAT.
    6) After making this change I was unable to even log into QAAWS as it gave the error 02718 " you are not authorized to create query".
    7) After reverting the changes now I am able to log into QAAWS and create new queries but the same problem persist.
    8) TOMCAT is listening to port 8088 for our environment.
    9) Tried the same thing from a different client machine with fairly new BO XI 3.0 client installation(same server) but no success.
    I believe somehow QAAWS is not able to connect to the correct port 6464 and that is the reason for this issue.
    Could anyone suggest what I should do???
    Thanks in anticipation,
    Anshul

    hi Anshul,
    The QAAWSservletprincipal is not related to how you log into the server when creating queries
    It is used when the queries are actually running, or when you are trying to load the query to a tool like Xcelsius. I had the same unable to load error and it was caused by the QAAWSservletprincipal being set to concurrent licence when my server was all named users.
    I think the issue you are seeing is more likely a bug caused by hardcoded cms port, but I think it is worth ruling out.
    Regards
    Alan

  • How to get Page URL inside a JSR168 Portlet

    Hi,
    How can i get the Portal's page URL inside a JSR168 Portlet?
    All I can see in renderRequest Object is information about the portlet itself not about the page it is inside.
    Thanks,
    André

    Hi Andre
    Please see this note on My Oracle Support. 433507.1
    Hope that helps!
    AMN

  • Links (urls) inside a pdf document are not enabled by the New firefox pdf preview feature but are in Chrome & IE

    The new pdf preview feature in firefox desktop does NOT seem to activate any links (urls) inside the pdf meaning they are no longer clickable.
    Is anyone else experiencing this problem.
    I send out product information using pdf's with clickable links inside (as do lots of businesses) and this loss of clickable links functionality is a problem.
    I also tried the same pdf files in IE and Chrome and their inline pdf previews keep all links fully working.
    I know the pdf preview in firefox can be deactivated and the adobe reader can be used instead but in reality lots of people won't know how to do this or won't be troubled to find out how and will just move on.
    Does anyone know if this feature is going to be fixed or supported or is it a deliberate security feature.
    Thanks.
    JP.

    Hey JPEdwards,
    The PDF.js team is still hard at work on the built-in viewer. It looks like there is already a bug on file for this and they are aware of it:
    https://bugzilla.mozilla.org/show_bug.cgi?id=821599
    Please don't post in the bug if you are just confirming that you've seen the problem too. That clutters the tickets ;)

  • I puchased the Photoshop/Lightroom, but when I try to download Lightroom I get the following error message:Error -302 when loading url aam://SAPCode=LTRM?productVersion=5.5?passPhrase=RRR9EU9BaSBdtGb7 BrzzYZ9hLdjmpvEWeq7/9gSYn2 lUDLZNr9UveWEgxzaiobbibx4d6

    I get the following error message when attempting to load Lightroom:  Error -302 when loading url aam://SAPCode=LTRM?productVersion=5.5?passPhrase=RRR9EU9BaSBdtGb7+BrzzYZ9hLdjmpvEWeq7/9gS Yn2+lUDLZNr9UveWEgxzaiobbibx4d6JK3R74HPAX4YFwTpkn6K3YQk6Ej82wRFyYvKwXKAVMfMhQCfW5qg8odoMny OV1JlBuT0gEMjSjG5EhuCR288pgnfgQbAmchGqKSU=
    What can I do to solve the problem?

    Ewlett you are receiving this error because the AAM Detect plug-in is not yet installed.  Please see Error referring to aam protocol when you click download button | CC for more details.

  • Using xml to load urls

    I am a designer working on a flash project that is used to navigate to html pages. The project is a map - when you roll over different states there is an animation making that state pop out and show the state name. When you click each state (Button), it should open an html webpage. Right now the project works great, but I have the url's coded in flash actionscript using "onpress" and "load url." I would like to set it up so the flash file calls the URL for each button from an xml file, so it can be easily edited. The only thing it needs to call is the URL for each button. Can anyone give me simple instructions on how to make that happen?

    you'll need to change all the code attached to those buttons so each button has an instance name and you use that name to code for your mouse handler.
    and, if you're going to make those changes, you may as well use movieclip buttons and set this up so the next step is easier to accomplish.

  • Haw disable the saved icon of pdf document inside flex application??

    Hello,
    My gool is to disable the save icon of pdf document when i open the pdf document inside flex application.
    Haw you any ideas?
    Thanks you

    This isn't something that can be managed from the Flex end of things. You have to configure the document DRM.

  • Data connection issue - Unable to load URL

    Hi Folks,
    when I am trying to import URL (developed based on Query as Web services) in Xcelsius 2008, I am getting error "Unable to load URL".
    My other teammates are able to upload using their own laptop, so it indicates there is no issue on server side. I can open document saved in BO enterprise.
    Please advise if you have seen this issue.
    Thx...Ravi

    - has this been tried from server machine where BO is installed?
    >> I feel server site is all good... but I will try to login (remotely..and verifies this)
    - has this been tried from a different client machine?
    >>> Yes it is working for another team member (from his client laptop) whose user-id/access etc is same as mine.
    - are all client and server products at the same patch level?
    >> Yes
    - Is this specific to this QaaWS URL or is this issue across different Universes/URLs?
    >> still learning Xcelsius, so need to try other tools
    - Has this been tried using eFashion Universe?
    >> NO. can you tell how to do that?
    - Has this ever worked before?
    >> trying for first time from my lapop
    misc -
    I can open the document saved on BOBJ Enterprise server...
    URL looks good on web browser
    I feel it is more related to browser - security/setting.
    I even reset default internet explorer setting... still same issue.
    thx..ravindra

  • Error "Unable to Load URL" in Dashboard Design 4.1 SP2 while create web service connection

    Hello Experts,
    I am using SAP BO Dashboard Design 4.1 SP2.
    I have create one web Intelligence report and from it i create web services url using of publish data feature.
    when I use this url to create Web service(Qaaws) connection in dashboard It is showing me error " Unable to Load URL "
    URL is working fine in browser in server system where i install SAP BO 4.2 but it is not working in my system where i installed dashboard design.
    Please suggest how do i make connection using of this URL in dashboard.
    Do i miss something or doing wrong ? then guide me.
    Thanks and Regards,
    Dhaval Dave

    Hi Dave,
    Please check the below link,
    How to create Xcelsius Dashboard based of BI Web Service ( BIWS )
    Using Webservice in Dashboard
    Webservices in Dashboard - Issue
    Also change your original link here and try to load
    (sample link)
    From:
    http://BOE:8080/dswsbobje/qaawsservice/bisw?def=1&cuid=xxxxxxxxxx
    To:
    http://BOE:8080/dswsbobje/qaawsservice/bisw?wsdl=1&cuid=xxxxxxxxxx
    or else can you post your url here.
    Hope this helps.
    --SumanT

  • QAAWS : Import URL failed : Unable to load URL

    Hi everybody,
    I have a problem with QAAWS . I created a QAAWS and copied URL  ( I clicked "To Clipboard" but nothing happened so I clicked the URL, and a web browser appeared, then I copied this URL) .
    my URL : http://boxi31:8080/dswsbobje/qaawsservices/biws?def=1&cuid=AXP8AcnBLFVClPYIcK5jUGE
    Next, I opened Xcelsius \ Clicked Manage Connections \ Add QAAWS \ named this connection \ pasted the URL copied above to the blank of " WSDL URL" . After that, I clicked "Import" but an Error dispalyed : Unable to load URL.
    I don't know why it happened like that . Maybe I made mistakes somewhere???
    Pls, Help me to solve this problem.

    Hi All,
    I was having the same problem in BI4.0 SP2 Patch 16. Even external WSDLs gave the error so the issue wasn't with the BOBJ Server or the QaaWS URL syntax.
    I'm on a machine that also had Client tools, CRE, CR 2008 and CR 2011 installed. I forget the install order. I uninstalled the Xcelsius patch, then the base SP2, and re-installed them both.
    This fixed the issue.
    So maybe one of the other installs messed with Xcelsius. If you're having this error, and the URL is displaying fine in a browser, then maybe try from another install of Xcelsius.

Maybe you are looking for

  • How do I use multiple Facebook accounts?

    When I try to post a picture to Facebook using iPhoto, it posts to my daughter's account.  I can't find a way to change it in iPhoto 11.

  • Fusion drive solution to activate Office for Mac 2011

    Activating Office 2011  is a known issue for Fusion Drive Macs. Activation is tied to the drive. According to Microsoft the solid state part of the Fusion Drive generates a new disk id every time the Mac is started. So Mac Office thinks it a new syst

  • Link between

    i want link between schedule wise po qtys tables and lot number tables for example link between like tables eket and qals. common fields r there but i want links regarding deliveries, schedules. so plz give me tables related to above discussion. chai

  • Enregistrement ADOBE ID

    Je ne peux pas enregistrer mon logiciel avec mon mot de passe alors que mon ID Adobe est deja enregistrée. Un message m'indique que mon mot de passe n'est pas valable et que celui ci comporte un espace , points etc. Si je veux récupérer mon mot de pa

  • Session in tab browsers

    Hi friends i have an application in which when i log in -- according to the role of user im setting some beans in Session with a fixed key name eg "key1". Because as i know every browser window will have different session so no conflict will come. Bu