How do I drag and drop an action onto a task flow?

In How to pass View Object bind variable from ADF page John states that
You should also consider dragging-and-dropping the executeWithParams operation on your task flow and wiring it to occur before your page instead of putting it in the page definition of the page itself - this way it is more clear what is happening, and is the recommended approach for 11g apps. When you drag-and-drop the operation, you can use the dialog to bind the parameter to your page-flow-scoped variable by supplying the proper EL there.
How can I drag and drop the executeWithParams method onto a task flow. I am using 11.1.1.5.0 on LINUX?
I'm presuming I a need a method action in my page flow.
I have the following action defined in my page def file:
<action IterBinding="localizedCustomerHierarchyViewIterator"
id="executeQueryWithParamsForLocalizedCustomerHierarchyView"
InstanceName="BusinessRulesAMDataControl.LocalizedCustomerHierarchyView"
DataControl="BusinessRulesAMDataControl" RequiresUpdateModel="true"
Action="executeWithParams">
<NamedData NDName="RootEntityId"
NDValue="#{pageFlowScope.recommendationRule.customerEntityId"
NDType="java.lang.Long" NDOption="3"/>
<NamedData NDName="Language"
NDValue="#{pageFlowScope.recommendationRule.language}"
NDType="java.lang.String" NDOption="3"/>
</action>

In summary, it appears you need the following artifacts in order to initialize a view object from parameters before rendering a .jsff view that relies on that view
1) a method-call in task flow.xml file:
<method-call id="executeWithParamsLocalizedCustomerHierarchyView">
<method id="__5">#{bindings.executeWithParamsLocalizedCustomerHierarchyView.execute}</method>
<outcome id="__12">
<fixed-outcome id="__9">initializedLocalizedCustomerHierarchy</fixed-outcome>
</outcome>
</method-call>
2) a control flow rule in the task flow .xml file whose source is (1) and whose destination is the view for which you want to intiialize a view object that supports an iterator that is bound to a list, tree, etc.
3) an entry for the execute action in the databindings.cpx file
<page path="/WEB-INF/[email protected]calizedCustomerHierarchyView"
usageId="oracle_apps_br_view_RecommendationRulePFPageDef"/>
4) the page def must be defined in the databindings.cpx file
5) the page def needs to define action and iterator and list (or otherwise) that is used in UI.
<iterator id="localizedCustomerHierarchyViewIterator"
Binds="LocalizedCustomerHierarchyView"
DataControl="BusinessRulesAMDataControl" RangeSize="25" Refresh="never">
<sortCriteria>
<sort attribute="Level" ascending="true"/>
</sortCriteria>
</iterator>
<action IterBinding="localizedCustomerHierarchyViewIterator"
id="executeWithParamsLocalizedCustomerHierarchyView"
InstanceName="BusinessRulesAMDataControl.LocalizedCustomerHierarchyView"
DataControl="BusinessRulesAMDataControl" RequiresUpdateModel="true"
Action="executeWithParams">
<NamedData NDName="RootEntityId"
NDValue="#{pageFlowScope.recommendationRule.customerEntityId}"
NDType="java.lang.Long"/>
<NamedData NDName="Language"
NDValue="#{pageFlowScope.recommendationRule.language}"
NDType="java.lang.String"/>
</action>
<list ListOperMode="navigation"
IterBinding="localizedCustomerHierarchyViewIterator"
id="customerLocalizedEntityHierarchyList">
<AttrNames>
<Item Value="EntityName"/>
</AttrNames>
</list>
6) a backing bean that provides the functions to initialize the parameters for execution
The easiest way to get most of this is to drag the ExecuteWithParams from within the view in the datacontrols panel right onto the task flow diagram. The downside is that you are left with some pretty poorly named artifacts...
Did I miss anything?
-Klaus
Edited by: klaus gross on Sep 29, 2011 1:00 PM

Similar Messages

  • Got the new Itunes update..how do I drag and drop a song onto my phone now?

    Reluctantly, I updated my Itunes to the latest version. Glad they could make it a thousand times more confusing. If that was their goal...mission accomplished. I simply want to drag and drop a song that I purchased on my home computer to my ipod or iphone. In the good old days before the latest "improvement", you could simply drag the song to your device. Now, I can view my device. I can view the song. I cannot add the song to my ipod or iphone. Itunes helps actually offers no help for this basic operation. I've asked a few other pc people that have iphones/ipods and they say they just buy the song on their device because they cannot figure it out either. Was this really progress? Bravo on the update, apple guys. You made it so cool, now nobody but you fools can use it...

    I got my own answer !!   I saw it on another post.  Select "View" and then toggle down to "View Sidebar".
    Now I can drag and drop like before. 

  • How do I drag-and-drop my Web Bookmarks Folder to a external flash drive? I need to move them from one Mac to another Mac.

    '''Moving Firefox URL Bookmarks from one Mac to another'''
    How do I drag-and-drop my web 'Bookmarks Toolbar' folder from one Mac to an external USB zip drive. Unable to network both Macs and use the migration feature. Must do this manually. Thanks!

    Hi RMcMullen,
    You should look at the [[Backing up your information]] Knowledge Base article. It will give you all the information you need to back up everything so you won't lose a thing.
    Hopefully this helps!

  • SharePoint 2013 How to disable Drag and Drop Functionality

    Hi,
    In SharePoint 2013 in document library we have default behavior of drag and drop documents in document library. How to disable drag and drop documents in document library?

    Hi,
         As a work around, you can edit the Drag and Drop js as to remove the drag and drop functionality, edit the document library page (default
    page) place the content editor web part on top of the library include the modified Drag and Drop js file in the content editor web part, Please save the Drag and Drop js file to other location (probably Site Assets library etc).
    Hope it helps!!!  
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. Thanks, Ajeet

  • How do you drag and drop using mac laptop?

    how do you drag and drop using mac laptop?

      As said above, you can click down, ons use the other finger to drag the object.  I had turned on the setting to use three-finger drag, so you can drag objects with three fingers.  To change gesture settings, go to the system preferences>trackpad.  Here you can also see all of the gestures of Mac OS X.

  • How can I drag and drop a Tidal job into another group?

    How can I drag and drop a Tidal job into another group? In Tidal Help, it says-
    In the Jobs pane, press and hold the Ctrl key and at the same time right-click and either individually select individual jobs within a job group or drag your mouse cursor over a block of jobs that you wish to select. You can only move multiple jobs between job groups if the jobs being moved are on the same level.
    Keeping the right mouse button depressed, drag the cursor to the job group that you wish to move the jobs to and release the mouse button.
    When moving jobs from one job group to another, you must decide if the moved jobs keep their original job group attributes or assume the calendar and agent characteristics of its new job group.
    A confirmation dialog, offers three inheritance options for the jobs moved to the "new" job group parent. Select one of the following options:
    However, when I attempt to follow those instructions, it doesn't work at all and there is no indication that it's even trying (i.e., I don't see the selected job following my cursor at all and all I get is the normal menu when you right click anywhere on the screen.)
    Is there another way to do this or is there a master setting that needs to be changed so that ability is enabled?
    Thanks.

    Go into edit mode for the job group group and just manually edit the section for Parent job/Group.
    Cheers

  • How can I drag and drop an icon/image into a panel??

    Dear Friends:
    How can I drag and drop an icon/image from one panel into another target panel at any position in target panel at my will??
    any good example code available??
    I search for quite a while, cannot find a very good one.
    please help
    Thanks
    Sunny

    [url http://java.sun.com/developer/JDCTechTips/2003/tt0318.html#1]DRAGGING TEXT AND IMAGES WITH SWING

  • How do you drag and drop samples in the ex24 on pro x now that the edit button next to the option tab is no longer there?

    how do you drag and drop samples in the ex24 on pro x now that the edit button next to the option tab is no longer there?

    Well, it's aggravating seeing foolish limitations to the program. Having some experience in education, offering a professional program in a limited version is condescending to the user and has never been proven to help students move forward. Plus, some of the choices made to keep Logic simple are confounding... "removing the edit button on the EXS24"?  That's silly!  

  • Hi, im currently using an windows 8 computer and have installed itunes 11.5. My problem is i'm trying to transfer one song from my computer to my iphone. But some how i cannot drag and drop like last time itunes 10.x.

    Hi, im currently using an windows 8 computer and have installed itunes 11.5. My problem is i'm trying to transfer one song from my computer to my iphone. But some how i cannot drag and drop like last time itunes 10.x. I do not wish to sync as it means of deleting my entire song list from my phone just to transfer 1.

    " I ordered the Snow Leopard software and tried installing it, but it stopped and said to clean the disk."
    First off, your installation disc is in all likelihood faulty.
    This has been a known issue in the past:
    Faulty Snow Leopard install discs - Apple has no timeline on ...
    http://store.apple.com/us/help/returns_refund#policy:
    *You can return software, provided that it has not been installed on any computer. Software that contains a printed software license may not be returned if the seal or sticker on the software media packaging is broken.

  • HT203106 Is there a way to just connect my phone to my laptop and drag and drop the photos onto my laptop?

    i just recently updated my laptop to yosemite and i'm looking for a way to quickly upload all my photos onto my laptop so i can clean out space on my phone.  i'm seeing that i can use air drop, but is there a better way?  i just want to drag and drop them all onto my laptop like i was able to do before... please help!

    Image Capture would be the way to do if you are not using iPhoto or Aperture.

  • How to handle (drag and drop) and Action Event in a JList?

    I am having many JList,
    On click of an element in JList I am loading a image in JSP.
    But If I try to drag and drop one image from one bucket to another bucket Iam not getting any problem,
    But I when I drag all the images from the target List to some other List and make the target List empty.
    Now If I try to move the image from source list to the target list Iam getting this error,
    Exception in thread "AWT-EventQueue-6" java.lang.NullPointerException
         at pdfViewer.NewFileSegregater$24.valueChanged(NewFileSegregater.java:1944)
         at javax.swing.JList.fireSelectionValueChanged(Unknown Source)
         at javax.swing.JList$ListSelectionHandler.valueChanged(Unknown Source)
         at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
         at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
         at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
         at javax.swing.DefaultListSelectionModel.insertIndexInterval(Unknown Source)
         at javax.swing.plaf.basic.BasicListUI$Handler.intervalAdded(Unknown Source)
         at javax.swing.AbstractListModel.fireIntervalAdded(Unknown Source)
         at javax.swing.DefaultListModel.addElement(Unknown Source)
         at pdfViewer.NewFileSegregater.actionPerformed(NewFileSegregater.java:2918)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.plaf.basic.BasicButtonListener$Actions.actionPerformed(Unknown Source)
         at javax.swing.SwingUtilities.notifyAction(Unknown Source)
         at javax.swing.JComponent.processKeyBinding(Unknown Source)
         at javax.swing.KeyboardManager.fireBinding(Unknown Source)
         at javax.swing.KeyboardManager.fireKeyboardAction(Unknown Source)
         at javax.swing.JComponent.processKeyBindingsForAllComponents(Unknown Source)
         at javax.swing.JComponent.processKeyBindings(Unknown Source)
         at javax.swing.JComponent.processKeyEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
         at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
         at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
         at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
         at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    Please help me how to solve this problem..

    Er, sure. In the class pdfViewer.NewFileSegregater on line
    1944 (!), in the valueChanged() method, something is pointing to
    null.
    That method is being called from
    pdfViewer.NewFileSegregater.actionPerformed() on line
    2918 (!!).
    Of course, none of us know what's going on in those code
    segements but you. And for the record, that's not how to spell
    Segregator.

  • How do I drag and drop multiple files on a control?

    LabVIEW supports dragging and dropping a single file on a path control, and have the path control populated appropriately. I want a user to be able to highlight multiple files (say, from the OS Find File window, or anywhere really) and drop them into a path array control in LabVIEW. I was hoping putting a path control in an array would do the trick, but it didn't. The mouse cursor changes to the "+" icon as it did for a single file, but when I release the button the system just beeps. Is this even doable?
    Thanks, Bob Martin

    I guess I was hoping that the path control would realize it was in an array, and starting with the actual control where the drop occurred (if more than one item of the array is visible) start populating subsequent slots with the other file paths.
    I'm not sure how much work would be involved, but maybe I could make a control in VB that would accept the drop event and output the path array I'm looking for. I've never made a control in VB for LabVIEW before, so I'm leary of how much time that would take. I'll add this to my list of "things to do that never seem to get enough priority to do."

  • How do I drag and drop files between computers when using Home Sharing in ITunes?

    How can I drag music files between computers while using Home Sharing? An older version of ITunes had a Home Sharing icon in the column browser near the playlist so it was easy to drag and drop.

    Hello cacalenni,
    Thanks for using the Apple Support Communities. I understand that you wish to learn how to import songs using Home Sharing in the new iTunes. The following resource should assist you in doing so:
    iTunes 12 for Mac: Use Home Sharing to import items from another iTunes library
    http://support.apple.com/kb/PH19614
    Cheers,
    Matt M.

  • How do i Drag and Drop print in black and white?

    I really like the drag and drop printing feature where i just drag several files to the printer icon in the doc and they print with out opening the file. My only problem is that i can't get them to print in black and white, or choose any other features for that matter. it is printing in color, which is the printer's default. Does any one know how to print in black and white with the drag and drop feature. i have set the printer to black and white for a single document, then tried to drag and drop, but it still does it in color only. i am using pdf's by the way, but it happens with jpegs as well.

    You should create another printer queue for the printer and choose an appropriate name for the queue. You can then put the printer in the Dock. Now use the web interface to the printing system <http://127.0.0.1:631/printers>. Locate your new printer and click on the "Configure" button. You will need to authenticate yourself using the short user name and password of an administrator's account. You will then be able to set the defaults for that printer. Click "Continue" when you are done.
    You can now drag and drop those files you want printed to the appropriate printer icon in the Dock.
    Note: This does not work for every printer. There are some manufacturer's drivers that do not put these options in the printer's PPD. They generate them on the fly when you call the print window.
    Matt
    Mac Mini G4; B&W G3/300    

  • I am organizing my external HD and want to move files NOT COPY them. How do I drag and drop folder contents without Mac automatically copying them to the "drop" location?

    I am sorting out all the clutter and duplicate files on my external HD. In doing this I am moving the entire contents of folders to new locations. Some of these folders cointain gigs of info. I do not want to have to spend large amounts of time waiting for hundreds of gigs to copy somewhere then  moving the originals to the trash and wait even longer deleting all of them. All I want to do is move the files up a subfolder, but the way Finder goes aobut doing it can be a 400 GB swing taking hours. How do I just "move" them?

    Check out this discussion. Worked for me.
    http://tinyurl.com/7dmh9p5
    Quote:
    When I do a drag and drop in Finder to move a folder into another folder it makes a copy of the folder in the new location instead of moving it like the help documentation says and like it used to do in Snow Leopard.  I have looked all over in preferences for a setting the contols the move/copy outcome of drag and drop and have been unable to find anything.  Is this the way Lion is supposed to work?
    MacBook Pro, Mac OS X (10.7.1)
    This solved my question by jsd2  on Oct 9, 2011 6:33 AM
    I did a global change of permissions for the entire documents account in the currrent user account using the get info and apply to enclosed items.
    I think what is happening is that the Documents folder normally carries an "everyone deny delete" ACL, meant to protect it from accidental deletion:
    $ ls -lde ~/Documents
    drwx------+ 6 t1  staff  204 Oct  9 08:51 /Users/t1/Documents
    0: group:everyone deny delete
    ACLs are special types of permissions that do not show up in GetInfo, but can get propagated if you click "Apply to Enclosed Items" on a folder that carries them. Affected files that acquire  that ACL would require password authentication to move or delete them.
    I think the following Terminal command (copy and paste it) should remove such ACLs from items within the Documents  folder:
    chmod -RN ~/Documents/*
    Message was edited by: miz_mdk

Maybe you are looking for

  • 8600 pro printer and windows 8.1 can't scan and more

     8600 pro wireless connection to HP all in one desktop computer. HP software installed on computer with 8. Only used printer function until today. Tried to scan from printer to computer. Desktop did not show up on printer display. Discovered on compu

  • How to make use of a global internal table in SAP BW during transfer rules

    HI friends, I am ABAP consultant working on some APO info cubes. I have an issue during the upload of planning area data into APO info cube. Please help. I am using a transfer routine to find the TECHWEEK from a data base table ZGC_CALWEEK based on t

  • Unable to upload to WWV_FLOW_FILES

    Running APEX 4.2.3 on an Oracle 11g database with Weblogic Server and APEX Listener. I created a simple application that has a File Browse item and Submit button.  The File Browse item has the Storage Type set to Table WWV_FLOW_FILES.  However, upon

  • MCTC report not visible for particular period.

    Hi. I am uanble to see data in MCTC t code. Figures are visible Nov Month Figures Not are visible Dec Month MCTC report itself doesnt fetch data for Jan Month. Any  configuration need to be maintained? Customer & material both marked for statistical

  • IDoc scenario - synchronous service

    Hey, I have the following scenario: SAP system ---(IDOC)-----> PI -------(synchronous service)---> ext. System but the response of the synchronous service should be: ext. System ------(synchronous service response)----> PI -----------(server proxy)--