How to intercept location URL of StageWebView

Hello !
In my mobile application I'm using StageWebView UI object, instanciated with :
myWebViewObject: StageWebView = new StageWebView;
It displays content from an URL in the page, and it's sized to the screen of the device by defining attributes classicaly. Moreover I need to intercept the location URL just before his removing (when the user exits from this fonctionnality).
I removed it with : myWebViewObject.dispose() ; myWebViewObject.viewPort = null ; myWebViewObject = null .
I tryed to attach several event on the object's instance : Event.CLOSE, Event.CLOSING, Event.UNLOAD, Event.CLOSING, Event.REMOVED, Event.REMOVED_FROM_STAGE.
Anyone can executes callback function successfully !
Do you know the good eventlistener I could use to do that ?
Thanks.

request.getRequestURI() gives me the current page URL. I want URL of the page from which the current page is being called.
I found the following works fine.
request.getHeader("REFERER");

Similar Messages

  • How to fix 'Unexpected error: Incorrect value: Location URL' in WSDL

    Hi All,
    Using SOAMANAGER  transaction, I created a service ECC_CUSTOMERQUOTEERPCRTRC and its binding 'ECC_CUSTOMERQUOTEERPCRTRC_binding' using the Create Service option under the tab Configurations and using the web service definition 'ECC_CUSTOMERQUOTEERPCRTRC'.  When I click on the link "Open WSDL document for selected binding" under the tab 'Overview', I get the following XML code in the popup window for the WSDL.
    - <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    - <soap:Body>
    - <soap:Fault>
      <faultcode>soap:Server</faultcode>
      <faultstring>Unexpected error: Incorrect value: Location URL for subject IF {http</faultstring>
    - <detail xmlns:slibfault="http://xml.sap.com/2005/11/esi/slib/fault/">
      <slibfault:timestamp>Wed, 17 Nov 2010 22:29:02 GMT</slibfault:timestamp>
    - <slibfault:exception>
      <slibfault:text>Incorrect value: Location URL for subject IF {http://sap.com/xi/APPL/Global2}:CustomerQuoteERPCreateRequestConfirmation_In not found</slibfault:text>
      <slibfault:position program="CL_SIDL_SUBJECT_ADAPTER=======CP" include="CL_SIDL_SUBJECT_ADAPTER=======CM006" line="47" />
      </slibfault:exception>
      </detail>
      </soap:Fault>
      </soap:Body>
      </soap:Envelope>
    The XML code for nthe WSDL displays an error 'Unexpected error: Incorrect value: Location URL for subject IF '. It looks like the code could find the required URL. Please let me know how to fix this error.
    Thanks in advance.
    --R D

    Hello.
    In SOAMANAGER delete your "unexpected" service (endpoint).
    Then create it again.
    If same error will occurs - try to delete all definitions of this service (include sicf-transaction) and then create it completely again.
    Hope it helps.

  • Web Location URLs for Office 2007 documents (pptx, xlsx, docx) not working

    In our current Content Server solution implemented, each content has a Web Location URL and a Native File associated with it. The Web Location URL(for a content in Public security group) is of the following format:
    http://ucmurl/groups/public/intranetcontent/CONTENT_ID.doc
    So far when a user clicks on this link, they are just presented with an 'Open' 'Save' dialog box, which clearly shows that UCM identifies this file format. So for a Word 2003 document called test.doc, the Open-Save dialog box says:
    Name: test.doc
    Type: Microsoft Word document..etc.
    The behaviour is the same for all Office 2003 documents, pdfs and images. However, it seems like UCM does not identify Office 2007 documents. When I check-in a content - test.pptx, and click on the Web Location URL, it prompts me to Open/Save a 'ZIP' file, which is what UCM does for any unidentified file formats.
    Any suggestions on how to fix this?
    The file formats under configuration manager have been updated to include the following formats with PASSTHRU conversion (since we dont need any conversion on these):
    pptx: application/vnd.openxmlformats-officedocument.presentationml.presentation
    docx: application/vnd.openxmlformats-officedocument.wordprocessingml.document
    xlsx: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
    The desired functionality is that when the user clicks on web location url, UCM should identify these file formats, and NOT consider them as ZIP files. Any help would be greatly appreciated.

    Try these - if you're using IIS. If not, them something similar should fix.
    Update IIS to include additional MIME types
    Also, if you want to add all of the Microsoft Office 2007 mime-types to IIS in one step you can do this:
    1. Stop IIS
    2. Edit the metabase XML file (C:\WINDOWS\system32\inetsrv\MetaBase.xml) using a text editor.
    3. Search for the <IIsMimeMap Location="/LM/MimeMap" …> element and append the lines below to the MimeMap attribute
    .docm,application/vnd.ms-word.document.macroEnabled.12
    .docx,application/vnd.openxmlformats-officedocument.wordprocessingml.document
    .dotm,application/vnd.ms-word.template.macroEnabled.12
    .dotx,application/vnd.openxmlformats-officedocument.wordprocessingml.template
    .potm,application/vnd.ms-powerpoint.template.macroEnabled.12
    .potx,application/vnd.openxmlformats-officedocument.presentationml.template
    .ppam,application/vnd.ms-powerpoint.addin.macroEnabled.12
    .ppsm,application/vnd.ms-powerpoint.slideshow.macroEnabled.12
    .ppsx,application/vnd.openxmlformats-officedocument.presentationml.slideshow
    .pptm,application/vnd.ms-powerpoint.presentation.macroEnabled.12
    .pptx,application/vnd.openxmlformats-officedocument.presentationml.presentation
    .xlam,application/vnd.ms-excel.addin.macroEnabled.12
    .xlsb,application/vnd.ms-excel.sheet.binary.macroEnabled.12
    .xlsm,application/vnd.ms-excel.sheet.macroEnabled.12
    .xlsx,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
    .xltm,application/vnd.ms-excel.template.macroEnabled.12
    .xltx,application/vnd.openxmlformats-officedocument.spreadsheetml.template
    4. Save the C:\WINDOWS\system32\inetsrv\MetaBase.xml file
    5. Start IIS
    6. Perform Collection Rebuild on Content Server

  • How to connect HTTP URL

    hai guys,
      I developed one report and data downloaded into application path and file format is CSV. My development was working fine . Now I want to change file downloaded into FTP location ( this is also working). Now i want to connect HTTP URL path.
    How to connect HTTP URL path ( Not Open method  only connect)
    Thanks in advance

    Hello,
    U can make use of these Fm to connect to URL.
    Use this code.
    CNHT
    CALL FUNCTION 'WS_EXECUTE'                        "#EC *
      EXPORTING
        COMMANDLINE        = LV_CMDLINE
        PROGRAM            = LV_PGMNAME
      EXCEPTIONS
        FRONTEND_ERROR     = 1
        NO_BATCH           = 2
        PROG_NOT_FOUND     = 3
        ILLEGAL_OPTION     = 4
        GUI_REFUSE_EXECUTE = 5
        OTHERS             = 6.
    IF SY-SUBRC <> 0.
    Where LV_CMDLINE = WWW.SAP.COM
          LV_PGMNAME = IEXPLORE.EXE
    If useful reward points
    Vasanth
    Message was edited by: Vasanth M

  • I have one apple ID for both my Iphone 4S and Ipad. My Ipad was stolen from me and when I checked the iCloud, it can only locate the Iphone 4S. How can I locate the Ipad device?

    I have one apple ID for both my Iphone 4S and Ipad. My Ipad was stolen from me and when I checked the iCloud, it can only locate the Iphone 4S. How can I locate the Ipad device?

    Welcome to the Apple Community.
    You can only locate your device when it is logged into iCloud and 'Find My Phone' is enabled, additionally the device will need to be switched on and connected to a wifi or cellular network.
    Unfortunately, you cannot activate iCloud or 'Find My Phone' remotely.

  • How do I locate another cell phone with my iphone?

    how do I locate another cell phone with my iphone?

    you can't unless it's an AirPrint enabled printer or you purchase a 3rd party app like printopia.

  • How to track the URL that comes from a referred page using XSQL Custom Handler

    Hi,
    I have a cold fusion page(say cf.cfm) that sent a request to xsql page(say test.xsql) and then xsql page displays results. I want to capure the URL of cf.cfm page and then after checking its host name and path name for correctness then want to display the test.xsql results.
    Please let me know how can I capture URL of the refered page(cf.cfm) in the Custom Handler and then I want to extract host-name and path-name out of that url and on the basis of their values I want to display the result of XSQL page(test.xsql).
    Regards
    a2012

    req.getHeader("Referer") will return the referring url

  • How can I locate my lost iPod Touch if my location was off and user ID was changed?

    I lost 3 Apple devices during house break in. How can I locate my lost Apple devices if my location was turn off,
    without "Find My Phone" apps and user ID was changed. The 3 devices are iPod Touch, iPad 2 and iPhone 3gs.
    I had made a Police Report and was told that I can request to get information to track my devices upon WIFI or
    internet connection. I hope "APPLE" team will help me to track my devices with IP locations, GPS, built in compass,
    or quickly send directions, updated informations and mobile data to find out and coordinates them.
    Given point will also help the police to capture them.
    Awaiting your reply.
    Thank you. Rgd,
    Sean Khor
    <Personal Information Edited by Host>

    There is no Apple here, just users like you and me. Apple does not provide nor have that information, as far as I know, but if police needs that information, they have a legal way of contacting Apple. If I were you I would avoid trusting Internet forum, assessable by anyone with your personal information.

  • How to open a URL without session ID and reuse the current browser session?

    Hi All,
    I have a question about HTMLDB 2.0
    How to open a URL without session ID and reuse the current browser session?
    That was the behaviour in HTMLDB 1.6 ...
    My usecase for this is the following:
    We have written an issue tracking application, which sends e-mail to the interested users, when something happens.
    In these email we've put a link to some page, with some parameters in the URL.
    The idea is for the user to be easy to click on the hyperlink and to see the details of the ticket.
    When the user clicks on such a link he is directed to a login screen (page 101) and he enters his Username and password, and is then forwarded to the details for the ticket.
    Then he receives another email (e.g. for another ticked). He clicks on the link and :
    a) in HTMLDB 1.6 he goes to the details as he didn't close his browser and session is remembered
    b) in HTMLDB 2.0 he is prompted to enter username, password with the username populated
    Please tell me how can I achieve the same behaviour in HTMLDB2.0 as it was in HTMLDB 1.6.
    I understand this change is somehow security related, althogh I don't understand how. If you can explain this either I would be very happy?
    Best regards,
    Mihail Daskalov

    Mihail - I detailed a couple of approaches here: Re: Application Link
    Scott

  • How can I locate my iTunes library files. When I click on my itunes icon the message appears, "The file iTunes Library.itl." cannot be found because it was created by a newer version of iTunes."

    How can I locate my iTunes library files?  When I click on my iTunes icon rather than my iTunes files I receive, " The file iTunes Library.itl." cannot be read because it was created by a newer version of iTunes."  I have already tried to update my iTunes program.

    Had same problem and solved it without having to reinstore any music or movies:
    1. Delete old Library file
    2. Go to the 'Previous iTunes Libraries' folder and copy one of the earlier files - note, they have a date extension, e.g. 'iTunes Library 2011-11-01'.
    3. Paste this file in your iTuners folder and rename file by removing the date extension -  'iTunes Library'
    You should have all your music and paylists in tact, unless it was a really old previous file.

  • How can I locate my Iphone from my computer

    I cannot find my IPhone. Can anyone tell me how I can locate my IPHONE via a computer because I don't have another phone?

    If you set up the Find My iPhone service prior to your iPhone going missing, then there is a chance that can be tracked, though it depends on a number of factors (the iPhone is turned on, connected to either the 3G or a WiFi network, or has not had the Find My iPhone service disabled or the iPhone been completely restored). If you set up Find My iPhone, log into iCloud.com from any computer with a current web browser and an Internet connection. If you did not set up Find My iPhone, check with your cell carrier. Some carriers offer their own tracking service, though you usually have to pay for it. 
    If your carrier does not offer such a service and you did not set up Find My iPhone, then there is no way to track the unit. Contact the police and change any passwords for any online accounts you may have used from your iPhone (the iTunes Store, for instance). 
    Regards.

  • I perform a search, get results, find the message I was after. How do I locate this message within my (relatively) complex folder and subfolder structure?

    Hi,
    I use structured subfolder system to keep my emails organized (hundreds and hundreds of folders).
    When I perform a search, get a list of results and within this list I find the email I was after, HOW do I locate the message? In other words, how can I open the folder which contains that particular email?
    Thank you in advance for your time and effort.

    Not a perfect solution but maybe a workaround.
    http://www.ehow.com/how_8222645_folder-thunderbird.html

  • My iphone 5 was just stolen and i dont have the find my phone app or any other tracking app installed previously. how can i locate my device?? please help

    my iphone 5 was just stolen and i dont have the find my phone app or any other tracking app installed previously. how can i locate my device?? please help

    If you didn't set up Find My iPhone in the iCloud settings, then you can't. Notify the police and change the password to your Apple ID and any other online services you used from that iPhone, just as a precaution.
    Regards.

  • How long can be URL in Go to URL when calling SSRS report?

    Hi
    I am facing issues when calling a report using go to URL. I have 6 cascading multiple value parameter in one of my report and from this I am calling another report by passing all these parameters using java script in go to URL option. Since I am passing
    all these multiple value parameter my report URL is exceeding up to 5000 to 7000 characters long. This is not working at all as max characters in URL are allowed to be 2048.
    Is there any work around to pass all these multiple value parameter using go to URL option?
    I thought of using Go to report instead but our business is not allowing to this.
    Thanks!
    Bhushan

    Hi Bhushan,
    As you may know, Microsoft Internet Explorer has a maximum uniform resource locator (URL) length of 2,083 characters. Internet Explorer also has a maximum path length of 2,048 characters. This limit applies to both POST request and GET request URLs.
    For more details, please see:
    Maximum URL length is 2,083 characters in Internet Explorer
    I am afraid it is a limitation in IE, so I would suggest you ask the questions to IE forum:
    http://social.technet.microsoft.com/Forums/ie/en-US/home?category=internetexplorer threads to seek further assistance. There are many IE experts who may help workaround the limitation.
    Thank you for your understanding.
    Regards,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • How can I locate photos in PSE6 now that Bridge Home is discontinued?

    How can I locate photos in PSE6 now that Bridge Home is discontinued?  When dragging a photo from my Desktop to the PSE6 symbol in my Dock, PSE6 informs: "Could not complete your request because Photoshop does not recognize this type of file". Thus I am compelled to open this file with hundreds of photos on my Desktop, and here it's imposssible to find it because the thumbnails are so tiny.  Therefore much time is wasted in having to open them all one at a time in PSE6.  I did not have this problem with my Photoshop 7.

    Barbara,
    Your persistence in trying to find a solution has turned out beneficial!                                                                                                                                     It was in 2009, shortly after receiving my PSE6, that it informed me of Bridge Home now being discontinued.  So that was what compelled me into the tedious procedure described in my original thread.  Now, after having read your comment, I gave it a different try - I dragged a file with photos to the "BR". symbol in Dock, and to my surprise legible thumbnails opened in Bridge CS3 .
    The message saying that Bridge Home has been discontinued is no longer there, so my thought is that PS must have added to the program in the meantime.
    Thanks for your help.

Maybe you are looking for

  • MS-SQL Server 2008 Update Statistics

    Hi, We have SAP running on MS-SQL 2008. Can we use the command 'sp_updatestats' to update stats on all tables in the schema or  is there any option we can schedule a job from DBACOCKPIT? Thanks, Kris

  • Pageflowscope bean to am impl class

    hi experts, am using jdev 11.11.5.0 i had doubt? can i access amimplclass method through a pageflowscope bean. if ur answer is yes means . pls paste the link or documents regards this. topic.

  • ODI Procedure: Using Variable Logical Schema

    Hi! i wrote a PL\SQL procedure inside an odi procedure, using options, variables etc. now we need to execute the procedure in different logical schemas. We've at least 20 different logical schemas and to semplify the maintenance we'd like to pass the

  • How can I confirm that I installed BO XI R2 SP3 and Fix Pack 3.5 correctly?

    I installed both SP3 (Client Install) and Fix Pack 3.5 (Client Install) on my workstation.  The Installation guide says it should appear in Add/Remove Programs, but I'm not seeing either entry.  A log file was created for each install, is there anyth

  • Sound blaster mp3+ driver is

    Hi, I purchased a re-certified soundblaster mp3+ 0270 from creative.com. I have windows XP and when i installed the drivers it gives error with "Creative SB External USB Composite Device". The dri've r is not able to dri've the device? Is sb mp3+ run