ValueChangeEventListener function automatically called on save

I have selectOnceChoice field and I have set the following properties:
valueChangeListener = <function name>
Autosubmit = true
The function is executed when I select a value from the selectOneChoice. However it is executed again automatically (which is not desirable) when I save the form with a Save button.
Other valueChangelistener functions for other fields (e.g. selectInputDate) that I have in the same form are not executed automatically on save.
Do valueChangeListener functions behave this way for selectOneChoice fields or it has to do that inside the <function name> I make a an AdfFacesContext.addPartialTarget invocation?

Hi,
on save all those value change listeners fire that belong to a input component that the user changed data in.
Frank

Similar Messages

  • Excel report - lauch VBA function automatically

    Hi Experts,
    I'm working on a Excel report (BI7.0) for stocks and goods movement.
    I want to underline low stock and to do this, i create a macro in VBA to change the cell's background in red.
    My code runs perfectly when i click on the button to launch the function.
    But now, i want to lauch this function automatically.
    1) open the workbook
    2) enter the parameters
    3) display the table
    4) CHANGE THE COLOR for low stock cells
    I'm unable to find how to launch the function "on step 4", and my cells stay again and again with white background.
    Can you help me?
    Thanks a lot,
    Adrien

    What if I were using Adobe 9.0, what would my vba code look like?
    The reason that I'm changing to Print As vs File Save As is due to the file size.
    Print As - makes the file about 100k
    File Save As - make the file about 10M
    My vba works fine when sending to "File Save As *.pdf", but when I change it to Print As PDF, the vba won't capture the filename automatically from my vba code.
    What would my vba look like if I were using 9.0 to get Print As PDF to capture the filename automatically?
    Or tell me how to decrease the file size when vba calls "File Save As *.pdf".
    Thanks!!!

  • How to Developed user defined functions to call function modules in SAP R/3

    •     how to Develope user defined functions to call function modules in SAP R/3 system

    Hello Raja,
    Go through this V.imp Link...
    http://download.oracle.com/docs/cd/B10464_05/integrate.904/b10408/rfc.htm
    Steps to crate FM..
    Follow these steps..
    Go to the T: code SE37
    First You Create Function Group
    On That u specify
    Function Group Name..............
    Short Text..............................
    save...
    Go to SE 37
    Specify the Function Module Name: Eg: Z_Bapi_Materialmaster
    Short Text.......
    Save...
    Next Go to Attributes..
    Select Radio button : Remote enabled model
    Go to Parameters..
    Click Import...
    Give Parameter Type Associate type S.t
    next Click Export...
    Give Parameter Type Associate type S.t
    Next Click Tables Button..
    Specify tables..
    Next click source code button..
    Write Source code here..
    Eg : Select statements Etc..
    Finally we should be select the Radio button Enable remorely
    https://www.sdn.sap.com/irj/sdn/wiki?path=/pages/viewpage.action?pageId=39728
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/abap/bapi%2bstep%2bby%2bstep
    Re: User Defined Functions Tutorials
    Hope this information is useful to you..
    Thanks ,
    Satya Kumar..

  • Saving via Reader-Enabled plugins - An unimplemented or obsolete function was called

    Hello,
    I have recently Reader-Enabled my plugin, and am getting an issue using PDDocSave; getting "An unimplemented or obsolete function was called".
    Testing in X and XI has the same response.
    Reading Re: Acrobat Reader X and PDDocSave it seems that it is a bug in X, but I would have assumed something like this would be fixed by XI.
    The below code has it saving the file where it is, but I am also calling the function with the PDSaveCopy flag to a different location and get the same result.
    AVDoc avDoc = AVAppGetActiveDoc();
    PDDoc pdDoc = AVDocGetPDDoc(avDoc);
    ASFile asFile = PDDocGetFile(pdDoc);
    ASFileSys asFileSys = ASFileGetFileSys(asFile);
    ASPathName asPath = ASFileAcquirePathName(asFile);
    PDDocSave(pdDoc, PDSaveFull | PDSaveLinearized | PDSaveCollectGarbage, asPath, asFileSys, NULL, NULL);
    I thought perhaps the save flags may have been the issue, but eliminating one-by-one had no change.
    I don’t have the /READER_PLUGIN conditional on, if I do I cannot compile at all - Re: How can I save current document in my Reader plugin? 
    Thanks for your help. Thought I'd ask here before putting in a support request.

    One thing I notice in the docs for PDDocSave:
    IMPLEMENTATION LIMIT: the current implementation can
    only save a file to the same fileSys for the doc's current backing
    file, thus fileSys MUST BE NULL, otherwise the error XXX is raised.
    This is also reiterated in the other headers:
    @param fileSys The file system. If it is NULL, uses the fileSys
    of the document's current backing file. Files can only be
    saved to the same file system. fileSys must be either NULL
    or the default file system obtained with ASGetDefaultFileSys(),
    otherwise an error is raised.

  • Has anyone with sprint have time/date issues as well as imessage function automatically turning itself off?

    has anyone with sprint had time/date issues as well as imessage function automatically turn itself off?

    Im having the same problem, I updated my Iphone 4S to 6.1.3, shortly after that my phone had no audio. It was working fine one minute and then stopped. Was listening to music when sound gave out on me. It wont ring, phone just vibrates even after turning off vibration option. I've tried all the options listed and nothing. My phone has never been jailbroken either. If I connect the earphones is works perfectly. On one of my last calls received, phone's ringtone was heard for about 2 seconds before muting and just vibrating. Ringtone sounded perfect, speakers did not sound damaged. 
    What else could be done? I've read several post regarding this and it seems like Apple has no solution to this yet. Very dissappointed.

  • Will ReadWrite(..) be automatically called?

    Hi
    I looked at "BasicPersistInterface" sdk sample and I couldn't find any call to ReadWrite(..). Will the function be automatically called while opening/saving a file?
    many thanks
    Ays.Hakkim

    Hi,
    read the Programming Guide/Persistent Data and Data Conversion/Persistent Objects chapter. Your question is explained there.
    //Adam

  • Agent Automatic Call Recording

    Hi,
    I want to save agent voice records on UCCX but I do not want to use ‘Voice Contact Work Flow List’ method. (http://dreamforccie.wordpress.com/2010/03/30/automatic-call-recording-at-uccx/)
    I want store all agent voice records out side of the UCCX server storage (external storage). Because I will some storage problems when i store all records in the UCCX server.
    Is there any way to make this, 3th party or etc. ??

    There is a Cisco solution: Cisco Unified Workforce Optimization.
    And then there are all kinds of 3rd party solutions out there to choose from.
    Anthony Holloway
    Please use the star ratings to help drive great content to the top of searches.

  • Conned by Automatic Call RecorderPC (Phishing Risk...

    Hi Nokia,
    Please help about Windows Phone 8 App that was purchased from Windows Phone 8 Store. The App called Automatic Call RecorderPC from Publisher called Win Phone Apps, seems to be a con. After installing Automatic Call RecorderPC on my Nokia Lumia 1020 (Windows Phone 8 - Lumia Black), on opening, the App redirects to a web page that describes about Android installation. As loyal patron of Nokia, Windows Phone 8 and .NET developer, I hereby report this to Nokia in order to help Windows Phone 8 users like me with concerns to this duplicity and risk of Phishing. BTW, I lost money INR 360.
    Here’s the URL to Automatic Call RecorderPC: http://www.windowsphone.com/en-in/store/app/automatic-call-recorderpc/2b5e35d1-ee5d-4795-b7c1-a18ab7...
    Please clarifyme about this doubt.
    Thanks

    Thank you for the reply.
    I reported concern to Microsoft immediately. However, the reporting function has only radio buttons like Malware or Virus, Privacy concerns, Misleading app etc.
    The radio buttons should me replaced by check boxes.
    BTW, there's one more App from the Publisher Win Phone Apps called Call Recorder Full App4PC that is listed on the Windows Phone Store.
    This is news to me because I thought Windows Store was foolproof.
    Yep, yet another con!!!
    http://www.windowsphone.com/en-in/store/app/callcorder-record-incoming-outgoing-phone-calls/51eed9ae...
    Please help, Nokia!!!

  • How do I call browser Save As dialog box before downloading pdf files?

    How do I call browser Save As dialog box before downloading pdf files?
    Here's my favorite scenario:
    1. User clicks button
    2. Save As dialog displays
    3. User chooses location
    4. A set of PDF files download to that location OR a single zip file downloads
    Background:
    I want to ensure the user sees that files are being downloaded. I'm delivering content to users who may not be Web savvy.
    Concern:
    1. User has no clue how to find downloaded files or that files have even downloaded.
    2. I'd like to deliver the set as zip files. Not sure if self-opening zip files still exist.
    FYI:
    I'm using jQuery UI buttons. Not sure if that factors into response.

    Just for clarity, I'm not forcing a download. The user will click a button.
    Click a button or click a link, either way you're technically executing a script to force a download.
    I'm assuming that's the php file resident on the server.
    Yes but that's only part of it.  Once the contact form executes, another script is called up which opens the browser's download dialogue.
    Is there a php script for simply calling the Open/Save dialog box?
    Yes. 
    <?php
    /* This short script forces a file download.
       For simplicity, it's intended to be used for a single file.
       You can use multiple copies of this file (with unique names)
       with different variable values to use it with multiple files.
       Use of this script has a side-effect of hiding the location of the
       file on your server.
    // full server path to file to be downloaded (including filename)
    $Path2File = "path/to-file-on-server.zip";
    // the filename
    $theFileName = "name-of-file.zip";
    //the work gets done here
    header ("Cache-Control: must-revalidate, post-check=0, pre-check=0");
    header ("Content-Type: application/octet-stream");
    header ("Content-Length: " . filesize($Path2File));
    header ("Content-Disposition: attachment; filename=$theFileName");
    readfile($Path2File);
    ?>
    Name this file zip2download.php.
    Add a link to your HTML page:
    <a href="zip2download.php">Download Zip</a>
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com/

  • Function is called in Where clause

    I am analyzing the script and found one function is called within the SQL statement in where clause. I like to know is there any alternate way to improve the performance.
    If I move the function call prior to this select statement and update the result of function value in new column in existing table/ are in new tmp table. Will there be performance improvement
    Or any other better way... Plz suggest me.
    - Mahesh

    You should include the query code as well as the execution plan.
    I figure out you mean your arguments in the where clause are evaluating a function and this prevents the index from being used, provoking a reduced query performance. If this is the case, then you should consider using function based indexes instead.
    ~ Madrid
    http://hrivera99.blogspot.com/

  • How do I save as a pdf while in acrobat cloud?  the "save as" function only lets me save as a complete webpage or html

    how do I save as a pdf while in acrobat cloud?  the "save as" function only lets me save as a complete webpage or html

    What application are you using?
    Acrobat's Save As has 21 choices available.
    Be well...

  • Function module call with destination

    Hi,
    how can check if a function module call with destination works or not ?
    How can I debug.
    What can be the reason if it is not calles
    regards
    ertas

    * to chcek the rfc Destination By pass RFC destination name and Connection Type..
    RFC_CHECK_DESTINATION
    or
    RFC_CHECK_DESTINATION_ID
    or
    You can use this FM RFC_VERIFY_DESTINATION if your release is greater than 4.6C.
    Check this sample code from Craig Cmehil's weblog.
    CALL FUNCTION 'RFC_VERIFY_DESTINATION'
      EXPORTING
        DESTINATION = TMP
            TIMEOUT = 10
      EXCEPTIONS
        INTERNAL_FAILURE           = 1
        TIMEOUT                    = 2
        DEST_COMMUNICATION_FAILURE = 3
        DEST_SYSTEM_FAILURE        = 4
        UPDATE_FAILURE             = 5
        NO_UPDATE_AUTHORITY        = 6
        OTHERS                     = 7.
      IF SY-SUBRC EQ '0'.
        "* Do code here
      ENDIF.
    Prabhu

  • Rfc function module call error

    Hi Abaper,
    I'm doing upgrade from 4.7 to ecc 6.0 currently and encounter problem in one of the rfc function module that we used. I've tested the connection to destination using sm59 and the connection is successful.
    As an information, in the rfc setting, the target system is not Unicode system.
    When I test using se37 and put the rfc destination in my function module call, I always encountered system_error exception. There's no issue with this rfc call before in 4.7 system.
    Please help me on this. Thank you.
    Edited by: Abraham Bukit on Sep 3, 2008 2:36 AM

    Hi,
    I had the same issue in the past and solved it in the following way.
    If the destination system is not Unicode please try to set the password for the communication user set in SM59 using only upper-case characters and taking into account that the password shouldn't be longer than 8 characters.
    Hope this will help.

  • Problem with function module calling

    Hi,
    I have two questions here
    i have a function moduel 'Z_GET_MATL_BALANCE'
    in my code it called in the below said way
    CALL FUNCTION 'Z_GET_MATL_BALANCE'
        DESTINATION 'NONE'
        STARTING NEW TASK 'A'
        PERFORMING f_back ON END OF TASK
        EXPORTING
          ref_dte    = s_datum-low
          str_dte    = s_datum-high
          end_dte    = s_datum-high
          i_werks    = p_werks
          i_past     = 'X'
          i_future   = 'X'
          verselem   = p_mrpver
          plscn      = p_scenar
          r_outrec   = r_outrec
          supstk     = p_supstk
          days_ahead = w_days_ahead
          shipnt     = p_shipnt
        TABLES
          mat_bals   = w_zmat_bals_a
          i_zdatum   = i_datum
          mat_movmts = w_mat_movmts_a
          mat_ship   = i_mat_ship_a.
      IF sy-subrc NE 0.
        MESSAGE e005(ZMIM) WITH
       text-009 text-166 text-054 sy-subrc.
      ENDIF.
    FORM f_back USING task.
      CASE task.
        WHEN 'A' .
          RECEIVE RESULTS FROM FUNCTION 'Z_GET_MATL_BALANCE'
         TABLES
              mat_bals                     = w_zmat_bals_a
              mat_movmts                   = w_mat_movmts_a
              mat_ship                     = i_mat_ship_a
           EXCEPTIONS
                call_material_lesen_fail     = 1
                call_t450n_fail              = 2
                call_t399d_fail              = 3
                call_aufbauen_mdpsx_fail     = 4
                call_mdezx_aufbauen_fail     = 5
                call_t001w_fail              = 6
                call_zmrpelem_failed         = 7
                call_aufbauen_mdpsx_sim_fail = 8
                OTHERS                       = 9.
          IF SY-SUBRC NE 0.
           RET_CODE1 = SY-SUBRC.
          ENDIF.
    now my first question is what is the difference between function modules calling normally and in the above said way
    and the second question is
    under tables parameter i have four internal tables defined where as while calling the same function module using recive results i have three internal tables. is this correct?
    i am asking this because i am getting an error message while using this funciton module
    please do not give generic answers, all the helpful answers will get a def reward

    Call function starting new task is used to make Asynchronus RFC Call. In this case your function module will be called in a NEW SESSION and it will exceute independently from the Main program which is calling the FM. Also, the main program will continue its own processing and it will not wait for the RFC FM to complete.
    Its not mandatory to have all the TABLES parameters in the RETURN Perform (..Receive results from ...)

  • Printing function gets called twice..!

    The following is my class that prints a string array which sometimes goes into multiple pages.. The code in which i create the multiple pages is below this class.. the problem is each time i append a new page to the book the print function in the class PaintC is called twice.. so if I write some additional code inside the print function to edit the strings .. it ends up running twice and the formatting i try to do gets messed up.. !! do you guys know why this is happening..? Please help.. ive been trying to find out since a very long time..!!
    The code in which i call this function is also shown below
    CLASS FOR PRINTING
    class PaintC
        implements Printable {
      String ad[];
      public PaintC(String ac[]) {
        System.out.println("Print Class Called 1");
        this.ad = ac;
      public int print(Graphics g, PageFormat pf, int pageIndex) throws
          PrinterException {
        System.out.println("Print Function Called 1");
        Graphics2D g2 = (Graphics2D) g;
        g.setFont(new java.awt.Font("Trebuchet MS", Font.PLAIN, 8));
        int xo = 60;
        int yo = 36;
        for (int y = 0; y < 76; y++) {
          try {
            g2.drawString(ad[y], xo, yo);
            yo += 9;
          catch (Exception r) {
            y = 76;
        return Printable.PAGE_EXISTS;
    CODE FOR CREATING MULTIPLE PAGES USING ABOVE CLASS
    void dotheprint() {
        PrinterJob printerJob = PrinterJob.getPrinterJob();
        PageFormat format = new PageFormat();
        Printable painter1;
        format = printerJob.defaultPage(format);
        Paper paper = format.getPaper();
        paper.setImageableArea(60, 36, 500, 756);
        format.setPaper(paper);
        // try storing in a string array each line
        Book bk = new Book();
        String ab = jTATRRep.getText();
        int i, j, lc = jTATRRep.getLineCount();
        String ac[] = new String[lc + 3];
        String ad[] = new String[78];
        ac = ab.split("\n");
        //System.out.println("Number of Lines = " + lc);
        //setting up pages as string arrays..
        // setting up first page
        //Assuming 76 lines per page
        for (i = 0; i < 76 && i < lc; i++) {
          try {
            ad[i] = ac;
    catch (Exception ex) {
    bk.append(new PaintC(ad), format);
    ad = null;
    // setting up second page if neccessary
    // //System.out.println("Number of Lines /76= "+lc/76);
    int pagec = lc / 76;
    int modul = lc % 76;
    int k;
    if (modul > 0) {
    pagec++;
    // //System.out.println("Number of pages : "+pagec);
    j = 76;
    while (pagec > 1) {
    ad = new String[76];
    k = 0;
    for (i = j; i < (lc - 1) && k < 76; i++) {
    // //System.out.println("ac[i]= "+ac[i]);
    ad[k] = ac[i];
    k++;
    bk.append(new PaintC(ad), format);
    ad = null;
    j += 76;
    pagec--;
    printerJob.setPageable(bk);
    boolean doPrint = printerJob.printDialog();
    if (doPrint) {
    try {
    System.out.println("Print Called 1");
    printerJob.print();
    System.out.println("Print Called 2");
    catch (PrinterException exception) {
    System.err.println("Printing error: " + exception);
    CODE IN WHICH THE PRINT FUNCTION IS CALLED
    void jBPrint_actionPerformed(ActionEvent e) {
        dotheprint();
    class ContactManager_jBPrint_actionAdapter
        implements java.awt.event.ActionListener {
      ContactManager adaptee;
      ContactManager_jBPrint_actionAdapter(ContactManager adaptee) {
        this.adaptee = adaptee;
      public void actionPerformed(ActionEvent e) {
        adaptee.jBPrint_actionPerformed(e);

    You might want to check out the [url http://forum.java.sun.com/thread.jsp?forum=57&thread=500687&tstart=0&trange=15]crosspost in the swing forum before spending your time answering this question.

Maybe you are looking for

  • Problem invoking webservice on weblogic managed server

    Hi Guys, I've created a web service using examples the BEA provides. When I deploy my web service on a ADMIN server it works fine. When I depoly my web service on a managed server, my client cannot find the WSDL file suppose to be located on the a ma

  • Error messages appear while booting Satellite A100

    I tried booting my notebook and this error messages are displayed: system bios shadowed, video bios shadowed, resource conflict-PCI serial bus controller on motherboard Bus:07, Device:06, Function 01 resource conflict-PCI mass storage controller on m

  • Spacing issue when importing subreport

    Hi All, I'm trying to build a .NET web application that generates the report at the runtime and dilvered via the CrystalReportViewer web control. I have created a 'Main' report to serve as the container and also a number of component reports that to

  • Problem with Contribute

    For some reason when I go to this page http://www.energyoperators.com/page3.html and try to edit it, I can't see the top. Unfortunately I did not have the rollback feature enabled. Now I'm stuck. Does anyone have any ideas?

  • Regarding attendance downloading

    hi experts,                in my company for daily attendance we punch our identity card in our punching machine,,,but that is not connected to our SAP ,,can we do something so that it will be connected to our sap,,,,or is there any other way to down