CommandButton code does not get executed with partialSubmit=false

Following code in Jdev11g
<input type="text" value="#{myBacking.text}"/>
<af:commandButton text="Click" action="#{myBacking.doSomething}"/>
<af:commandButton text="Click" actionListener="#{myBacking.doSomethingElse}"/>
public void setText(String value)
   System.out.println("Setting value");
public String doSomething()
   System.out.println("Clicked");
    return "";
public String doSomethingElse(ActionEvent e)
   System.out.println("Clicked with event");
} I always get following output:
Setting valueI never see the output from my commandButton. It seems that my button does not executes it's code but just notifies the components to call their setters.
I notice that when i set the partialSubmit to true, de code do get executed.
Why is that and what is causing this behaviour? How can i use my own code in the buttons without setting the partialSubmit to true? I do need a complete refresh of the page and can not use the partialSubmit but when it's set to false, it ignores my code...

They are inside an af:form
<?xml version='1.0' encoding='windows-1252'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
          xmlns:f="http://java.sun.com/jsf/core"
          xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
  <jsp:directive.page contentType="text/html;charset=windows-1252"/>
  <f:view>
    <af:document id="doc1">
      <af:messages id="m1"/>
      <af:form id="frm1">
           //MY buttons are here
      </af:form>

Similar Messages

  • Dispute case does not get updated with subsequent partial payment

    Hi Experts
    I am now still testing the Dispute management .. but it's my first time to see that some times created dispute case does not get updated with the payment posted against the invoice which the dispute case has been raised .. when i trying to add open item to the current dispute case i face this Error..
    Process step 004: Change not possible, process step 003 missing
    Message no. UDM_MSG037
    Diagnosis
    The dispute case is to be changed by process step 004 from accounting. However, there is at least one process (for example, clearing transaction from payment or credit memo) that was performed before the current step and that has not yet updated the dispute case. The changes to the dispute case must be carried out in the correct order.
    System Response
    The dispute case could not be changed.
    Procedure
    In an asynchronous change to dispute cases using IDoc, make sure that all IDocs of the previous process have been posted. Then you can carry out the required action (for example, post the current IDoc from process step 004 or include further items). The immediate previous process step is 003.
    Your kind feed back is highly appreciated..
    Regards
    Mahmoud EL Nady

    Hi
    Thanks for straight forward solutions its now working properly after run the program.. thanks too much..
    also do i need to run this program periodically or once i notice that one dispute case it not getting updated?
    Regards
    Mahmoud El Nady

  • String does not gets splitted with "|"

    String does not gets splitted with "|" ?
    String str="abc#def|ijh#klm";
    String[] pieces=str.split("|");
    System.out.println(pieces[0]);

    '|' has special meaning (OR) so you need
    String[] pieces=str.split("\\|");

  • When I add an event to my ipad it does not get synced with any other calendars on my other devices.

    My calendar on my ipad will sync with any information added on my android phone or on my PC but if I add information directly on my ipad it does not get added to my PC or phone.

    Do you have iCloud?
    As it states hereyou need it tp sync.
    Allan

  • BBP_DOCUMENT_TAB does not get populated with shopping cart

    Hello Gurus,
    We are facing some weird issue out of blue. We have SRM 5.0 Classic scenario with ECC 6.0 backend system. We have everything configured and it was working i mean shopping carts were successfully transferring into ECC system as PR.
    Suddnely now we are getting error Item in transfer process for all the shopping carts. While checking into RZ20 monitor it shows following error " Backend application errors: Shopping cart  (PReq. 7000027359): W5 002 No items exist (not possible to save)".
    When we put debug in CLEAN_REQREQ_UP we found out that table BBP_DOCUMENT_TAB which should get populated whenever shopping cart is approved it not getting any data.
    Could you please let us know what could be the reason? As all the user IDs with which RFC's are maintained at SRM and ECC level active and all proper authorization are there.
    Please advise.
    Thanks
    Ritesh

    Hello Ritesh,
    Actually, the document tab is updated by the SC transfer (SC spooler). Each time the system starts the shopping cart transfer, an entry is created in BBP_DOCUMENT_TAB until the CLEAN_REQREQ_UP is executed.
    You could debug the shopping cart transfer and check if the follow-on document is being created.
    Also, you could check the SPRO customizing -> SRM SERVER -> Techcnical Basic Settings -> Set Control Parameters, and check its value.
    As additional information, you can check the note 1173815, which provides some information regarding the follow-on document creation (customizing tables).
    I hope it helps.
    Kind regards,
    Ricardo

  • Customer Exit Text Does Not Get Executed

    Dear all,
    I have a text variable to display the last date of a month, named ZT_LASTDATE.
    Subsequently, I write an ABAP code in CMOD as follows:
    CASE I_VNAM.
      WHEN 'ZT_LASTDATE'.
    *    IF I_STEP = 2.
    * Assign 0P_PER3 (Posting Period) value to v_month.
          CLEAR loc_var_range.
          READ TABLE i_t_var_range INTO loc_var_range WITH KEY VNAM = '0P_PER3'.
    * Logic to convert Period 13, 14, 15 & 16 to Period 12.
          IF loc_var_range-low GT '012'.
            v_month ='12'.
    * For normal periods (Period 01 - Period 12).
          ELSE.
            v_month = loc_var_range-low+1(2).
          ENDIF.
    * Assign 0P_FYEAR (Fiscal Year) value to v_year.
          CLEAR loc_var_range.
          READ TABLE i_t_var_range INTO loc_var_range WITH KEY VNAM = '0P_FYEAR'.
          v_year = loc_var_range-low.
    * Assign first date of the month i.e. 01 to v_date.
          v_date = '01'.
    * Concatenate Year, Month & Date into ZW_DT1 as input
    * for SLS_MISC_GET_LAST_DAY_OF_MONTH function module.
          CONCATENATE v_year v_month v_date INTO ZW_DT1.
    * Call function module to get last date of the month.
    * Input  : ZW_DT1 e.g. 20111201
    * Output : ZW_DT2 e.g. 20111231
          CALL FUNCTION 'SLS_MISC_GET_LAST_DAY_OF_MONTH'
            EXPORTING
              day_in            = ZW_DT1
            IMPORTING
              last_day_of_month = ZW_DT2.
    * Prepare last date of the month in DD.MM.YYYY format.
    * ZW_DT2 date format        = 20111231
    * l_s_range-low date format = 31.12.2011
          CLEAR l_s_range.
          l_s_range-low+0(2) = ZW_DT2+6(2).
          l_s_range-low+2(1) = '.'.
          l_s_range-low+3(2) = ZW_DT2+4(2).
          l_s_range-low+5(1) ='.'.
          l_s_range-low+6(4) = ZW_DT2+0(4).
          l_s_range-sign     = 'I'.
          l_s_range-opt      = 'EQ'.
    * Send last date of the month output to ZT_LASTDATE variable.
          APPEND l_s_range TO e_t_range.
    *    ENDIF.
    ENDCASE.
    However, when I execute my query, the variable text is displayed as &ZT_LASTDATE& and not as expected e.g. 31.12.2010.
    I tried to debug it and found out that after the program stop at  
    WHEN 'ZT_LASTDATE'.
    it went straight to ENDFUNCTION of INCLUDE ZXRSRU01.
    May I know what went wrong here?
    Thanks!

    Hi,
    Uncomment the line I_STEP = 2 and then try debugging your code, put external break point on read table statement and keep on debugging. Don't put session breakpoint, for debugging you will have to use external break point. 
    Regards,
    Durgesh.

  • Rc.local does not get executed

    Hi all Archers,
    today I put some commands into my rc.local to enable features recommended by powertop.
    The problem is they aren't applied with a restart.
    #!/bin/bash
    # /etc/rc.local: Local multi-user startup script.
    # Power aware CPU scheduler
    echo 1 > /sys/devices/system/cpu/sched_mc_power_savings
    # Audio codec power management
    echo 1 > /sys/module/snd_hda_intel/parameters/power_save
    # SATA link power management
    echo min_power > /sys/class/scsi_host/host0/link_power_management_policy
    # VM writeback timeout
    echo 1500 > /proc/sys/vm/dirty_writeback_centisecs
    # Turn off NMI watchdog
    echo 0 > /proc/sys/kernel/nmi_watchdog
    echo "Script has finished"
    Permissions:
    # ls -l /etc/rc.local
    -rwxr-xr-x 1 root root 568 24. Mai 23:31 /etc/rc.local
    Because of this I added the last command and it gets printed while booting.
    But all other commands do nothing…
    That's really odd and I don't know how to solve it.
    By the way, I'm not using systemd.
    What could be the reason for this?
    Thanks for help.
    Radioactiveman

    ice9 wrote:Are you running X ?
    Yes, I am (also with XFCE). And the behaviour is exactly as you described.
    Without startx the settings are applied.
    Did you manage to solve that? Or do you know a workaround?
    Last edited by Radioactiveman (2012-05-28 18:12:45)

  • JdoPostLoad() does not get executed!!!

    Kodo 2.4.3
    Sequence
    1. Create PC (docket)
    2. Persist it
    3. evict it
    4. read one of its fields of PC type - jdoPostLoad() isn't triggered OR
    read one of its simple fields which are part of default fetch group -
    jdoPostLoad() gets triggered
    After evictAll() I am reading
    pmi.currentTransaction().begin();
    nd = createDocket();
    touchDocketMilestones(nd);
    pmi.currentTransaction().commit();
    pmi.evictAll();
    pmi.currentTransaction().begin();
    nd.getGoal(); //PC field so it is not in default fetch group: DO NOT
    triggers jdoPostLoad()
    nd.getDescription(); //String field from default fetch group: Triggers
    jdoPostLoad()

    I agree that specs are rather wague about it. My point is that jdoPreClear()
    and jdoPostLoad() logically should go in pairs - if jdoPreClear() invoked on
    evict jdoPostLoad() should be invoked on first field access (it means that
    default fetch group fields will have to be alwaysloaded first)
    If jdoPostLoad() is not invoked on transition from hollow to p.clean we will
    have no way to reinitialize transient fields the same way we do when an
    object read first time
    "Patrick Linskey" <[email protected]> wrote in message
    news:[email protected]...
    Alex,
    It is not clear to me that jdoPostLoad() should be triggered in that
    situation.
    Evicting the object makes it transition to Hollow, meaning that all
    fields in the object are marked as not loaded.
    Subsequently, you access a field that is not in the default-fetch-group.
    After this call completes, the default-fetch-group is still unloaded. So,
    it is not clear to me that the jdoPostLoad() callback should have been
    invoked.
    Section 10.1 of the spec states that InstanceCallbacks.jdoPostLoad() is
    invoked after the dfg is loaded. So, to invoke jdoPostLoad() after
    loading a non-dfg field in a hollow object would be in violation of the
    spec -- unless we first loaded the dfg, we'd be executing jdoPostLoad()
    before loading the dfg.
    I don't believe that the spec states that the dfg must be loaded when a
    non-dfg field is loaded. Given this assumption on my part, I believe that
    our behavior is correct.
    -Patrick
    On Fri, 11 Apr 2003 16:44:49 -0400, Alex Roytman wrote:
    Kodo 2.4.3
    Sequence
    1. Create PC (docket)
    2. Persist it
    3. evict it
    4. read one of its fields of PC type - jdoPostLoad() isn't triggered OR
    read one of its simple fields which are part of default fetch group -
    jdoPostLoad() gets triggered
    After evictAll() I am reading
    pmi.currentTransaction().begin();
    nd = createDocket();
    touchDocketMilestones(nd);
    pmi.currentTransaction().commit();
    pmi.evictAll();
    pmi.currentTransaction().begin();
    nd.getGoal(); //PC field so it is not in default fetch group: DO
    NOT
    triggers jdoPostLoad()
    nd.getDescription(); //String field from default fetch group:
    Triggers
    jdoPostLoad()--
    Patrick Linskey
    SolarMetric Inc.

  • Blackberry torch does not get charged with a car adapter?

    Blackberry torch 9800 gets charged from laptop and wall mount.
    When I tried using thru car adapter it would not work.
    I have checked the adapter, it charges the other non blackberry mobile.
    My Question, do we need to have a special car adapter for blackberry touch OR
    do we need to make some changes in the setup

    That would be unlikely for a couple of reasons:
    1. The handset is only 4 days old.
    2. It charges flawlessly using the same cables on every other source - AC wall charger, laptop, PC, BB charging cradle, aan also an AC wall charger plugged into a cigarette lighter inverter! It always works in these scenarios.
    The only time it fails (and quite consistently) to charge is when the charging source is a car cigarette lighter USB adapter. And it fails whether you use it in a car or with an AC wall cigarette lighter converter.
    Please take a look at my other post from last night - I described all the things I tried.
    If u still feel it is my handset, I would appreciate a referral to at&t. Minimally, I would like to try a new handset before replacing this one. It takes a long time to get it configured the way I want it.
    Thanks,
    Ashoke.

  • .login does not get executed

    Hi,
    I have a problem with my .login file. As of the Intel-Compiler documentation I should place the line
    source /opt/intel/cc/9.1.032/bin/iccvars.sh
    into my ".login" file. I've done this, but neither when I start a Terminal, nor when I try to compile something, the appropriate vars are set. If I execute the file by hand, everything works as expected.
    Any ideas ?
    Thanks

    This is another marginally helpful response...
    It sounds as if perhaps you need those variables set without opening up a unix shell, i.e., without starting up Terminal or X11. If that is the case, there is yet another file in which you do it.
    The problem is, I don't remember its name. Something like "environment.plist", maybe. And the file has to be in the right directory, of course, which might be ~/Library instead of your home directory. But again, I don't remember.
    Hopefully, someone who knows will read this and answer, or perhaps you can dig it up with some web-searching.

  • Change in Country code does not get reflected in iTunes in iPhone

    Hi,
    I just moved to USA from India. In my apple id, I changed the contact info, and country code and ofcourse the payment card details. Then I synced up my iPhone on my laptop. When I try to search the apps (Bank Of America Mobile Banking) which are available on USA Store are not visible on my iTunes app on iPhone. But they are visible in iTunes on my laptop.
    I have rebooted my iPhone, laptop and then synced them. Still the issue remains.
    Thanks in Advance
    Anand

    I got it..
    Just tried to install an free application which was available in India store. Then I got a message saying I cannot use store from this country and it took me to USA store. From there I could download necessary app from USA store.

  • Xsql:dml update... does not get executed?

    I was testing a simple one field update in <xsql:dml> block and getting the following statement:
    <xsql-status action="xsql:dml" rows="0"/>
    What might be the problem?

    The issue is that JDBC returns a row count only for simple DML statements.
    Whenever you use a BEGIN...END block, JDBC doesn't know how many rows your statement has affected.
    If you try the latest XSQL 9.0.2B release, and use:
    <xsql:dml>
    update emp set ename='FORD2' where empno=7844
    </xsql:dml>
    You'll see that it shows one row was affected.

  • Deadline branch not getting executed

    Hi
    In my BPM i have an infinite loop and also the deadline branch with inerval as 1 minute (for testing purpose) but when i send the message my deadline branch does not get executed after 1 minute and it keeps on waiting.
    in the bpm monitoring it shows wait step created.
    i have verified my design with the standard pattern available, and it is almost similar.
    i am not able to find out the reason behind this strange behavior.
    Regards
    Dheeraj

    Hi Saravana
    i did exactly the same, i have my deadline branch, in it i have my control step which trows exception, which is catched by my exception branch and does nothing, so ideally it should continue the processing after that.
    but the problem is the exception is never thrown.
    my deadline has been configured as
    Reference Date/Time: Creating the step
    Duration: 1
    Unit: Minutes
    control step in deadline branch
    Action: Throw Exception
    Exception: Time_out
    Exception branch
    Exception Handler: Time_Out
    and outside this block i have transformation and other steps... which shoul get excuted after 1 minute deadline.
    Regards
    Dheeraj

  • AOP JoinPoint not getting executed

    The spring configuration that I have is
    <beans xmlns="http://www.springframework.org/schema/beans"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop"
      xsi:schemaLocation="http://www.springframework.org/schema/beans
      http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
      http://www.springframework.org/schema/aop
      http://www.springframework.org/schema/aop/spring-aop-3.1.xsd ">
      <aop:aspectj-autoproxy />
      <bean id="addCarrierService" class="com.service.AddCarrierService" />
      <!-- Aspect -->
      <bean id="authorizeBeforeAspect" class="com.custom.AuthorizeBeforeAspect" />
      <aop:config>
      <aop:aspect id="aspectLoggging" ref="authorizeBeforeAspect">
      <!-- @Before -->
      <aop:pointcut id="pointCutBefore" expression="execution(* com.service.*.*(..))" />
      <aop:before method="secureBefore" pointcut-ref="pointCutBefore" />
      </aop:aspect>
      </aop:config>
    </beans>
    And the join point class is
    package com.custom;
    import org.aspectj.lang.JoinPoint;
    import org.aspectj.lang.annotation.Aspect;
    import org.springframework.security.core.context.SecurityContextHolder;
    import org.springframework.stereotype.Component;
    @Component
    @Aspect
    public class AuthorizeBeforeAspect {
      public void secureBefore(JoinPoint joinPoint) {
      System.out.println("Inside AuthorizeBeforeAspect.secureBefore() method");
      if (SecurityContextHolder.getContext().getAuthentication().getPrincipal() != null)
      DEPUser user = (DEPUser) SecurityContextHolder.getContext().getAuthentication().getPrincipal();
    AuthorizeBeforeAspect .java class does not get executed at all. Not sure where am I going wrong?

    Hi,
    Was the chain created and activated properly, try activating the chain once again, if there is an issue with any of the variants the process chian will not get activated and throw and error.
    If this is not the case and if you are able to activate the process chain successfully, open the start variant and change the settings.
    Right click on the start variant -> Select direct scheduling option.-> press Change selection button
    Select immediate button and press enter. Now come back save the start variant and activate the chain once again.
    Schedule the chain and it should run right away. Monitor the logs.
    Regards,
    Sudheer

  • Scheduled job not getting executed on a logical standby

    Hello,
    We have created a job(through dbms_scheduler API). The job is enabled and shows up in the SCHEDULERJOBS view also.
    However the job does not get executed. I looked into the following tables there was no relevant entry found for the aforesaid job:
    select * from all_scheduler_job_log
    select * from dba_scheduler_running_jobs
    select * from DBA_SCHEDULER_JOB_RUN_DETAILS order by log_date desc
    Is there any limitation that we cannot execute scheduled jobs on a logical standby database. If i execute the relevant program (that is configured to be run as job in this scenario) as an individual procedure from SQL plus, it gets executed successfully implying there is no errors/problem in the subprogram that the job is going to invoke.
    Appreciate your thoughts in this regard.
    Thanks.

    Hi Justin,
    Thanks for your response.
    As per the app design, the job invokes a stored program(that maps to a stored procedure present in standby db itself) that reads the data from standby and populates the relevant tables/entities in another database(third db, not primary or standby) which acts as a repository. No write operations are to be performed on standby.
    So, i have two doubts:
    -- Can scheduled jobs execute on logical standby db[Oracle release 10g(R2)]
    I was going through few of the oracle docs and it is mentioned that this is a known limitation in 10g
    R2 release and has been corrected in 11g. Now we have something called database_role
    attribute that needs to be set to 'LOGICAL STANDBY' if you need to execute a job on
    standby. However it is available in 11g onwards.
    -- If there is no workaround for the above mentioned problem in 10g-R2 release.
    Then we may have to schedule a job from third db instance that shall invoke the program(residing on the standby db). Can we have a scheduled job which executes a program that maps to a remote stored procedure instead of local stored procedure?
    Appreciate your thoughts.
    Thanks

Maybe you are looking for

  • Problem with software update (N95 8gb)

    I have recently updated the software pn the phone (previous version was 10.0) the new version is 20.0.016 28-02-08 RM-320 Nokia N95 (60.01) now my music player does not work properly .. it keeps saying that its searching and loading, and then freezes

  • My time capsule will not connect to the internet.

    Please help.  Just purchased a brand new 2T airport time capsule for my MacBook Pro and my other apple devices.  I have the ethernet cable plugged into the TC and into my Westell modem, in the correct jacks.  There is a green light on the connection

  • Office 2013 w/SP1 OCT - Lync 2013

    Hi, We are trying to deploy Office 2013 w/SP1 from the ISO image -35821 using OCT. We have created a new CUSTOM.MSP file everything is installed as expected in the MSP file EXCEPT Lync 2013. In any way we are able to install it. If we run the setup m

  • Epson All-in-One can no longer scan.

    I own two different Epson All-in-One printers that worked perfectly fine for Wi-Fi scanning.  Now, they do not appear anywhere as a scanner.  I have ensured all software and drivers are current.

  • HT1473 how can i get my library to copy from my i-pod shuffle to my computers i-tunes library?

    How do you get a library to copy from an i-pod shuffle to the i-tune library on the computer?