URL and taskflow

Hi,
Per Shay's demo, created a bounded task flow to execute a jspx page from an http URL with parameters.
Have the task flow like this
ExecuteWithParams ----> mypage.jspx
Works fine.
There is a inline popup in the jspx page.
When one of the button is clicked in the inline popup (from within the jspx page),
need to execute the incoming URL so that the whole page is refreshed.
How do I execute this URL from a managed bean please?

Hi,
your use case is not clear.
"When one of the button is clicked in the inline popup (from within the jspx page),
need to execute the incoming URL so that the whole page is refreshed."
I thought the request parameters are used in the execute with params method call activity. So there is no incoming URL I can see anymore. Note that to pertain requesr parameters beyond the original request, you use a phase listener (you can use the afterPhase property of the f:view tag) and listen for RestoreView. Then you copy the request parameters to a longer scope than request - e.g. pageFlowScope. This then keeps the parameters available anywhere you need them
Not sure this is what Shay demoed, but I don't know the demo your are talking about and the use case you have doesn't make it any clearer
Frank

Similar Messages

  • Differentiating HTTP Request through a URL and a value change listener

    Version Details:
    Oracle JDeveloper 11g Release 1 11.1.1.4.0
    Studio Edition Version 11.1.1.4.0
    Build JDEVADF_11.1.1.4.0_GENERIC_101227.1736.5923
    IDE Version: 11.1.1.4.37.59.23
    Product ID: oracle.jdeveloper
    Product Version: 11.1.1.4.37.59.23
    ADF Business Components     11.1.1.59.23
    Java(TM) Platform     1.6.0_21
    Oracle IDE     11.1.1.4.37.59.23
    Versioning Support     11.1.1.4.37.59.23
    Base Details:
    The Product, that a different team is working on (<i><b>which I cannot access, code, touch,...</b></i>), creates reports and essentially generates a URL with a bunch of parameters:
    http://<host>:<port>/myApplication/main.jspx?parameter1=value1&parameter2=value2...When the user clicks on an "Edit" button, a modal popup window is displayed (using jQuery) with an embedded iFrame with its source pointing to the above URL.
    The "myApplication" is an ADF application which brings up an ADF form based on the parameters. Once the user enters the data, validations occur and the data is written into a total of 3 different Tables in the Database. Once the operation is finished, the user closes the popup by clicking on the "X" button of the popup window, which essentially does "popup.*hide()*".
    Limitations:
    <li>Since there are varied combination of parameter values and associated ADF forms, taskflows is not* an option.
    <li>Since the logic of generating the ADF form is not straightforward, ADF BC is not* an option.
    <li>Since validations are based on the value change listeners, the managed bean has to be a session scope_ bean.
    Problem:
    When, for the first time, the user clicks on the Edit button with a particular set of parameter values, the corresponding ADF form is displayed and things work normal. Since the managed bean is under session scope, the form generated for the first popup window stays the same for any subsequent popup windows, even when the URL and its parameters are completely different. As I can not listen to the popup close event, I cannot invalidate my session either.
    I tried using filters in the web.xml to grab the request and apply the business logic. Due to the presence of multiple value change listeners (too many <tt>autosubmit=true</tt>), every value change listener triggers a request and so the business logic gets applied with every value change.
    After some tests, I deduced that the difference between the call from iFrame and the call from value change is the HTTP Request Method - GET for iFrame and POST for value change listener. So in my filter I apply the business logic when there is a GET request and not apply when its a POST request.
    Turns out, that is not a valid enough differentiation between the two requests being made. Sometimes, even the value change listeners are issuing a GET request.
    Question:
    *<font color="red">1</font>*. Is there a way to force the value change listeners to always trigger a POST request?
    *<font color="red">2</font>*. Is there a way to differentiate the requests originating from the other team's Product and those generated by my own value change listeners?
    *<font color="red">3</font>*. Is there a different approach, incorporating the above-mentioned limitations, to clear out the session scope each time when a request is made through iFrame? That is, whenever a request is made through the other team's Product?
    Edited by: user737922 on Apr 13, 2011 10:58 AM

    _(Temporary) Solution_:
    Summary:
    I am using the request parameter <b><tt>_adf.ctrl-state</tt></b> to differentiate between the HTTP requests that my application receives.
    Details:
    When I receive the request from the other team's Product, I receive a <tt>GET</tt> and a <tt>adf.ctrl-state</tt> value which I store into a local variable in my session-scoped managed bean. The <tt>adf.ctrl-state</tt> value stays the same for all requests (<tt>GET</tt> or <tt>POST</tt>) made from within my own application. It changes only when there is a new request from the other team's Product.
    Also, as my application is accessed through an iFrame, there is no possibility of the generated URL being modified by the end-user.
    For now it seems that the solution is appropriate but I am not fully confident if relying on the <tt>_adf.ctrl-state</tt> value is the best approach.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Read file from URL and save to FTP

    Hi,
    I have worked in java few years back, now I am out of touch. My friend asked me to create an applet program for him which he can use to download a file from remote location to his ftp server.
    For e.g.
    File
    http://www.demo.com/filename.avi
    Saved to
    ftp://username:password@ftpsite_address/foldername
    I was searching for the classes which I can use to achieve this functionality.
    To save to FTP
    URL url = new URL("ftp://username:[email protected]/folder/filename");
    URLConnection urlconnection = url.openConnection();
    long l = urlconnection.getContentLength();
    OutputStream outputstream = null;
    outputstream = urlconnection.getOutputStream();Using the above code I can get the outputstream to which I can write.
    I am now stuck here, have some doubts.
    What all classes should I use to read a file like
    http://www.demo.com/filename.avi
    I know I can use URL to open connection to URLS and then streams to read the url.
    I am interested in knowing the class which I should use to read any type of file. File can be zip/avi/rar or anything else.
    What all method of the class should I use to read the file which will support all type of files.
    Which classes should I use to write the files. The files are going to be huge in terms of size.
    I have searched everywhere but every place different classes are used.
    Any help is appreciated.

    Ok now I have started coding but facing a problem.
    [PHP]try {
         URL url = new URL("http://url_to_file/test.txt");
         URLConnection urlconnection = url.openConnection();
         long l = urlconnection.getContentLength();
         fTextArea.append("Content Length = " + l);
         BufferedReader in = new BufferedReader(new InputStreamReader(url.openStream()));
         String line;
         while ((line = in.readLine()) != null)
              fTextArea.append("\n"+line);
         in.close();
    } catch (Exception e) {
    fTextArea.append(e);
    return;
    [PHP]
    When I run this code locally it works fine but when run in browser it shows security exception
    java.security.AccessControlException: access denied (java.net.SocketPermission site:80 connect,resolve)
    What should I do to resolve this error. Sorry for being such a noob but do not have much info about this.

  • How to open an URL and close the URL window, using adobe javascript

    Hi,
      Is it possible to open an URL and close the URL back again(without allowing the user to perform any other operation)? I was able to acheive the opening of the URL, using the app.launchURL("address". true); - But here it lauches in new window, and how do i close the window using the javascript. Is it possible?
    Thanks.

    Hi all
    In addition to what Bobby W - Adobe TS added, you might find
    the following useful as a bypass or workaround to the pesky prompt.
    var pw=window.parent;pw.opener=window.self;window.open("
    http://www.adobe.com");
    pw.close();
    I think this will only work for IE browsers. Actually, I
    think the whole window.close() only works for IE, but could be
    wrong about that.
    Cheers... Rick

  • Is there a way to select MULTIPLE tabs and then copy ALL of the the URLs and titles/or URLs+titles+HTML links? This can be done with the Multiple Tab Handler add on; However, I prefer to use a Firefox feature rather than download an add on. Thanks.

    Currently, I can copy ONE tab's url and nothing else (not its name). Or I can bookmark all tabs that are open. However, I'd like to have the ability to select multiple tabs and then copy ALL of the the URLs AND their titles/or copy ALL of the URLs+titles+HTML links? This can be done with the Multiple Tab Handler add on; when I download the add on, I get a message saying that using the add on will disable Firefox's tab features. I prefer to use Firefox features rather than download and use an add on. Is there a way to do this without an add on?

    Hi LRagsdale517,
    You should definitely be able to upload multiple files by Shift-clicking or Ctrl-clicking the files you want to upload. Just to make sure you don't have an old version of the service cached, please clear the browser cache and then log in to https://cloud.acrobat.com/files. After clicking the File Upload icon in the upper-right corner, you should be able so select multiple files for upload.
    Please let us know how it goes.
    Best,
    Sara

  • How can I read the bootstrap files and extract the fragment-URLs and fragment-numbers in plain text?

    How can I read the bootstrap files of any HDS Live stream and extract the fragment-URLs and fragment-numbers in plain text?
    Could it be that it is some kind of compressed format in the bootstrap? Can I uncompress it wirh  f4fpackager.exe? Could not find any download for f4fpackager.exe. I would prefere less code to do so. Is there something in Java of JavaScript, that can extract the fragment-numbers?
    Thank you!

    Doesn't sound too hard to me. Your class User (the convention says to capitalize class names) will have an ArrayList or Vector in it to represent the queue, and a method to store a Packet object into the List. An array or ArrayList or Vector will hold the 10 user objects. You will find the right user object from packet.user_id and call the method.
    Please try to write some code yourself. You won't learn anything from having someone else write it for you. Look at sample code using ArrayList and Vector, there's plenty out there. Post in the forum again if your code turns out not to behave.

  • I want to create an external video widget with iAd. I followed the steps and copied the Url and paste it in the Video pop-up menu in the Properties section of the inspector. When i select 'preview' the video doesn't play and the Url that i pasted is gone.

    i want to create an external video widget with iAd to use in an iBook. I followed the steps and copied the Url and paste it in the Video pop-up menu in the Properties section of the inspector. When i select 'preview' the video doesn't play and the Url that i pasted is gone.
    hope someone can help!

    May have something to do with whether or not the URL can be reached while building your widget.  I've got a video on the web. When I enter the URL into the field for the video object and click to another field,  the URL is replaced with some text indicating that it is accessing the video then updates itself to displaying just the name of the video file.
    It shows just fine in preview and I can see the full path to the video when I export the widget so it should work for you. 
    Is the video accessible from your Mac while you're laying out your widget?
    -Mark

  • How do I get connected to a server on my network via an IP address?  When I try to open in a URL and login as a registered user with proper login it errors out saying there was a problem with connecting to the server?

    I am new to Mac...How do I get connected to a server on my network via a hyper link IP address path?  When I try to open in a URL and login as a registered user with proper login it errors out saying there was a problem with connecting to the server?

    Some of the following is going to use some technical terms — this area is inherently somewhat technical. 
    If you don't understand some part of the following reply, please ask.
    Is this your own OS X Server system on your own network, or is this some other server within some larger organization? 
    You're posting this in the OS X Server forum, which is a software package that allows OS X systems to provide web-based and many other services; to become servers.
    If it's your OS X Server on your network, then the network and DNS configurations are suspect, or the server is somehow malfunctioning or misconfigured.   This is unfortunately fairly common, as some folks do try to avoid setting up DNS services.
    If it's a larger organization and somebody else is managing the server and the network, then you'll probably need to contact the IT folks for assistance; to learn the network setup and DNS requirements, and if there's a problem with the server itself.
    The basic web URL "hyper link IP address path" — without using DNS — usually looks something the following, where you'll need to replace 10.20.30.40 with the IP address of your server:
    http://10.20.30.40
    UptimeJeff has posted a URL that specifies the AFP file system; an OS X file share.  That's used if you're connecting to an Apple storage service somewhere on your network.  You might alternatively need to specify smb://10.20.30.40 or such, if it's a Windows file server.  (There can be additional requirements for connecting to Windows Server systems, too.)
    If there's local IT staff available here, please contact them for assistance.  If these are your own local systems and your own local OS X Server system, then some information on the server will be needed.  (If you're on a NAT'd network, you'll also need to get DNS services configured and working on your local OS X Server system and your network — you'll not be able to skip this step and reference ISP DNS servers here — or things can and usually will get weird.)

  • "Unable to find report specified by URL,Please verify that both Server URL and Report URL are correct". Performance Point Dashboard Designer (SP 2013), SSRS 2012 Report.

    Hello Everybody,
    I am using Sharepoint server 2013 , SQL Server 2012 SP1, PerfomancePoint and Reporting Services in SharePoint integrated mode.
    I built one report in SSDTusing an Analysis Services Cube. This report has 3 parameters. So the idea is use Dashboard Designer to use this SSRS Report and connect it with some PP Filters.
    The issue is that I am always obtaining "Unable to find report specified by URL,Please verify that both Server URL and Report URL are correct".
    I have the following settings in the PP Report:
    Server Mode: SharePoint Integrated
    SharePoint Site: http://MySharrepointSite:PortNumber/sites/bicenter
    Document library : Documents (selected from drop down, my report is deployed to document library)
    Report : report.rdl
    When I select the report from drop down list its giving the error in a pop up message box as "Unable
    to find report specified by URL,Please verify that both Server URL and Report URL are correct".
    I have tried to use the most simple report, only with one parameter, but is always displaying the error above.
    When I open the report directly from documents library its working fine and even it is working fine (
    when I deployed the report) but the issue is parameters are not showing.
    Any idea? Please help.
    Thanks in Advance.

    "Unable to connect to the server at CALYSTO\ReportService.
    Hello Tom,
    It should be "ReportServer" in the URL, not "ReportService".
    In "Reporting Service Configuration Manager" look up the correct URL. Open Internet Explorer with right-mouse click => "Run as Administrator" and open the URL, this should work. Navigate to "Side setting" (on top right side),
    go to tab "Security" and add your account with role "System Administrator". Afterwards you should be able to open the URL without running IE as admin.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Why are url and email addresses not fully viewable in a PDF when generated from a Word file?

    I have a question?
    A colleague in our Copenhagen office wanted to generate a pdf from a Word file.  She is working on a Windows 2007 operating system and is running Acrobat Pro 9.  When she generated the PDF only part of a url and an email address was visible when the PDF was viewed.  She was wofking from Standard settings.  I am running the same software on the same Windows platform and using the same computer equipment with the same settings yet I was able to generate a PDF where the full url and email address was visible.
    Can anyone out in Adobe Acrobat land provide me with an answer?
    Patrick Lennon

    That's probably because the Mac people are opening or viewing the PDFs within the Mac's "Mail" program or with the "Preview" program and not with Acrobat.
    Since the Windows people aren't using these programs and most likely just Acrobat or Adobe Reader, the layers are kept hidden.
    I'm afraid the only way to truly keep those layers hidden is to delete them before saving your file as a PDF. (Of course, do a "Save As" and keep your original .ai file intact.

  • How to add URLs and/or bookmarks to a new toolbar

    I can create a new toolbar and drag buttons from/to the 'Customize Toolbar' dialog, and that new toolbar will be visible.
    But I want to use that new toolbar for extra favorite URLs and/or bookmarks. That does not seem to be allowed.
    I _can_ drag the 'Bookmark toolbar items' icon from the Bookmarks toolbar, but that does not solve my problem, now does it?

    There is one "Bookmarks Toolbar Items" container available for storing bookmarks, and that is where bookmarks are placed if you want them on a Toolbar. I have never seen an add-on that changes that by adding a 2nd "Bookmarks Toolbar Items" container.
    I understand that you want to reduce the toolbar area at the top of the browser window, because I have been doing that for almost as long as I have been using Firefox ''(since 2002 when it was called Phoenix)''. The first thing I do is to get rid of or '''reduce the Menu Bar down to one button''' using one of the various Compact Menu extensions that have been available over the years. This is the one I currently use.<br />
    https://addons.mozilla.org/en-US/firefox/addon/compact-menu-2/ <br />
    This extension hides the Menu Bar and places a button on the left side of the Navigation Bar upon installation. Click that blue globe button or hit the '''''Alt''''' key and the the Menubar Items appear in a drop-down menu. You can even drag that small button into the [https://support.mozilla.com/en-US/kb/How+to+customize+the+toolbar Customize Palette] and use the '''''Alt''''' key to open the Menubar Items drop-down. <br />Hidden from view, but easily accessible when you need to use a Menubar Item.

  • Question about "Get Web Drawing URL and Page Name From" for Visio Web Access

    I am trying to get both the web drawing URL and the page name from a list through Share Point Designer 2013, but it doesn´t work.
    It looks fine when a do the web part connection wizard. I select from which columns to get the URL and the page name. But on the final web part page nothing happens. It just shows the URL that is selected in the Visio Web Access Web part. I had hoped that
    that value should be overrided by the SPD-settings.
    I have googled for hours..

    Hello,
    I have now saved the Visio-file in .vdw-format, but it says Visio 2010 Web Drawing (*.vdw). Is there a .vdw-format for 2013? Isn´t that the .vsdx-format?
    Still doesn´t work with the .vdw-format, but maybe I am doing something wrong.
    Any ideas?

  • WCF-WebHttp dynamic URL and Dynamic Header/Behavior configuration.

    HI,
    I have an requirement to integrate with the REST Services in BizTalk Server 2013 R2, And This REST Service URL and HTTP Headers will differs per message. So I had created an Orchestration with the Dynamic Request-Response port and assign the properties in
    Message Assignment Shape. However while testing HTTP Headers were not added to service request message.
    I had tried with create Custom endpoint behaviour and assigned this behaviour to service request in Orchestration, however this property also not assigned from the Orchestration.
    Is this a bug for WCF-WebHttp Adapter? Is any other options to achieve my requirement?
    Thanks,
    Raj
    Praveen

    Hi Praveen,
    Its a known bug already
    reported to Microsoft. 
    BizTalk 2013 servers that have been upgraded from BizTalk 2010 are missing
    some of the new global properties including HttpHeaders properties because
    of this even in orchestration we cannot change the HttpHeaders on messages.
    As a workaround WCF behavior extension
    can be used to solve this problem.
    Which can be downloaded from here.
    For the detailed explanation, I would adivce you to follow the below link on how to dynamically change
    the WCF-HttpHeaders for WCF-WebHTTP adapter.
    Dynamic
    WCF-HttpHeaders for WCF WebHttp adapter
    There is already a discussion going on around this on another post. Ashwin has also recommend to use custom pipeline component as a work around .
    Refer: BizTalk WCF-WebHttp Custom Headers per message
    Rachit
    Please mark as answer or vote as helpful if my reply does

  • Get site collection url, site url and list url from a full uri?

    If I have incoming: only URI's of the format http://a.b.c/d/e/f/g/h/i/j/k/l/m/n/o/p.docx
    (And these are coming from multiple farms and multiple site collections) (and i have a web api on some remote server) (and have all the authentication details)
    And I want to query just the single the item via csom : check one column and if value="yes" then download the doc:
    a. how do i get the absolute site url out of it for " clientcontext ctx = new clientcontext(THISURL) "
    b. how do i then get the list uri out of it to push a caml query to to then retrieve it
    I could :
    a. strip off the filename, that is the easy part :)
    b.  I could paste "/_api/contextinfo" behind it and POST it first as a httprequest. Then first get the site and web url and later on
    find a way to find the list url (which is probably the first item behind the fullWebUrl), but it seems weird to mix this in the mix
    Basically im looking for something that tells me what is what in http://a.b.c/d/e/f/g/h/i/j/k/l/m/n/o/p.docx

    Sorry, GetList is only available in the O365 version of Microsoft.SharePoint.Client. If you could test for a root site collection and if there is not one then take the scheme ... + Uri.segments[0] and then get the context. After that you can use
    the GetFileByServerRelativeUrl. The following demonstrates this.
    public static void GetFileList()
    string fileUrl = "http://basesmc15/teamonesubone/teamsubonesubone/Shared%20Documents/folderholder/newauthor6.pdf";
    Uri fileUri = new Uri(fileUrl);
    Uri webUrl;
    ClientContext rootContext = new ClientContext(fileUri.Scheme + Uri.SchemeDelimiter + fileUri.Host);
    webUrl = Web.WebUrlFromPageUrlDirect(rootContext, fileUri);
    ClientContext subContext = new ClientContext(webUrl.ToString());
    File file = subContext.Web.GetFileByServerRelativeUrl(fileUri.AbsolutePath);
    List list = file.ListItemAllFields.ParentList;
    subContext.Load(list);
    subContext.ExecuteQuery();
    Blog | SharePoint Field Notes Dev Tools |
    SPFastDeploy | SPRemoteAPIExplorer

  • How to identify which is rootsite/webapplication url and which are site collection url ?

    How to identify which is rootsite/webapplication url and which are site collection url underneath of web application using powershell script in following code?
    # Get site objects
    $webapplication = Get-SPWebApplication $siteUrl
    # Walk through each site in the site collection
    foreach($site in $webapplication.Sites)
    foreach($subWeb in $site.AllWebs)
    $_ = AddLevel123($subWeb.Url)

    Hi,
    Hope you wanted to know which API is Site collection (SPSite) and Sub site(SPWeb) 
    $webapplication.Sites = Site Collection (SPSite)
    and $site.AllWebs = Subsite (SPWeb)
    and see these links - to get webApplication URL
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/e223b607-ab35-454a-a050-1db3005687e5/spwebapplication-url?forum=sharepointdevelopmentlegacy
    SPSite Url - SPSite.Url (http://msdn.microsoft.com/en-us/library/office/microsoft.sharepoint.spsite.url.aspx)
    SPweb URl - SPWeb.URL (http://msdn.microsoft.com/en-us/library/office/microsoft.sharepoint.spweb.url.aspx)
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/b4dfb645-69f4-4abd-947c-64ca42af3a26/script-to-get-list-of-sites-and-subsites
    Hope this helps!
    MCITP: SharePoint 2010 Administrator
    MCTS - MOSS 2007 Configuring, .NET 2.0
    | SharePoint Architect | Evangelist |
    http://www.sharepointdeveloper.in/
    http://ramakrishnaraja.blogspot.com/

Maybe you are looking for

  • Payment advice problem in F-30. Awaiting for your great reply....

    Hi, Can anyone let me know how should i make payment advice in F-30. I have a problem while making payment advice in TC: FBE1. in FBE1, if i can fill document no. field as invoice no. then while doing F-30 system will clear respective invoice automat

  • Unable to open Mail.  Home directory is full.

    Suddenly I can no longer open my Mail program. The error message I am confronted with is: "Mail cannot update your mailboxes because your home directory is full. You must free up space in your home folder before using Mail. Delete unneded documents o

  • Rename function in Solaris 10

    When ever our application calls rename C library function the stack trace disappears and the corresponding thread doest not get any time slice and the thread hangs. This happens every 10 to 15 min once. After 3 min CPU is assigned to the thread and t

  • .avi video clip audio not working in premiere pro but play is windows media player

    Hi all, Using .avi video files. They play fine in windows media player. In premiere pro, the video plays fine, but there is no audio. When moved to a sequence, it builds an audio track, but it is silent. Any help is appreciated.

  • Special Characters not showing using Report Query

    I run my BI pub reports from APEX page using apex_util.download_print_document (see below). It looks like it is stripping out the '+' from the report when displaying. It shows correctly inthe XML file. I even tried encoding with SELECT max(replace(I1