Html page to TitleWindow custom component

Hello all,
I have a TitleWindow custom component to which I send a html page. Does anybody know why it doesn't work?
This is what I send:
                    for (var i:Number = 0; i < sdeName.length; i++){
                        if (sdeName.getItemAt(i)["label"] == item.label){
                            item.label = sdeName.getItemAt(i)["data"];
                            var url:String = "http://myserver/getMetadata/metadata.aspx?sdeFeatName="+item.label+"&"+"outFormat=ISO";
                            item.label = sdeName.getItemAt(i)["label"];
                var mycompMeta:popupMeta = new popupMeta();
                    mycompMeta.url = url;
                    mycompMeta.x = 100;
                    mycompMeta.y = 100;
                    //mycompMeta.formatpop = formatpop;
                    PopUpManager.addPopUp(mycompMeta,this.parentApplication as DisplayObject);
                    PopUpManager.centerPopUp(mycompMeta);
TitleWindow:
<?xml version="1.0" encoding="utf-8"?>
<mx:TitleWindow xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" width="1100" height="800" showCloseButton="true" close="closeMe()">
    <mx:Canvas width="1068" height="700" backgroundColor="#FFFFFF" borderColor="#000000" borderStyle="solid">
    <mx:Script>
        <![CDATA[
            import mx.events.CloseEvent;
            import mx.managers.PopUpManager;
            [Bindable]
            private var _url:String;
            private var _formatpop:String;
            private var downloadURL:URLRequest = new URLRequest();
            public function set url(value:String):void {
                _url = value;
            public function set formatpop(value:String):void {
                _formatpop = value;
            public function clickHandler(event:MouseEvent):void
               var fileReference:FileReference = new FileReference();
               downloadURL.url = _url;
               fileReference.download(downloadURL,"test.html");
            public function closeWindow (event:MouseEvent):void
               PopUpManager.removePopUp(this);
            public function closeMe ():void
               PopUpManager.removePopUp(this);
        ]]>
    </mx:Script>
<mx:Image  source="{_url}"/>
</mx:Canvas>
<mx:HBox>
     <mx:Button label="Close" id="close" click="closeWindow(event)"/>
    <mx:Button label="Save" id="save" click="clickHandler(event)"/>
</mx:HBox>
</mx:TitleWindow>
Regards,
Manolo

Read about an example of Swingscape browser.
http://manning.com/sbe/files/uts2/Chapter27html/Chapter27.htm
regards
Stas

Similar Messages

  • View external HTML page in a custom object container

    Hi to All,
    I have created a custom TAB in a standard transaction.
    I want add a html page(external link) in custom container (like a browser).
    On the forum I did't find anything, can you help me?
    Best regards.
    Umberto

    Result:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/fdf8ee2a-0301-0010-e598-9a1ad4189bdd

  • PPR on custom component

    I have a custom component for calendar. When invoking PPR on the component it refreshes the entire contents of the page and the custom component doesn't work properly after that.
    If I manually do full a page refresh then the component works properly.
    There is a thread with a similar problem was resolved Re: PPR on custom component?
    In above thread the solution was to add below in the custom component class.
    @Override
    protected FacesBean.Type getBeanType()
    return TYPE;
    I do have this code in my custom component class but may be I am missing something else. Does anyone have a suggestion of how to make this work? I'd appreciate your help a lot.

    Yes, I've seen that page on Trinidad. It was helpful, but it seems it was mostly about using PPR, not about building it into a custom component. The one part that did talk about custom components was this, near the end:
    "Finally, if you're implementing a custom component, you aren't extending the Trinidad UIXComponentBase base class or one of its subclasses, and you want to support partialTriggers, you'll need to use addPartialTriggerListeners(). If you deliver events, and you want to support being the target of partialTriggers, you'll need to use partialUpdateNotify(). "
    Then it gives code snippets for each of those. In my case, I am extending UIXComponentBase, and I am including this code, and I know addPartialTriggerListeners gets called, but my component still doesn't get the updated data. If I right-click the page and select Refresh, it redraws correctly, and other components that have partial-triggers on the same component I do, do get the update properly. So I must be missing something.
    Also, where can I get the open source of the components from? I haven't found anywhere to download them from. Can you point me at them?

  • Table borders for html Page

    HEllo ABAPERS,
    KINDLY HELP .
    I have developed a report which displays a html page in a custom control .But while printing it not displaying table borders . I have used method display_document ffor printing .Can anyone tell me the reason why is it not printing borders ?
    Following code is the code for subroutine and PBO : -
    MODULE status_0322 OUTPUT.
    SET PF-STATUS 'xxxxxxxx'.
    SET TITLEBAR 'xxx'.
      IF first_display EQ 'X'.
        SET PF-STATUS 'PMENU'.
    create document
        CREATE OBJECT do.
    fill document
        PERFORM display_data USING do t_no.
    merge document
        CALL METHOD do->merge_document.
    display the document inside the container named 'mmscr
        CALL METHOD do->display_document
          EXPORTING
            container          = 'MMSCR'
          EXCEPTIONS
            html_display_error = 1.
        " do some exception handling ...
        CLEAR first_display.
      ENDIF.
    ENDMODULE.                 " STATUS_0322  OUTPUT
    *&      Form  display_data
    FORM display_data USING p_do TYPE REF TO cl_dd_document P_no type n.
      DATA ta1 TYPE REF TO cl_dd_table_element.
      DATA col11 TYPE REF TO cl_dd_area.
      DATA col12 TYPE REF TO cl_dd_area.
      DATA col13 TYPE REF TO cl_dd_area.
      DATA col14 TYPE REF TO cl_dd_area.
      DATA col15 TYPE REF TO cl_dd_area.
      DATA head1 TYPE sdydo_text_element.
      DATA head2 TYPE sdydo_text_element.
      DATA head3 TYPE sdydo_text_element.
      DATA head4 TYPE sdydo_text_element.
      DATA text TYPE sdydo_text_element.
      CALL METHOD p_do->new_line.
          CALL METHOD p_do->add_table
            EXPORTING
              no_of_columns               = 5
              cell_background_transparent = space
              with_heading                = 'X'
              border                      = '5'
              width                       = '50%'
            IMPORTING
              table                       = ta1.
    set columns
          CALL METHOD ta1->add_column EXPORTING heading = head1
                                                width   = '10%'
                                      IMPORTING column  = col11.
          CALL METHOD ta1->set_column_style EXPORTING col_no    = 1
              sap_color = cl_dd_area=>list_background_int.
          CALL METHOD ta1->add_column EXPORTING heading = head2
                                                width   = '15%'
                                      IMPORTING column  = col12.
          CALL METHOD ta1->add_column EXPORTING heading = head3
                                                width   = '15%'
                                      IMPORTING column  = col13.
          CALL METHOD ta1->add_column EXPORTING heading = head4
                                      width   = '15%'
                                      IMPORTING column  = col14.
          CALL METHOD ta1->add_column EXPORTING heading = head4
                                                width   = '15%'
                                      IMPORTING column  = col15.
    fill columns
          text = ' '.
          CALL METHOD col11->add_text
            EXPORTING
              text = text.
          text = 'Init'.
          CALL METHOD col12->add_text
            EXPORTING
              text = text.
          text = 'Supv No'.
          CALL METHOD col13->add_text
            EXPORTING
              text = text.
          text = 'Date'.
          CALL METHOD col14->add_text
            EXPORTING
              text = text.
          text =  'Discrepancy Report Notation'.
          CALL METHOD col15->add_text
            EXPORTING
              text = text.
          CALL METHOD ta1->new_row
            EXPORTING
              sap_color = cl_dd_area=>list_background.
          text = 'Q/C by'.
          CALL METHOD col11->add_text
            EXPORTING
              text = text.
          text = ' '.
          CALL METHOD col12->add_text
            EXPORTING
              text = text.
          CALL METHOD col13->add_text
            EXPORTING
              text = text.
          CALL METHOD col14->add_text
            EXPORTING
              text = text.
          CALL METHOD col15->add_text
            EXPORTING
              text = text.
          CALL METHOD ta1->new_row.
          text = 'Received by'.
          CALL METHOD col11->add_text
            EXPORTING
              text = text.
          text = ' '.
          CALL METHOD col12->add_text
            EXPORTING
              text = text.
          CALL METHOD col13->add_text
            EXPORTING
              text = text.
          CALL METHOD col14->add_text
            EXPORTING
              text = text.
          CALL METHOD col15->add_text
            EXPORTING
              text = text.
          CALL METHOD ta1->new_row.
          text = 'Sign Off'.
          CALL METHOD col11->add_text
            EXPORTING
              text = text.
          text = ' '.
          CALL METHOD col12->add_text
            EXPORTING
              text = text.
          CALL METHOD col13->add_text
            EXPORTING
              text = text.
          CALL METHOD col14->add_text
            EXPORTING
              text = text.
          CALL METHOD col15->add_text
            EXPORTING
              text = text.
          CALL METHOD do->new_line
            EXPORTING
              repeat = 1.
    ENDFORM.
    MSK

    You can use HTTP Receiver to pass the data to the servlet that runs on the HTTP Server.  The servlet has already screen design logic written in HTML or jsp to display in HTML Table or so.  PI requires to just post data on the servlet of HTTP Server using HTTP Receiver. PI will not create screen look and feel logic while posting data.
    If you want HTML table coding logic refer this link
    http://www.w3schools.com/html/html_tables.asp

  • Custom Component vs. States

    Dear Catalyst team,
    After trying to work around the 15 states limitation by converting them into custom components. I ran into the problem that the pages of those custom components have the tendency to change their apearance relatively to the first page of the custom component. As a result, moving a button element up a bit from the first page to the next will, when running, move the same element up EACH time I click it, moving it out of the screen eventually. Is there a way to anchor the elements in a custom component? Otherwise, by the complex nature of my project, I might run into a dead end. Please let me know if you know of any solution.
    All the best,
    Wulffrunner

    ok, got it:)
    so how about this:
    Can I trigger action sequences outside of the custom component
    using buttons that are in the custom component, and vice-versa?
    Haven't found a way to do this yet...

  • How to use custom HTML page in flex web application with out using iframe

    Hi all,
              I have to import a custom HTML page (that has got links to another html pages) inside my flex web application and i dont want to use IFrame. Can you please suggest me with best example.
    Please help me out as i'm new to flex.
    Thanks,
    Swetha.

    Hi, there:
    Best thing to do is to start with the default login.html page, and then modify it. The login screen is fairly complex and it's easy to just miss a JS function you need to call. To get to default page, you would need to do one deploy (to simulator or whatever), and then look for login.html page in the temporary Xcode or Android project generated from the deployment. It should be under the "deploy" directory in your JDev workspace.
    You can also see all the framework JS files and CSS files that way as well.
    We have had customers implementing custom login screen so we know it can work, but they all had to start with the default login screen and then modify it.
    Thanks,
    Joe Huang

  • How to use getContent() method in custom JSP Provider to display a HTML Pag

    Hi,
    If anybody knows how to use getContent() method to use in custom jsp providers (developed by ourselves) so that it can be used to retrieve a jsp page (a simple html page) ..
    I want the code in the provider java file to for the getContent method...
    Pls. get back to me asap....if any body has implemented a custom jsp provider...as it's urgent...
    I have alreday placed the JSP file in the directory structure /etc/opt/SUNWps/desktop/default/channel_dir..But still the jsp is not being displayed..
    Pls get me the getContent() method code to retrive the JSP file..
    satyabrata

    Hi,
    You don't have to do anything in the custom JSPProvider's getContent method except the call {  return super.getContent(request,response); } . If all you want is just to show your jsp, then create a channel from the default JSPProvider, and edit the property contentPage of that channel from samplecontent.jsp to your jsp name, save the changes and login again. You should see your JSP.
    Sanjeev.

  • Can I add a custom .html page as a separate page within my site?

    I'm creating a website for my local baseball association using iWeb 1.1.2.
    I'm given several .xls files for schedules, rosters, etc. and I can save them as an .htm/hmtl page.
    But within iWeb, it doesn't look like I can import them as a separate page within my site.
    Is this possible? I suppose my only option is to create an external link to the pages correct?
    Will iWeb '11 allow me to do this?
    Thanks!

    Yes, you can in one of two ways:
    1 - put the custom page on your server and embed it into one of your iWeb pages using an HTML snippet and iFrame code as done in this demo page: Embed a Site Within an iWeb Page.
    2 - put the custom page on your server and in iWeb create a totally blank page, name it for the custom page and add the following redirect code in an HTML snippet:
    <script type="text/javascript">
    parent.window.location = "URL TO THE CUSTOM PAGE"; </script>
    Thanks to Cyclosaurus for this code
    When the visitor clicks on the page in your iWeb navbar they will immediately be redirected to the custom page.  You'll need to add a link on the custom page to send them back to your iWeb site.
    If you modify/update the custom page it will be automatically updated in your iWeb site without having to open iWeb.
    UPDATE:  3 - or add an HTML snippet to on of your pages and put the HTML code from the custom page into it.  That will display the custom page on your iWeb page.
    OT

  • Loading Image from HTML page into Flash component

    Ok, after doing much research on the internet, I am pretty
    sure you have to be a Flash and Actionscripting Jedi in order to
    solve this issue. Here we go:
    I have created an HTML page using PHP and MySql that displays
    image thumbnails. When a user chooses and clicks on one of the
    thumbnails, I want the larger image to be loaded into my swf. It is
    a jigsaw puzzle component I picked up here: www.crifano.com. Here
    is the puzzle on my page with an image manually inserted using
    Flash 8 (Note: This is only working in Internet Explorer right now,
    for whatever reason):
    http://premieretans.com/puzzle/jigsaw.php.
    I want the image on this page to be chosen by the user from a
    number of images that are populated on a regular PHP/HTML page from
    a MySql database. What is the best way to go about this?
    Thanks so much for the help on this matter. I know I am not
    the only person who has run into this dilemma, so I hope your
    knowledge will save others with a similar problem the hours I have
    spent on this issue myself. Thank you!
    Cheers-
    Charles

    Hi,
    There's no direct support for this. But you could implement
    drag and drop the way you normally would in javascript. Except
    here, on mouseUp over a div encapsulating the object or embed tag
    (the flash object), you'll need to make a call into actionscript
    from javascript indicating that a drag and drop happened.
    For more info, see
    how
    to drag and drop using javascript and
    actionscript
    and javascript communication

  • Creating a button that leads back into the main Pages/States from a custom component

    Hello Y'all! isnt F.C. awesome!
    BUT... just cant get a button that leads from a custom component ive made back into the main bulk of pages and states ive created to work.
    it runs a bit like this:
    Main title page...
                            Photography...
                                                 Nature (on which theres a Custom Component which when clicked leads to...)
                                                            20 different custom component states each with different pics, linked via buttons
    from each of which id love a button that led back to Photography, exiting the custom component
    ive tried the basics:      Add interaction.. when clicked.. play transition to.. state: Photography
    but to no avail
    any ideas? im at a loss!
    thanks in advance,
    Tom

    Cross component communications are an issue in Flash Catalyst 1.0. Thankfully, in Flash Catalyst 5.5 the team addressed some of those issues.
    The only idea I have for remove the 'return' button from within the component, then it should be able to get you back to the home state.
    Or, you might be able to wait a few weeks for the new version of Flash Catalyst to ship (or you can play with the older preview release on labs.adobe.com)
    Chris

  • How to invoke Custom HTML pages on Dashboard page when running OBIEEon AIX

    Hi,
    i am facing an issue with regards to invoking a custom HTML page( say definitions.html) using html code inside a text section( with html markup) on a dashboard page.
    I have performed the following configuration on Windows and it perfectly works well
    However i can get the same to work on AIX where i actually needed it to work:)
    Could any of you please provide any insights over this issue pls? am i missing something obvious? Appreciate your inputs.
    Here is the description of the configuration performed.
    Created a HTML file called definitions.html
    copied the file in the following folders
    OracleBI\web\app\res
    OracleBI\oc4j_bi\j2ee\home\applications\analytics\analytics\Missing_
    I have created a new folder called _Missing.
    I restarted the app server
    HTML code on the Dashboard Page ( used Text section with HTML Markcup)
    <b>Help
    I have checked the permissions on the custom page and it loosk fine. I have added <HardenXSS> false</HardenXSS>tag to my instanceconfig.xml but not luck yet
    Appreciate your inputs
    Thanks

    The easiest thing for you to do is to download the Oracle BI SampleApp (http://www.oracle.com/technetwork/middleware/bi-foundation/obiee-samples-167534.html) and follow their instructions for install/creating/deploying the analyticsRes application on the Oracle BI Application Server. This will allow you to have a URL such as http://myserver.obiee.com:9704/analyticRes/definitions.html on the same server system as your Oracle BI server. This way the port and domain are the same as your Oracle BI Server and you can simply place any additional web based file in that deployed application path to reference on your Oracle BI Server.

  • Can SQL*Loader be used for Oracle html pages, for e.g Customer, Tasks etc

    Hi,
    Can SQL*Loader be used for Oracle html pages, for e.g Customer, Tasks etc.
    Reason: We have a job that creates leads, tasks in 11i, but r12 is not working as expected, an SR is open with Oracle for a long time and no solution so far. I am thinking of using SQL*loader to populate the data, but these are html pages. Will SQL* Loader work?
    12.1.4 / 11g db
    Appreciate your inputs.
    Thanks,
    K

    Can SQL*Loader be used for Oracle html pages, for e.g Customer, Tasks etc. It should work.
    Reason: We have a job that creates leads, tasks in 11i, but r12 is not working as expected, What is the issue you have with R12?
    an SR is open with Oracle for a long time and no solution so far. I am thinking of using SQL*loader to populate the data, but these are html pages. Will SQL* Loader work?What was Oracle feedback? Did they say it is certified and can be used?
    Thanks,
    Hussein

  • DPS builder custom html page not loaded when you first open the application

    I created app with some customs html pages.
    I tick the "Auto launch" and when the first time I run the application, the page does not load.
    If you go to another page and return to - it is loaded. If you close the application and open it again - all loaded. But when you first open the application page does not load.
    What could be the problem?

    I created app with some customs html pages.
    I tick the "Auto launch" and when the first time I run the application, the page does not load.
    If you go to another page and return to - it is loaded. If you close the application and open it again - all loaded. But when you first open the application page does not load.
    What could be the problem?

  • Redirect HTTP 404, 401 errors to custom html pages ?

    Does anyone know how to set up Weblogic 6.1 to TRAP and REDIRECT http 404, 401 etc error messages to custom predefined friendly html pages on the server ?? Here, WL takes http requests directly and outputs the results directly back to the browsers (not going through a proxy server like IPlanet or other web servers).
    So how do I trap HTTP error messages in WL and redirects them to my own custom error pages ??
    Help!

    Hi Aswin,
    Vintela libraries changed in SP3. Usually a 404 error means:
    - Typo in any of the xml tags (you can check opening it in IE)
    - Typo in the SPN (cannot be found). However, you mention seeing in stdout.log "credentials obtained" so it looks that's fine
    - If you are using keytab, comment those lines in web.xml and use the password in Tomcat > Java
    If nothing mentioned above solve the issue, I will suggest you to enable debug in Tomcat and post here the stdout.log
    Regards,
    Julian

  • Customizing the sample HTML pages delivered by SAP in Life and Work Events

    Hi All,
    I have released all the process of the LWE and assigned the default roles to the all processes.
    Now I am able to see all the SAP delivered screens perfectly. I wanted to change the all the default HTML and Java Web Dynpro iviews to suite the business requirements.
    I know all Web Dynpro applications needs to be changed from NWDS. But I don't know how to change the HTML pages i have lot of questions like
    1) where can I found their source files for the HTML pages ?
    2) When I checked out the callable object of HTML pages it is showing as 'ESSHTMLContentPackage' where can I found this one ?
    3) how to change them ?  
    4) how can I integrate the changes to the actual ESS LWE screens ?
    5) where do I need to change the HTML pages?  is it in back end SAP system or in portal ?
    6) Do I need to do any other additional configurations in portal and sap system ?
    Any kind of help is highly appreciated ...Thanks a lot.
    regards,
    Seshu.

    Is there a simple way to copy a process and remove a couple of steps? For example, I would like to copy the Benefits process but remove the What's new step (the instructional pages). I would just like the webdynpro calls to remain with no instructional pages.  When I do a copy of the process, I can uncheck the What's new steps along with all of the other instructional pages so that they won't be copied. However, when I don't copy those pieces, the whole benefits process gives errors when you try to access it through the portal.  Any suggestions?

Maybe you are looking for

  • IPod isn't playing 30$ worth of videos I purchased from iTunes anymore.. . What can I do?

    Recently purchased about three movies on my iPod. At first they worked fine, then when I was synching my iPod my iTunes  asked to upload them so I just clicked ok. They are now in my iTunes on my computer but they no longer work on my iPod. I am cert

  • Facing very slowly response when opening operator

    Hi all, I have an issue when opening an operator module on the customer site. I opened operator from my laptop that connect to the master / work rep on oracle11g (11.0.2.1) and my laptop consume so much memory and CPU and then hang when click any sce

  • Itunes 11 always syncing all books

    I have a lot of books on my iPad, and it's always worked well - but ever since I upgraded to iTunes 11, it has synced every single book every time I sync! This means that syncing my ipad now takes quite a long time, instead of just a few seconds - it

  • Tomcat 4.0.4 Internal Server Error with JWSDP 1.0.01 examples

    Hi, I am trying to run the JWSDP 1.0.01 tutorial examples with Apache Tomcat 4.0.4. I have j2sdk 1.4.0.01 installed on Windows 2000. I have successfully built and installed the 'date' example jwsdp-1_0_01\docs\tutorial\examples\web\date. When I point

  • Uninstall then reinstall CS4 Licensing issues?

    I need to uninstall everything on my laptop, and reinstall. Will my CS4 creative suite licence still work when I reinstall?