Impossible to activate and deactivate the button "submit" all keeping the condition on the output parameter

Hello

I try to enable and disable the submit button based on the status of output parameter that I call in lov.

Concerning

Asia.


Hi AJ,.

Thanks for the reply

I tried the method above, but it does not work.

I am trying to enable and disable the submit button based on two input parameters and an output parameter.

Based on two input parameters, I'm able to get the output parameter, and if the output parameter is "S" then iam allowing the submit button.

on the other

disable the submit button.

Here is my code:

IAM calling this co

OASubmitButtonBean submitbean = (OASubmitButtonBean) webBean.findChildRecursive ("Submit");

String crreason = pageContext.getParameter ("Reason")';

Invnum string = pageContext.getParameter ("InvoiceNumber");

String status = "";

String ValidationDesc ="";

OADBTransactionImpl oadbtransactionimpl = (OADBTransactionImpl) getTransaction ();

Try

{

String sql_qry = "BEGIN WEPIS_CM_DM_PKG. WEPIS_CM_RAISE_VALIDATION (P_CM_REASON =>: 1, P_INVOICE =>: 2, P_VALDIDATION_S "+)

"(TS =>: 3, P_VALDIDATION_DESC =>: 4); END; « ;

OracleCallableStatement sqlstmt = (OracleCallableStatement) oadbtransactionimpl.createCallableStatement (sql_qry,-1);

sqlstmt.setString(1,crreason);

sqlstmt.setString(2,invnum);

sqlstmt.registerOutParameter(3,Types.CHAR);

sqlstmt.registerOutParameter(4,Types.VARCHAR);

sqlstmt. Execute();

status = sqlstmt.getString (3);

ValidationDesc = sqlstmt.getString (4);

If ("S".equals (status))

{

submitbean.setRendered (true);

}

on the other

{

submitbean.setRendered (false);

}

}

catch (SQLException sqlexception)

{

throw OAException.wrapperException (sqlexception);

}

catch (System.Exception Exception)

{

throw OAException.wrapperException (exception);

}

Concerning

S.Asia

Tags: Oracle Applications

Similar Questions

  • Activate and deactivate the visibility of the layer?

    Is there a way to activate or deactivate the visibility of the layer in the code somehow?

    Thank you

    Yes, via a plug-in to automate or script.

  • Activate and deactivate the workflow

    How to trigger disable it and activate the workflow as it were has no adapters to deactivate and activate in the adapter factory.

    Do we need to write our custom adapter to trigger the workflow to disable... as there was no such adapter in the adapter factory, I'm not able to create processdefinition.

    Published by: user11150369 on Sep 4, 2009 09:37

    Are you sure that Oracle provides no activation and deactivation for Lotus Notes Application, as this is the STANDARD connector.

    Did you write your custom connector for Lotus Notes.

    Same thing to activate but effect wil be change to enable not disable.

  • Impossible to download and update the app on the iPhone 6 Plus

    Topic: impossible to download and update the app on my iPhone 6 Plus

    Turn off your device and turn it on again. If this does not help, sign out of your account and reconnect.

    In addition, you can try to reset your settings.

    • Press and hold the sleep/wake button
    • Press and hold the Home button
    • Press and hold both buttons until the display turns off and on again with the Apple logo on the subject.

    Alternatively, you can go to settings - general - reset - Reset all settings

  • How many times can I activate and deactivate my subscription for After Effects

    This is my first job in After Effect and I do not have enough work to have to activate the license After Effects each month. The best sollution for me is to set two moths, do all the work and deactivate the license for another 3 moths. The question is ¿May do this as many times as I need, without limits?

    Alright! Well CC plan to monthly/annual payment. If you want to stop the payment, you will have to give up this project.

    For activation and deactivation, you must simply disconnect and reconnect of the app. But that does not cancel your plan.

    For cancellation, please see manage your membership FAQ: How can I cancel my membership creative cloud, Acrobat or PDF Document, Cloud?

    For activation requests, please visit Activation / deactivation / connect / disconnect FAQ: How can I activate my creative cloud Apps?

    Hope that helps!

  • I need activate and install the Prime Minister on a new desktop computer and take it off my laptop that someone else uses at present. How can I do this?

    I need activate and install the Prime Minister on a new desktop computer and take it off my laptop that someone else uses at present. How can I do this?

    You can simply disable the activation of the laptop by signing out or Deactivate option: it is not necessary to uninstall.

    Learn how to enable or disable Adobe applications.

  • How to activate and use the built-in webcam

    built in webcam

    How to activate and use the built in webcam on my desktop Dell Inspiron 1?

    MikeViklund,

    Try to read...

    Use and troubleshooting of the Webcam Dell and Dell Webcam Central Software

    Rick

  • Vista asks to activate and insert the restore disc. SE message at the bottom of the screen: "this copy of Windows is not genuine".

    Original title: corrupt Windows Vista

    I have vista business and I think he got corrupted when I went overseas. Now it asks me always to activate and insert the restore disc but I've mislaid and cannot locate my restore disk. Also on the bottom, it indicates that this copy of windows is not genuine? Please help anyone on how I can restore this back to the original.

    Thanks in advance for any help.

    Hello

    There are several methods to reinstall Vista.

    See which way suits you.

    There is no Windows Vista downloads available from Microsoft.

    You can contact your computer manufacturer and ask them to send you a set of recovery disks.

    They should do this for a small fee.

    To reinstall Vista using their recovery disk/s, you start from the 1st recovery disk they provide and follow the manufacturer's instructions to reinstall:

    You need to change the Boot order to make the DVD/CD drive 1st in the boot order:

    How to change the Boot order in BIOS:

    http://pcsupport.about.com/od/fixtheproblem/SS/bootorderchange.htm

    "How to replace Microsoft software or hardware, order service packs and replace product manuals.

    http://support.Microsoft.com/kb/326246

    And if you have never received a recovery disk when you bought your computer, there should be a recovery Partition on the hard drive to reinstall Vista on how you purchased your computer.

    The recovery process can be started by pressing a particular combination of the key or keys at startup. (Power on / start)

    Maybe it's F10, F11, Alt + F10, etc., depending on the manufacturer.

    Ask them to the proper key sequence.

    And if you do not score a manufacturer of recovery on your hard drive, you should be able to make your own recovery from her disks to reinstall the operating system.

    Go to programs > name of the manufacturer of your computer > then their system or recovery tools software topics for them, depending on how it is formulated.

    If you can't find any reference to it, contact the manufacturer for advice on how to make these recovery disks.

    Some manufacturers have more available Vista recovery disks.

    If this happens, you may need to try this instead:

    You can also borrow and use a Microsoft Vista DVD, which contains the files for the different editions of Vista (Home Basic, Home Premium, Business and Ultimate) must be installed. The product key on your computer / Laptop box determines what Edition is installed.

    Other manufacturers recovery DVDs are should not be used for this purpose.

    And you need to know the version of 'bit' for Vista, as 32-bit and 64-bit editions come on different DVDs

    Here's how to do a clean install of Vista using a DVD of Vista from Microsoft:

    "How to do a clean install and configure with a full Version of Vista '

    http://www.Vistax64.com/tutorials/117366-clean-install-full-version-Vista.html

    And once the operating system is installed, go to your computer manufacturer's website and get the latest drivers for your particular model or laptop computer.

    And phone Activation may be necessary when you use the above installation method.

    "How to activate Vista normally and by Activation of the phone '

    http://www.Vistax64.com/tutorials/84488-activate-Vista-phone.html

    See you soon.

  • automatic scheduling of the report and send the output to the user by e-mail

    Hello
    Please I need scheduled report and send the output by email in discoverer. Please can someone help how to achieve this?

    Hello

    Yes, do you that.

    Please see Metalink Note 373812.1 how the schedule of reports to run at a given time while automatically the output electronics

    Thank you
    Fati

  • Get the output parameter of workflow using soap in PHP

    Hi all, I have a question on how to print the output in php parameter using the soap Protocol. I create the workflow with 1 single task scriptable with variable name of virtual machines as output like that.

    var sdkConnections = VcPlugin.allSdkConnections;
    vms = new Array();
    for (var i in sdkConnections) {
      var host = sdkConnections[i];
      var found;
      if (host.isInventoryServiceAvailable()) {
      found = host.getAllVirtualMachines();
      }
      for (var j in found) {
      vms.push(found[j]);
      System.log(vms);
      }
    }
    

    And my php, source code

    <?php
    
    include ("parameters.inc");
    $vco = new SoapClient('https://' . $vco_server . ':8281/vmware-vmo-webcontrol/webservice?WSDL');
    $workflowid = "f73f2521-0e6b-48e8-81b9-388b13fc3fea";
    $param = array(workflowId=>$workflowid,username=>$vco_user,password=>$vco_pass);
    echo '<br>';
    
    $result3 = $vco->executeWorkflow($param);
    print_r($result3);
    echo '<br>';
    
    foreach ($result3 as $token)
    {
            $tokenID = $token->id;
    }
    
    $param2 = array(workflowTokenId=>$tokenID,username=>$vco_user,password=>$vco_pass);
    $wftokenstatus = $vco->getWorkflowTokenStatus($param2);
    print_r($wftokenstatus);
    echo '<br>';
    
    $wftokenresult = $vco->getWorkflowTokenResult($param2);
    print_r($wftokenresult);
    echo '<br>';
    ?>
    

    When I try the same, executed release in web

    stdClass Object ( [executeWorkflowReturn] => stdClass Object ( [id] => ff808081440b6eb90144316de4bc04fe [title] => Copy of Get virtual machines by name [workflowId] => f73f2521-0e6b-48e8-81b9-388b13fc3fea [currentItemName] => __item-undefined__ [currentItemState] => running [globalState] => running [businessState] => [startDate] => 20140215002449+0700 [endDate] => [xmlContent] =>         ) )
    stdClass Object ( [getWorkflowTokenStatusReturn] => )
    stdClass Object ( [getWorkflowTokenResultReturn] => stdClass Object ( [name] => vms [type] => VC:VirtualMachine [value] => ) )
    

    I see in customer orchestrator, my workflow work well and in the logs tab I see all my VM appear, but I'm trying to print all components of table in my php script using print_r(), the value of the object always null, only can get name and type as above... No idea how to get the value of the output parameter?... Thanks before

    Change this code to your:

    for (var j in found) {
      vms.push(found[j]);
      System.log(vms);
      }
    

    To do this:

    for (var j in found) {
      vms.push(found[j].name);
      System.log(vms);
      }
    

    In this code, j is a VC:VirtualMachine object, instead of pushing the entire object in your table, just push the virtual machine to .name property. Additionally, make sure that your output variable is of type: Array of Strings

  • the output parameter mapping

    How can pass us values as output parameters that never I assign it says that it is limited and cannot be done.

    What values we can pass as output parameters. for a mapping of the output parameters.

    Thanks in advance.

    Hello

    You can use the function that you created in the process flow and set its result in a variable (or bind the output parameter of mapping a process flow variable), the variable can then be tested in conditions of transition, conditions, etc. in loop.

    See you soon
    David

  • Impossible to download and reinstall the operating system after erasing HD

    Yesterday morning, my iMac won't start.  It was fine the night before.

    The progress bar reaches about two thirds to three quarters of the way to the end when the bar of progress disappears and I find myself with a gray screen. It does this by starting too.

    I followed the advice of Linc Davis at https://discussions.apple.com/message/21333265 (hash) 21333265 (Note - I can't find the symbol of hash on my keyboard key so if you if know where he is, please replace by in the link - oh (hash) and tell me where it's too please ;-)).

    I started the Revovery volume (now here actually).  Run Disk Utility/First aid finds no problem with MacIntosh HD (my boot drive). I can't find how to repair permissions.  The option no longer seems to be there. Reset NVRAM has nothing else that makes the iMac wonder my preferred language.

    I used download and reinstall OS option.  The first time I tried to re-download El Capitan, it took 15 minutes and 45 minutes to install.  Installation failed leaving me to the grey screen again.  I think that the Setup program itself was trying to restart the iMac when he got stuck in the same place I'm stuck.  I left it there for about six hours before I tried to restart manually.

    Tried to download the operating system again. This time, it was after using the recovery volume, select MacIntosh HD, by using erasing, then the option reinstall in THE.

    I did two times now.  The first time I tried 'Erase and re - install' the download bar has got to a point about a third of the way across, and then he stopped. Time of download bar gradually got more and more long, up to what I canceled it (when the display estimated download time is six and a half).  The internet connection was problematic, or the Mac had stopped download (similar to the earier progress bar).  The second attempt to delete and download, the download bar has not yet started to progress.

    My HARD drive has several volumes.

    1. The most important. My MacIntosh HD with OS 10.11.4 - El Capitan.
    2. The second, MacIntosh HD 2, is about 50 GB, a Mavericks installed on it.
    3. The third is 10.11.4 recovery volume.
    4. The fourth is another volume of recovery for the Mavericks.
    5. There is another called eDrive bulkhead.

    Apart from MacIntosh HD, with none of these volumes I problems in starting up (with the possible exception of the Mavericks resumed, that I have not tried to access all since the update to El Capitan).

    I used first aid utility disk several times, and no problems have been reported. I used the version of El Capitan permanently.

    I can't understand why, after erasing the MacIntosh HD to do it again, I can't get the iMac to download the MacOS and reinstall.

    A couple of clues-

    • After his clear utility drive always reports what is MacIntosh HD. (When I restart, the dialog "Select Start Drive" only shows the volume of the Mavericks and eDrive)
    • Disk utility also shows "Apple Disk Image/OS X Base System."  OF THE said that it is ejection. But this button does not work.  I suspect it's what might stop download me the installer and start again.

    I used e-drive to check the iMac and, in particular, the drive HARD; even performed a surface scan.  No problems have been reported.

    Your 2007 iMac is too old to download OS X, you need to install OS X since the recovery partition directly. If this does not work then Yes, something is wrong with your HD run Apple Hardware Test Mode Extended 2 - 3 times back to back, if errors appear which confirms what I said. You will need the original DVD that came with the computer in order to run it.

  • It is possible to activate and deactivate certain keys?

    Hey. I have the code to detect which page of my book flash is active and now the question: it is possible to make 4 diferent for a button effect depends on what the page is active? example:

    Page 1: the button is red

    page 2: the button is blue

    page 3: button is black

    I think it's possible but does not know how to make this

    If you have a simplebutton control, you can change its color by using the transform.colorTransform property:

    var ct:ColorTransform = yourbutton.transform.colorTransform;

    If {(this.currentFrameLabel is "page 1")

    CT. Color = 0xFF0000;

    } Else if (this.currentFrameLabel == 'page 2') {}

    CT. Color = 0x0000FF;

    } Else if (this.currentFrameLabel == 'page 3') {}

    CT. Color = 0x000000;

    }

    yourbutton.transform.colorTransform = ct;

  • Impossible to decode and import the wav/mp3 file selected"error in Captivate 4

    Good afternoon.

    I exported and modified a Captivate presentation audio in Soundbooth. After editing, I save the file as a. WAV. When I import the file to the slide, I receive the error message listed above.

    I followed the other discussions in the forum and performed the following:

    XP Pro (32 bit - SP3)

    E-Learning Suite

    Captivate 4

    Soundbooth CS4

    • Downloaded and installed new NSAudio.dll
    • NSAudio.dll successfully registered
    • Ran successfully the restoreCP4regentries.bat and the restoreRegPermCP4.bat
    • Restarted the computer
    • Ran the program as long as administrator (even if he asked me to re - register the product - a little strange)

    I always get the error when I try to import WAV files. If I convert the files to MP3 format, they can be imported. At the moment I prefer not to import them in MP3 format.

    WAV format is uncompressed, 44, 32 floating little (I also tried other bits).

    I lost a whole afternoon of productivity to this.

    Any thoughts on how to solve this problem? It seems that I followed all the recommendations I've seen so far.

    Hello

    Captivate seems a bit picky about WAV format. You might have to adjust a few settings with the WAV output. You could start by trying the following and see if it is resolved.

    Start with a backup copy of the audio clip

    Open base Windows Sound Recorder

    Open the WAV file with questions in sound recorder

    Click file > save as

    Click the change... button - make no changes, and click OK (this should change it to PCM format)

    Try to import the WAV file after that and see what happens.

    Personally, I would use the MP3 myself. Not sure why you are against it. After all, this is what will end up in your compiled result.

    See you soon... Rick

    Useful and practical links

    Captivate wish form/Bug report form

    Certified Adobe Captivate training

    SorcerStone blog

    Captivate eBooks

  • HP envy 5530: impossible to activate scan of the computer!

    I have a macbook air and I wanted my hp 5530 for a few years and it has worked very well. Then I was unable to scan directly to my macbook, so I followed the instructions of troubleshooting - uninstalled the hp software and then re-installed. After the 3rd re - install, scan to computer worked for a day and now I can't do it again!

    I can't check the box 'Enable the scan of the computer' in the hp utility - WHY? Can someone help me please no copy and paste the instructions of troubleshooting, I read the already. What do I have to uninstall and reinstall again?

    Hello
    The HP scanning application is not compatible with Sierra, so you may experience problems.
    Remove the HP scanning by moving it to the trash, then empty the trash.

    Instead install HP Easy Scan below, it will be installed in the Applications folder:
    http://FTP.HP.com/pub/softlib/software12/HP_Quick_Start/OSX/installations/Essentials/HP-easy-scan-1_7_0.pkg

    If you experience additional problems, ensure that the latest version of the software is installed by following HP Easy Start below:
    http://FTP.HP.com/pub/softlib/software12/HP_Quick_Start/OSX/applications/HP_Easy_Start.app.zip

    Finally, make sure that your drivers are up-to-date by clicking the Apple icon, select about this Mac and then press on software update.
    Click on the Bank on the menu bar, click Reload Page, click all update if an update is available.

    Kind regards
    Shlomi

Maybe you are looking for

  • Download plans of fertilizer Talk

    HHey guyz, someone has already tried to downloa Straight Talk for an iPhone 5 will not my Sim Card except # and invite you to call me. Offices closed English speaking! Pretty sad Memorial weekend and I am a veteran! Tracphone typical scam marketing t

  • where is he?

    Why have they taken to the bottom of the update of the bios of HP Pavilion a6433w? It was a few days ago (I should have downloaded then) and now his party.

  • Impossible to uninstall Noron anti virus using the control panel

    When I ATTEMPT to INSTALL MCAFEE FREE WITH BT HAD to UNINSTALL NORTON ANTIVIRUS DO DELETED NOT the PANEL to HELP broadband WHEN I USED INISTALL of SYMANTEC EMPAQUETER SMARTWEBPRINTING DELETED. MSI AND COULD NOT CONNECT TO THE WEB. WAS IT NOT TO USE S

  • Several Media Player ActiveX controls

    I have a system that displays video files 'live' and those historical at the request of the user. To do this, I use the Windows Media Player ActiveX controls. The 'live' (not really streaming, just a new video file all few seconds) display is part of

  • Get a "0 x 80070057" failed to format Windows error when I try to clean up the format!

    Hi guys... I have a Windows 7 system that has a 250 GB Western Digital SATA... I have not used this system as 4-5 months... Recently, I wanted to format install the system, so I used my CD of Installation of Windows 7 Ultimate x 64 to try a cleaning.