Create and Edit with single button

Hi Experts
I am working in jdev 11.1.1.3.0
I have Employee table and i need to create Depart information for that employee. Here i am using single button for both create and edit.
Can you suggest me the approach.

I tried the approcah what describe in the below link
http://www.oracle.com/technetwork/developer-tools/adf/learnmore/45-decision-based-method-outcome-169187.pdf
But in my case my task flow is
edit
Method call----> Router-------------Depart.jsff
|
|
CreateInser
<?xml version="1.0" encoding="windows-1252" ?>
<adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
<task-flow-definition id="emp-deprtment-config">
<default-activity id="__11">navigateSrvChar</default-activity>
<input-parameter-definition id="__8">
<name id="__9">bidId</name>
<value>#{requestScope.bidId}</value>
<class>oracle.jbo.domain.Number</class>
</input-parameter-definition>
<view id="deprtment">
<page>/jsffs/emp/deprtment.jsff</page>
</view>
<method-call id="navigateSrvChar">
<method>#{DepartmentBean.editOrCreate}</method>
<outcome id="__17">
<fixed-outcome>navigateSrvChar</fixed-outcome>
</outcome>
</method-call>
<method-call id="CreateInsert">
<method>#{bindings.CreateInsert.execute}</method>
<outcome id="__28">
<fixed-outcome>CreateInsert</fixed-outcome>
</outcome>
</method-call>
<router id="router1">
<case>
<expression>#{pageFlowScope.navigation == 'edit'}</expression>
<outcome id="__18">edit</outcome>
</case>
<case>
<expression>#{pageFlowScope.navigation == 'create'}</expression>
<outcome id="__19">create</outcome>
</case>
</router>
<control-flow-rule id="__23">
<from-activity-id id="__24">navigateSrvChar</from-activity-id>
<control-flow-case id="__27">
<from-outcome id="__26">navigateSrvChar</from-outcome>
<to-activity-id id="__25">router1</to-activity-id>
</control-flow-case>
</control-flow-rule>
<control-flow-rule id="__29">
<from-activity-id id="__30">CreateInsert</from-activity-id>
<control-flow-case id="__32">
<from-outcome id="__31">CreateInsert</from-outcome>
<to-activity-id id="__33">deprtment</to-activity-id>
</control-flow-case>
</control-flow-rule>
<control-flow-rule id="__6">
<from-activity-id id="__7">router1</from-activity-id>
<control-flow-case id="__12">
<from-outcome id="__13">edit</from-outcome>
<to-activity-id id="__10">deprtment</to-activity-id>
</control-flow-case>
<control-flow-case id="__15">
<from-outcome id="__16">create</from-outcome>
<to-activity-id id="__14">CreateInsert</to-activity-id>
</control-flow-case>
</control-flow-rule>
<use-page-fragments/>
</task-flow-definition>
</adfc-config>
but i am getting error like " The ADF Controller cannot find metadata for activity '/taskflows/emp/emp-deptment-config.xml#emp-deptment-config@router1'."
any inputs could be highly appreciate
Edited by: user642703 on Oct 20, 2011 5:33 AM

Similar Messages

  • Sound Blaster Omni 5.1 - mute speaker and mic with single button push

    Does anyone know if its possible configure the Omni to mute both speakers and the Omni's internal mic with a single button push using the hardware volume/mute button on the Omni. I have a scenario where i need to mute both quickly when a call comes in and its a nuisance having to mute the speakers and mic separately.

    Hi Tony,
    Unfortunately there is no physical button to achieve that. Neither is there a software button to disable both speakers and mic at the same time.
    Regards,
    Colin-CL

  • Can I hide the Adobe Reader panel with "Export, Create and Edit PDF and Send and Store Files"? I don't use it and it takes up space

    Can I hide the Adobe Reader panel with "Export, Create and Edit PDF and Send and Store Files"? I don't use it and it takes up space

    If you just mean, can I close it, sure. In Reader XI click the Tools button to close or reopen it.

  • I created a form with Single Choice fields, 4 days with times listed. But, I want the user to only be able to choose one time, and the time chosen to be unavailable for other users. How do I do this?

    I created a form with Single Choice fields, 4 days with times listed. But, I want the user to only be able to choose one time, and the time chosen to be unavailable for other users. How do I do this? I have 4 blocks of Single Choice fields in order for the summary page to give me each day in the final report. But, I need the user to be able to make a selection of any day and time and that apointment to no longer be available to future users when they log in. Plus, when the user clicks on the time, they are unable to change their mind and choose another time. Here's the link if you want to see what I'm talking about: 2015-2016 Workload Apportionment Review

    I'm afraid not.    It's not rocket science but you need to do some coding. 
    You'll need to find a script (php) and save it to your local site folder.  Then reference the script in your form's action attribute like so.
         <form action="path/form-to-email-script.php" >
    The input fields in your HTML form need to exactly match the script variables. 
    I'm  assuming you're hosted on a Linux server which uses PHP code.  Linux servers are also case sensitive, so upper case names are not the same as lower case names.  It's usually best to use all lower case names in your form and script to avoid confusion.
    Related Links:
    Formm@ailer PHP from DB Masters
    http://dbmasters.net/index.php?id=4
    Tectite
    http://www.tectite.com/formmailpage.php
    If this is all a bit beyond your skill set, look at:
    Wufoo.com (on-line form service)
    http://wufoo.com/
    Nancy O.

  • How can I exchange my pc created documents on Excel, Word, and PowerPoint with my mac and my Pages, Numbers and Keynote created content with my pc?  I need to create and edit between both.

    How can I exchange my pc created documents on Excel, Word, and PowerPoint with my mac and my Pages, Numbers and Keynote created content with my pc?  I need to create and edit and exchange between both types of operating systems.

    Your Windows system will not open any Pages, Numbers or Keynote documents. No applications exist for Windows that can open those formats. You will need to export your documents in Word, Excel and PowerPoint formats, respectively, before you'll be able to view and edit the documents on your Windows system. The iWork documents can natively open Word, Excel and PP documents, though there are limitations on what can be imported (for instance, Numbers does not support all possible Excel functions). Consult the documentation for the relevant iWork application for details on importing and exporting.
    If you are asking how to get the documents from one system to the other, then there are several ways to do that, including file sharing, using an external drive (hard drive, USB flash drive), or emailing the documents to yourself. Which would be best for your situation I can't say without more details about your usage.
    Regarsd.

  • How create and work with Z output to meet the client requirment?

    hi  gurus,
    I am SD functional consultant and need ur help
    Please explain me how create and work with Z output .
    How we arrange and change the fields in header and footer
    where and how we do changes in Layouts setting and SAP scripts to meet the user requirments.
    pls forward functional or Tech spec of Z output
    points will be rewarded
    thanx & regards
    shabnum

    Hi shabnum ,
    I hope you can do it.
    Goto SE71, enter form name--> click change
    1) click in page window command button, Identify the header and footer window
    2) single click on Header window and click change button(pencil symbol)
    3) identify the fields and change order of the fields
    I hope this will help to solve your issue
    Regards,
    SaiRam

  • How to create and edit a .ini file using java

    Hi All...
    Pls help me in creating and editing an .ini file using java...
    thanks in advance
    Regards,
    sathya

    Let's assume the ini file is a mapping type storage (key=value) so lets use Properties object. (works with java 1.4 & up)
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.util.Properties;
    public class Test {
         private static Properties props;
         public static void main(String[] args) throws IOException {
              File file = new File("test.ini");//This is out ini file
              props = new Properties();//Create the properties object
              read(file);//Read the ini file
              //Once we've populated the Properties object. set/add a property using the setProperty() method.
              props.setProperty("testing", "value");
              write(file);//Write to ini file
         public static void read(File file) throws IOException {
              FileInputStream fis = new FileInputStream(file);//Create a FileInputStream
              props.load(fis);//load the ini to the Properties file
              fis.close();//close
         public static void write(File file) throws IOException {
              FileOutputStream fos = new FileOutputStream(file);//Create a FileOutputStream
              props.store(fos, "");//write the Properties object values to our ini file
              fos.close();//close
    }

  • Can we create multiple application with single MSI(or Same MSI) in biztalk admin console ?

    Can we create multiple application with single MSI(or Same MSI) in biztalk admin console ?
    My client requirement is process 100 files  from biztalk with in 5 min ,actually it is taking 20 min .
    So I decided to created same instance of the application with multiple time in BTS admin console ,as I understand biztalk admin console never allow to install same
    schema’s with multiple  time .
    Any help can be  appreciate ..

    BizTalk will automatically process multiple messages on separate threads so you may need to tune your system. The following link should get you started:
    http://social.technet.microsoft.com/wiki/contents/articles/7801.biztalk-server-performance-tuning-optimization.aspx
    Another possibility is to set the Batch Size property on your receive location if the adapter uses batch size to determine how messages are picked up.  As an example, it you want  the MSMQ adapter to immediately pick up messages and start
    to process them, set the batch size to 1.
    You may also need to distribute the processing across multiple BizTalk servers by installing BizTalk on additional servers and joining the existing BizTalk group.
    David Downing... If this answers your question, please Mark as the Answer. If this post is helpful, please vote as helpful.

  • Version Set is not created when editing with Photoshop CS4?

    Last week I was working in PSE7 and opening files into PS CS4 for editing. I open the files by clicking the Open with link and choose Photoshop. I edited several dozen photos and when I closed them from PS CS4 Version Sets were created in PSE7 like they should be. At some point that stopped happening. Now when I do as before and open the files into PS CS4, edit them, and then close them the Version Set is not being created in PSE7. I look in the folder containing the files and the file has a new modified date but it still has the same file name instead of being saved with the - edited name as before. Does anyone know why the version sets are no longer being created when editing with PS CS4? I can edit the files with the PSE7 editor and the version sets are created as they should be. Thanks!

    Okay so tha there is no misunderstanding here is exactly what I'm doing. From the PSE7 Organizer I select a photo (file name Tetons & Jenny Lake 026.jpg) and click the Fix tab. I then click More Options and select Photoshop. The photo opens in into PS CS4. I make my edits click the x on the tab to close the image and I'm asked "Save changes to the Adobe Photoshop document "Tetons & Jenny Lake 026_edited-1.jpg" before closing?" I click Yes then click OK to save the image at maximum quality. I go back to the PSE 7 Organizer and there is no version set. I check the folder the original image was in and see the original file Tetons & Jenny Lake 026.jpg with a new modified date and time. I can even choose Save As from PS CS4 and it asks me if I want to overwrite Tetons & Jenny Lake 026_edited-1.jpg and I select Yes, but I get the exact same results. Thanks!

  • BAdI for RMWB u2013 Create and Edit recipes

    Hi Gurus,
    I am looking for BAdI or User Exit - RMWB u2013 Create and Edit recipes .
    My scenario is somethng like:
    Need to specify with the logic in order to execute the check on the recipes before they are being transformed, i.e. method has to get triggered when system status in the Recipe is to be changed from In-Process (ISTATUS = u201CI6000u201D) to Processing closed/Completed (ISTATUS = u201CI6001u201D) or Released (ISTATUS = u201CI6003u201D)
    Please suggest any.
    Many Thanks,
    Madan

    Hi Roland,
    Thank you !!
    I can use the method "CHECK_STATUS_CHANGE", it is indeed getting triggered.
    Although I have a query regarding the usage of the same method.
    When I go ahead and create new custom implementation, i need to de-activate the existing standard implementation - IMPL_RCP_VAL_CHECK and activate the newly created custom implementation.
    When I do that the code inside the standard method - CHECK_STATUS_CHANGE will be gone (since i will be using the custom implementation and adding my code inside the method).
    So can you please suggest how to do the Impact analysis on this one.
    Many Thanks,
    Madan

  • Can I install Adobe DC on desktop and laptop with single subscription?

    Can I install Adobe DC on desktop and laptop with single subscription?

    Hi ,
    Single subscription of Acrobat DC permits you for two installations .You can easily install Acrobat DC on desktop and laptop .
    Make sure you don't access them simultaneously .
    Regards
    Sukrit Dhingra

  • How create and work with Z output to meet user req

    hi gurus,
    I am SD functional consultant and need ur help
    Please explain me how create and work with Z output .
    How we arrange and change the fields in header and footer
    where and how we do changes in Layouts setting and SAP scripts to meet the user requirments.
    pls forward functional or Tech spec of Z output
    points will be rewarded
    thanx & regards
    shabnum

    Hi
    From SPRO do the all steps.
    Goto SD-> BASIC functions->Output control->Output determination->Output determination by condition technique->Maintain Output determination for sales documents
    Here define all like access sequences, Output types, condition tables and assign them to Program and Forms.
    From SE71 copy the script to a Zscript and to modify it to suit your requirements and the same Zscript has to be assigned to Output type, Program in NACE transaction.
    Reward points if useful
    Regards
    Anji

  • How to create and edit anomalous tables in DIAdem? Such as the example list.

    How to create and edit anomalous tables in DIAdem?
    Can the tables  be edited as in MS Word?
    帖子被yangafreet在08-21-2007 10:28 PM时编辑过了
    Attachments:
    table example.doc ‏26 KB

    Hi yangafreet,
    There is no way I know of to create a DIAdem table that looks like the table in your Word document.
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • Video creating and editing software

    Does anyone have any good suggestions for video creating and editing software. I'm talkin about taking videos from my digital camera and insering them, adding music over the top, maybe some cool transition effects. I don't think that imovie will do it???

    Hi
    I don't see why iMovie shouldn't, ask the people in the iMovie Forum:
    http://discussions.apple.com/category.jspa?categoryID=141
    Steve

  • I have a Sony HVR-V1P, can i successfully capture and edit with Final Cut Pro X

      I have a Sony HVR-V1P, can i successfully capture and edit with Final Cut Pro X

    My HVR-A1U was able to capture just fine.  The only issue I had is that it has mroe frequently than FCP 7 ever did find Timecode breaks and split my clip apart.  I never had breaks before, so while it is possible I had them on this latest tape, I think X is just more picky.  I mean heck, it found three in a one minute timeframe.  My A1U worked with X without me needing to adjsut any settings form how I had it setup for 7.

Maybe you are looking for

  • RoboHelp 6 crashes-Robo 5 project when using conditional build tags

    Hi there I had no build tags in my project, and it was an R5 project. I just upgrated to R6. I need to use the tags & when I put a build tag or two in the project on the topic level and compile it and it crashes. Based on a prior thread (related to m

  • Captivate 4 in Windows 7

    I have Captivate 4 and just installed Windows 7.  I can not import audio.  I followed the fix posted on Adobe website and set up the program in admin mode on the .exe file.  Still cannot upload audio to Captivate simulations.  Any ideas Thanks

  • Fatal Internal Error LV2010-DS1

    Hallo All, I was installing LabVIEW from the 2010-DS1 Distribution kit (LV2009-SP1), after the whole installation process, I started LabVIEW and I've seen the Error : Fatal Internal Error "objmgr.cpp", line 2133...like in the attached image. I'm work

  • Coding a simple server side routine to implement a matchmaking system.

    Hi guys, I'm trying to make a simple matchmaking system in which users can do the following: - A random user clicks "Play Game", and if another user previously clicked the same "Play Game" button, and he is not currently in a match, they get into a m

  • HP Designjet T520 Printing A3 cuts off at bottom

    HP Designjet T520 Printing A3 cuts off at bottom When we plot something with AutoCad, and then print Portrait, it all prints fine except the bottom edge is slightly cut off. The paper we are using is A3, and the printer and Autocad settings is A3. An