Not getting sets for jsp:useBean bean when in request scope

I have a JSF (JSP) page in which I have a bean that I declare using jsp:useBean.
The bean implements Map. I have a h:inputText and an h:inputHidden with a value referencing the bean.
The odd thing is that if in jsp:useBean, I set the scope to session, everything works as I expect. However, if I change the scope to request, the put method on the bean never gets called.
Can anyone explain why this is happening?
Thanks,
ken clark

Yes, I understand that old data I had is gone -- that is fine, I expect that.
My question is, why do I not get calls on the put method of my Map implementation when the screen is submitted? (I have a breakpoint in the method in the debugger, so I know when I get hit.)
If the scope is session, I get put calls (yes, the old data is there, it gets overwritten).
If the scope is request though, I simply never see the calls made at all, and my application errors out for lack of data.

Similar Messages

  • Batch Management Indicator not getting set for material master

    Hi,
    In one of the material we need to mark the Batch Management Indicator in Material MAster. We had removed all the stocks from the material. But still we are getting error, Stock exists for the material in Plant XXX and Sloc YYY.
    I checked in MARD table and MMBE that for this maaterial there are no stock for said Sloca and Plant.
    One thing which I noticed in the Material Master and MARDH table that there exists some stock in Previous persiod for the said Sloc and Plant.
    Need to know is this error is due to stock shown in previous period. Why system is checking the previous period stock.
    How can we resolve our issue and check this Indicator.
    Please let me know as earliest as possible.
    Thanks
    SG

    Hi,
    Refer OSS Note 30656 - Change base unit of measure/batch mngt requirement
    Following are the details of this note;
    Symptom
    When maintaining a material master record, you change the base unit of measure or the batch management requirement indicator or the valuation category. The system then tells you that this change is not possible since stocks still exist. However, no stocks are shown for the material in the stock overview.
    Reason and Prerequisites
    The message that stocks still exist refers not only to stocks in the current period, but also to stocks in the previous period.
    The reason for checking previous period stocks is that postings can also be made to the previous period when entering goods movements. This would result in inconsistencies if the base unit of measure had meanwhile been changed.
    Solution
    Please check whether stocks still exist for the previous period by displaying, for example, the plant stock view or storage location stock view of the material. You do this by selecting "Extras -> Previous period -> Prev. pd SLoc. stock or Prev. pd plant stock".
    If previous period stocks exist, you can make a withdrawal posting as follows:
          1. Post the same amount to current period stock (for example, using movement type 561) so that previous period stock and current period stock are identical.
          2. Make a withdrawal posting in the previous period for the stock together with posting date (for example, using movement type 562).
    You can now try again to change the base unit of measure or the batch management requirement indicator.
    Since the posting of the previous period values to zero is identical with posting to the stocks of the current period, you should reverse the above stock postings (i.e. the stock from the previous period should be booked in again) to make sure that the stock values from the previous and the current periods correspond to the state before the change. Please note, however, that the postings are then carried out using the changed master data from the current period (e.g. account determination, etc.)
    Regards,

  • I am getting this for the first time when i sync .iphone 3gs error message itunes could not sync calendars to the iphone because the sync server failed to sync iphone

    i am getting this for the first time when i sync .iphone 3gs error message itunes could not sync calendars to the iphone because the sync server failed to sync iphone

    I have tried the suggestion to reset the sync log to no avail. Anyone have another idea? This just started after I downloaded 4.3.5.

  • Variable value is not getting set in BEx / WAD

    Hi,
    We have a WAD report where we have selection on Comp Code which is restricted to a variable Var1. In the same WAD, a button group is used to execute a Planning Sequence, it has a filter for Comp Code which is restricted to a mandatory variable Var2.
    Idea is unless the user selects a value for Comp Code in WAD selection screen(Var1), the button group to execute the Planning Sequence will not be visible. When this button group is visible and user clicks to execute the Planning Sequence, the value for Var2 is supposed to get the same value as Var1 since in the underlying BEx query of WAD, we have restricted Comp Code InfoObject with Var1 in Default Values region.
    This was working absolutely fine in BW 7.3. But recently we upgraded to BW 7.4 and now the value for Var2 is not getting set if user selects the value for Var1.
    Appreciate any help on this.
    Note: The issue will resolve if we use the same variable in BEx query as well as the Planning Sequence, but this is not feasible in our case.
    Thanks and Regards,
    Shravan Marathe

    Hi Suman,
    As the issue came up with the latest BW 7.4 upgrade, we are looking for a work around may be implementation of Notes instead of going for an alternative.
    Thanks and Regards,
    Shravan Marathe

  • Value is not getting set in messageTextInput item after PPR action

    Hi everyone,
    I have a page in which On selecting a value from a lov, the next messageTextInput item should be set to "dummy"(I am using setText() method for this). However its not getting set at that time . But if I apply the same code in click event of submitbutton, its getting set. i.e. some kind of page refresh event is required for this.
    Plz suggest me the way of achieving this through PPR.
    My code of controller is like this :
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    OAApplicationModule am =
    (OAApplicationModule)pageContext.getApplicationModule(webBean);
    /* validation code for Preffered ordering Method LOV */
    if (pageContext.isLovEvent())
    String lovInputSourceId = pageContext.getLovInputSourceId();
    if(lovInputSourceId.equals("PreferredOrderingMethodLOV"))
    if(!selectedPrefferedOrderingMethod.matches("URL"))
    String v_ani = pageContext.getParameter("AribaNetworkId");
    if(!v_ani.matches("dummy") || v_ani.length()==0)
    OAMessageTextInputBean aribaNetworkIDTextInputBean =
    (OAMessageTextInputBean)webBean.findIndexedChildRecursive ("AribaNetworkId");
    String dummy = "dummy";
    aribaNetworkIDTextInputBean.setText(pageContext, dummy);//.setText(pageContext,"dummy"); // here its not getting set on page
    String s = aribaNetworkIDTextInputBean.getText(pageContext); // however its showing "dummy"here
    }

    Hi,
    OAMessageTextInputBean aribaNetworkIDTextInputBean =
    (OAMessageTextInputBean)webBean.findIndexedChildRecursive ("AribaNetworkId");
    String dummy = "dummy";
    aribaNetworkIDTextInputBean.setText(pageContext, dummy);//.setText(pageContext,"dummy"); // here its not >getting set on page
    String s = aribaNetworkIDTextInputBean.getText(pageContext); // however its showing "dummy"here
    In processFormRequest() method we should not change bean properties.
    Instead, achieve your requirement using
    row.setAttribute() method.
    -Anand

  • VA00 condition type not getting determined for the returns order

    Hi All,
    I have a case where VA00 condition type not getting determined for the returns order that has been created with respect to the billing document.
    When the pricing conditions are being copied from invoice it is getting copied but later it is getting deleted in the include LV61AA42.
    Note:VA00 condition type is getting deleted from the  internal table tkomv[].
    If any one came across  this scenario can you please help me.
    Request your valuable inputs

    Hi,
    Please check the copy control setting in VTAA.
    Maintain the pricing type as "D" at item category level for the respective document type .
    Hope this will resolve your issue.
    Regards,
    Krishna O

  • Java.lang.Exception: Could not get name for DC project

    Hello Experts,
    We have a code which is downloaded from SVN repository.
    I have imported the code from my desktop into NWDS and when I try to deploy it throws,
    java.lang.Exception: Could not get name for DC project
    I have referred few threads in SCN and solution suggested is to change the workspace and create a new DC & copy the _comp from old DC.
    I tried the above solution but there are lot of build errors as we have few RFC models and it is throwing build errors for missing model reference.
    Kindly help me on how to fix the error.
    Thanks, Swarnaprakash

    Dear Swarnaprakash,
    The Web Dynpro DCs Import C:\----\user\.dtc\LocalDevelopment\DCs\sap.com\test and
    the related package for DC  is missing once check it after try to import.
    Depending on which Java compiler preferences are set, you may see some
    warnings in the "Task" view after importing the project. If the severity level for problems of type "Unused imports" (set in Preferences – Java – Compiler) has the value "Warning", the compiler will issue a warning for unused import references. Ignore these warnings!
    Still You getting means delete your .metadata before take the backup.after open the NWDS again it will set new configurations in your system.
    Thanks & Regards,
    Durga Rao.

  • Context attributes Not getting set

    Hi,
    I have created a Webservice model from a WSDL file, created a service controller and bound the same to the model. I have also created a view and bound my view to my controller.
    The problem I am facing right now is that certain fields of my request are not getting set.
    The structure of my context is as shown below
    Context
      |-OrderWS
          |- RequestNode
              |-NodeA
                 |-Item1
                 |-Item2
                 |-Item3
              |-NodeB
                 |-ItemA
                 |-ItemB
           |-ResponseNode
    Even though I have created Item 1,Item2,Item 3 elements of Node A as input fields in my View, they cannot be edited, when I run my application.
    Item1,Item2,Item3 have min occurance "0", max occurance "unbounded" , set in the WSDL file.
    Is there any way by which I can set these values?
    Why are only the Item1,2,3 fields not editable? (I have made sure that readonly =false,editable=true are set for these fields as they are for the other fields.)
    -Ashwini.

    Hello Ashwini,
    If I understand you correctly, your problem is, the input fields that you've bound to a model node is
    not open for editing. If yes then,I guess you are not setting the modelObject reference to the model node.
    So use this code in the appropriate method (<i>according to your requirement</i>) to make the input fields editable.
          I<yourView>.IOrderWSElement el
              = wdContext.nodeOrderWSElement()
                     .createOrderWSElementElement(new <i><b>correspondingInterface</b></i>());
         wdContext.nodeOrderWSElement().addElement(el);
             wdContext.nodeRequestNode().bind(new <i><b>correspondingInterface</b></i>());
             wdContext.nodeNodeA().bind(new <i><b>correspondingStructure</b></i>()());
    If this is not the exact problem, then please give an eloborate picture of the scenario.
    Bala

  • We are not getting email for any of the two new profiles in Production environment

    We are not getting email for any of the two new profiles.
    The new rules for sending e-mail work when using the initial profile.
    Only works for F9 and choose manually the profile is being sent.
    But siebel writes the log of both the \ BIN \ sent as if it had sent.
    operation:
    Standards (Policies) were created in the Activities (S_EVT_ACT) and Contacts table (S_CONTACT). When Standards (Policies) are reached trigger actions (Actions). These actions are linked to sending emails.

    The SMTP Adapter don't just "through away" messages. If your Tracked Service Instances shows that a message was sent through the Port, I am pretty sure that a mail was indeed sent. 
    -Are you using Static- or Dynamic Port?
    Can you try to set the Send Port in "Stopped" state, and then send a message to it. Examine the message suspended in BizTalk, and if everything looks ok, then start the Port again and check that the message has disappeared from both suspended and running
    instances in the Group Hub.
    If so, quickly check the mail box, make sure that no spam-filters etc. are messing up your test.
    Morten la Cour

  • Values not getting displayed for members which doesnt have parents

    Hi
    I created a product dimension with 4 levels .For members which doesnt have parents,data is not getting displayed in JavaClient.
    The values for members which doesnt have parents are getting displayed in the view created for the measures which are dimensioned by Product .I mapped the same view in the CWM2 work space ,but value is not getting displayed for members which doesnt have parents ,but values are getting displayed for members which have parents for measures.
    Is it a bug , we were able to do it in Express ..
    Can anybody help us in doing this.??
    Thnx in Advance......

    Hi,
    This assumes that the members which do not have parents are mapped to the top level in the hierarchy. If they are at a level below the top level then they are not part of the hierarchy and therefore would not be displayed. So this sounds like expected behaviour.
    Hope this helps
    BI Beans PM Team
    Oracle

  • RBA GATP check is not getting invoked for Sales Order

    Hi Everyone,
    RBA GATP check is not getting invoked for Sales order.
    I maintained the configuration settings for 'Rules-Based Availability Check', APO general settings (check mode, check instruction), carried out integrated rule maintenance, Rule determination for the combination of order type & product, associated the check mode to product master. Also maintained all the settings in ECC towards Req class, Req type, checking control etc.
    However, sales order is not invoking RBA Check though it is showing up the 'Rule' icon in the screen. Also, in the APO Availability check in Sales order when I click onto 'check instruction', I get the checking mode that pertains to RBA for business event 'A' (Sales order). Though I have not maintained any stock for the main material for which I have the sales order, yet system is confirming any quantity that I put in.
    I would expect that system would propose the same material in an alternate location where we have stock through RBA.
    Request you to share ideas on this.
    Regards,
    Avijit Dutta

    Hi Avijit,
    You should used No Checking Horizon in Checking instructions and also Check your rule control settings.
    What you have defined in 1st and 2nd steps. Check whether product substitution is carried out or Location Substitution.
    Thanks,
    Bala.

  • Header Vendor text is not getting displayed for PO in BBP_PD transaction.

    Hi Experts,
    We are upgrading   SRM 3.0 to SRM 7.0 .In the upgraded  sys the Header Text 'HTXT' is not getting displayed for the Purchase order created in BBP_PD. For the SCs  the Header text field is populated correctly.
    Inputs on this will be very helpful.
    Regards,
    Ravi.K

    Ravi,
    Check in IMG if the text schema is used in configuring PO transaction type. Define Transaction Types is the setting.
    SG

  • Proposals are not getting generated for BOM items in MD50

    Hi Gurus,
    I have maintained strategy 50 in MRP for header material , Item category gp as LUMF & maintained consumption parameters in material master .
    For dependent requirements i have maintained BOM for production & sales usage, Strategy is blank as it is customer specific component , Item category gp is NORM , individual requirements i.e 1 in MRP 4 view.
    MRP type is PD in both materials.
    When i run a MRP thru' MD50 after getting customer order.
    it is not planning my dependent requirements i.e. proposals are not getting generated for dependent requirements (BOM materials).
    Please let me know the solution.
    Thanx in advance
    Regards,
    Nagraj Vasmate

    try to use strategy 20

  • SQLloder scripts not getting generated for CLOBs

    I am trying to migrate MYSQL 3.23 database into Oracle 8.1.7 and after creating the Oracle model and after converting the MYSQL text datatype into CLOB of the Oracle model the SQLloader scripts is not getting generated for CLOB datatypes. I mean the scripts are getting created but there is no change in the script for CLOB datatype.
    The script generates the following for the table containing CLOB datatypes:
    mysqldump -h &lt;HOST&gt; -u &lt;USERNAME&gt; -p&lt;PASSWORD&gt; -T &lt;DESTINATION_PATH&gt; fields-terminated-by="&lt;ec&gt;" lines-terminated-by="&lt;er&gt;" test av_wbt_course
    Please let me know how to load data when the datatype is of CLOB ?

    I was able to resolve this issue by using OWM Oracle Migration instead of using offline method by sqlloader scripts.

  • I am part of a family sharing setup.  Can I have my own payment method so the organizer does not get charged for my purchases?

    I am part of a family sharing setup.  Can I have my own payment method so the organizer does not get charged for my purchases?  If so, how do I set this up?

    Yes.  Just redeem gift cards so that your own account always has a sufficient credit balance.  Here is how it works:
    Family purchases and payments
    After you set up your family, any time a family member initiates a new purchase it will be billed directly to your account unless that family member has gift or store credit. First, their store credit will be used to pay the partial or total bill. The remainder will bill to the family organizer's card.

Maybe you are looking for

  • ITunes overwrote data on my iphone now i have lost all my pictures I have taken between the last backup and now.

    I have been trying to contact the support team however my support has expired, I connected my iphone 4s to my computer and it started to sync nothing new, however, when I looked at my phone it actually restored my phone to a previous back up and i ha

  • Table unable to read data from CSV file

    Dear All, I have created a table which have to read data from external CSV file. The table is giving error if the file is not there at the specified location,but when i put the file at that location there is no error but no rows are returned. Please

  • Delete sales order with Purchase Order

    Dear SD Guru, We need to flag a material to be relavant for batch management but sales order already exists for this material. In this sales order, PO has been generated. I need to delete the sales order but I'm not allowed to because of the subseque

  • When is a query not a query?

    I've been tasked with amending a site written by someone else, and i've got a very strange problem with a particular query. When i run the query in Query Analyser (replacing the variables with their corresponding values) it all works fine, and even c

  • Upgrading to LC Designer ES (8.2)

    Currently we're in the process of upgrading all our forms to the new version of LC Designer ES (8.2).   We have designer 5.0, 7.1 and the newest version of designer loaded on a couple of our PC's.   When we launch the new version of designer and brin