Session variables is not getting updated in JSP

10-11  Source: Network gathering  Views:0 

Advertisement
Hi Floks,
I had a situation where in i need to populate the drop down depending on the action perfomed by user in menus.
An action method is triggered to load the scneario specific values to drop down
here is that
   PSSBuilder pssbuilder = new PSSBuilder();
            pssbuilder.getPlanTypesForCreateScenarioSnapshot(this,"S");
            getCCMPPSessionBean().setSelectedPlanType("0");
            this.getDrpPlanType().setRendered(true);
            this.getLblPlanType().setRendered(true);
            this.getDrpPlanType().setDisabled(false);
            Option[] opt = getCCMPPSessionBean().getPlanTypeOptions();
            Option[] tmp = new Option[opt.length-2];
            int j = 0 ;
            for(int i = 0 ; i < opt.length ; i++){
                 if((opt.getValue().toString().trim()).equalsIgnoreCase("SSMP") ||
               (opt[i].getValue().toString().trim()).equalsIgnoreCase("SRECON")){
     }else{
          tmp[j] = opt[i];
          j++;
getCCMPPSessionBean().setPlanTypeOptions(tmp);
// For debug
          opt = pssDetails.getCCMPPSessionBean().getPlanTypeOptions();
          for (int i = 0; i < opt.length; i++) {
               CCMPPLogger.getLogger().debug(
                         "Value [ " + opt[i].getValue() + " ] Label [ "
                                   + opt[i].getLabel() + " ]");
in my JSP im doing this
<ui:dropDown id="drpPlanType"
                                                                      binding="#{PSSDetails.drpPlanType}"
                                                                           items="#{CCMPPSessionBean.planTypeOptions}"
                                                                           selected="#{CCMPPSessionBean.selectedPlanType}"/> i can see the logs with the values i expected from my action method.
where as comming to the jsp its showing some other things other than which i see in logs..
Please help me
Thanks & Regards,
Shivaji Byrapaneni.
hi,
testdownload.setTocopy(blank);
check in testdownload class weather setTocopy (..) function is define or not
public void setTocopy (datatype var)
}
Related articles
  • Session variables is not getting updated in JSP 10-11

    Hi Floks, I had a situation where in i need to populate the drop down depending on the action perfomed by user in menus. An action method is triggered to load the scneario specific values to drop down here is that    PSSBuilder pssbuilder = new PSSBu

  • Function to get session variable is not working 10-11

    I created a report based on the following sql query: SELECT EMPNO, ENAME, JOB, MGR, HIREDATE, SAL, COMM, DEPTNO FROM SCOTT.EMP WHERE DEPTNO = empcust.current_deptno empcust.current_deptno is a function which returns the value of the session variable.

  • Server hangs and session variable value not maintained. 11-30

    dear all, this is exteremetly urgent. i upgraded my tomcat to 4.1.24.but i have problems running the same code which was working earlier, i get null in the value of session variable. and also get the following error ////////////////error got ////////

  • Backing bean properties not getting updated 10-11

    I have an input text in my JSP page and it is component-bound to backing bean. The problem is that when I change value of the InputText in the JSP, the value is not getting updated in the backing bean. Here is the InputField definition in JSP page. <

  • JTable containing checkbox column is not getting updated 10-11

    My application has a JTable and the first column is made up of checkboxes I have added a mouse listener for this table and implementd mousePressed(MouseEvent) method also. So when the user presses the mouse on these checkboxes I will update my loca d

  • Field not getting updated in BDC while running in background 10-11

    Hi Friends, I'm executing a BDC transaction to update the Alternate Tax Classification (VBAK_TAXK1) field in Sales Order. I'm passing value 1 to the field and then saving it directly. While running the BDC in background, the field is not getting upda

  • Contact person Rel.ship Data not getting updated in B2B Web User Mngt 10-11

    Hi CRM Gurus, Need some help on Web User Management functionality. Sub: Contact person Relationship data not getting updated when we change the company (to wich contact person belong to) in ISA CRM 5.0 Web User Management. we are currently on CRM ISA

  • Non-system session variable is not initializing 10-11

    Hi, I have created a non-system session variable using Row wise initialization, and using it in answers to filter a column. it is displaying below error State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occu

  • Processing log not getting updated for send immediatly 11-30

    Hi, I have a custom output type and a Custom function module for issueing the output for delivery, my prob is that it processing log is getting updated for the send in batch and other options but it is not getting updated for the SEND IMMEDIATLY, I a

  • 544 Movement ,Qty & value is not getting updated in MC.9 10-11

    Dear friends, MC.9 & MB5b report is showing difference in Qty & Value.In my analysis i came to know that 544 movement is not getting updated in MC.9. I also Checked the Statistically relev. key as 2 and Consumption posting   G  in OMJJ. I require

  • Master Data is not Getting Updated Properly. 10-11

    Dear Expert, I am trying to pull the data by Info package but The text is not getting updated. The Master data object is    0BPARTNER .  To update this Master data , we ghave 2 info packages 0BPARTNER_ATTR   and    0BPARTNER_TEXT.    But the text is

  • Tax is not getting updated in Sales Order Pricing Conditions 10-11

    Hi , Tax is not getting updated in Condition of sales order when creating Sales order but when we click on update button it is calculating correctly. Following are the changes for in the standard Pricing: 1) Created ZPSC condition type to calculate t

  • Data is not getting updated in CRM 10-11

    HI experts, I am updating the new address and postal codes in ISU.And now if I check these address for buisness partner in CRM. Its not getting updated. why this is happening? Is there any BDOC used in this case then how we can check that BDOC? Thank

  • Data is not getting updated in table using RFC 10-11

    Hi Experts, In my scenario, I am calling one RFC using RFC receiver channel. After running scenario, channel is showing status that RFC executed successfully. But when I am checking tables in R/3 system, data is not getting updated. Moreover , when w

  • The currency is not getting updated in the table VBAP 10-11

    Hi , The currency is not getting updated in the table VBAP. The currency was suppossed to be copied from the header table VBAK for a Sales Order. When the user creating a Sales Order the currency WAERK is not shown in VBAP table. VBAK-WAERk is in EUR

  • Data is not getting updated in DB table 10-11

    hi all i am doing IDOC to jdbc scenario i am triggering idoc from R/3 and the data is going into DB table sender side:       ZVendorIdoc receiver side: DT_testVendor   Table     tblVendor       action       UPDATE_INSERT       access      1:unbounded

  • Data is not getting updated in R3 from CRM 10-11

    Hi All,            I have a small query pertaining to CRM Middleware. We have extended the standard scenario using EEWB for sending few customer fields thru CUSTOMER_H. This is assigned to the adapter in R3AC1. The data is getting populated in the st

  • PO Vendor Email ID is not getting updated in PO Output Tab 10-11

    Hello Experts, We are facing any issue with the PO vendor email id. Scenario: While creating the PO, we are mapping the vendor address (Like, Email, phone no, fax no .)From shopping cart which are custom fields of shopping cart. And these address det

  • Item text (BSEG-SGTXT) is not getting updated in Payment document generated 10-11

    Hi All, Item text (BSEG-SGTXT) is not getting updated in Payment document generated through F110. After generating the payment document via Transaction Code u2013 F110, system is not updating the Text field (BSEG-SGTXT) in the payment document with t

  • Leave approved in Portal is not getting updated in Infotype 2001 10-11

    Hello, I am using the standard WF - WS12300111 for Leave Request in the Portal. The workflow is working fine in the portal; Manager could approve / reject the leave request in MSS and it is updating the portal Team calendar and ESS Employee Leave det