BEx Displays Wrong Values After Reloading InfoCube

I am very new to all of this, so there is a good chance I have just done something stupid.  I have an InfoCube in which I deleted all of the data, and then reloaded it with corrected data from the PSA.  If I look at the raw data in the InfoCube, it looks fine.  If I run a query with either BEx Analyzer or BEx Web Analyzer, key figure data is doubled, as are the result rows.  I believe it has to do caching for that particular Query, because I can create a new one and it will display the data correctly.  Does anyone have any ideas what might be causing this to happen? Or how to clear out the cache?
Thanks

Well, by the time I got back to look at it, it was working fine.  Which told me it was related to caching.  So I decided to recreate it.  In order to do this, I cleared out the request from the InfoCube, and then went and modified a few rows in the PSA.  After the DTP, I once again checked the Query and it was wrong.  I first checked the Request IDs, and I only had the new one.  I then went into RSRT and deleted just the cache for that query.  After that, the query was working again!  Thanks for your help. 
Now my questions are how long does it take for the cache to recycle, and what actions can prompt it to recycle (such as changing the query)?

Similar Messages

  • Exception Aggregation (Average) displaying incorrect values after EHP1 Upgr

    Hi All,
    Exception Aggregation (Average) displaying incorrect values after EHP1 Upgrade in our BW system
    We have recently upgraded the system to EHP1. After the upgrade some of the queries where we are using Exception Aggregation (Average) started giving the incorrect values.
    Eg. We are displaying three Key Figures KF1, KF2 and KF3 (=KF1 %A KF2) against Store Hierarchy. In KF3 we are using Exception Aggregation (Average) on a characteristic 0PLANT.
    There are 14 rows against 0PLANT and out of those 2 rows are blank for KF1, so for KF3. When it is calculating the average of these key figures its dividing the total value by 12 instead of 14 which is not correct in our case. Earlier it was dividing the total by 14.       
    So in this case 'Average' and "Average of all values <>0" are behaving the same way.
    Kindly provide some inputs on this.
    Best Regards,
    Sachin Verma
    +44 7506740018

    Hi,
    Thanks for viewing the thread. And happy to let you know that the issue was resolved.
    The solution was:
    Two formulas (local) were created, one including the formula variable with replacement path for ZD1, with exception aggregation on ZD1, and the other with formula variable with replacement path for ZD2, with exception aggregation on ZD2. Both these formulas are hidden.
    Another formula (local) was created for u2018time takenu2019 = formula with ZD1 u2013 formula with ZD2, with exception aggregation total on u2018ZDOCNOu2019.
    For the second instance, when one requires exception aggregation on records that has multiple values for keys, a nesting of formulas can be done displaying only the ones required.
    For e.g. a formula with exception aggregation on say characteristic u2018item no.u2019 can be hidden, and included in another formula for exception aggregation on characteristic u2018document no.u2019. This is a typical case where one can achieve calculation before aggregation for a calculated key figure, formula or a counter.
    Hope it might help someone, and saves time and effort for a similar issue posted.
    Also would like to keep this thread open for exploring better solutions.   
    Regards,
    Vijay

  • Webi displays null and wrong values after BW upgraded to SP6

    Hi,
    Webi report retrieves blank values after BW Backend upgraded to SP6.
    We were on SAP EHP 1 for SAP Net Weaver 7.0 and SP4. On the BO side we are on BO XI R/3 FP 2.1.
              Once we add new filters to a simple webi query the webi displays the null values for the characteristics which already exist in the report and more ever wrong values displayed for few columns. We have checked the MDX query in BW by using 'MDXTEST' and the results are good.
            It looks like that it is a rendering issue in Webi side and exactly no idea...
    Can anybody know how to fix the issue or any SAP notes exists for resolving this?
    Thank you,
    Regards,
    Satya

    Hi Ingo,
    We are also facing the same issue that satya is facing.
    We have developed the reports in BO XI 3.1 SP2 FP2.1 and SAP BW 7.01 EHP1 which was running correctly and showing the right result.
    But we upgraded the BW system to SAP BW 7.01 SP6 and check the WebI reports which was showing the unexpected results. ( instead of n rows it shows only 1 row for any query without dimension values)
    So we upgraded the BO sys to BO XI 3.1 SP2 FP 2.6 and checked the result but no luck with that also.
    The workaround i found is i must need to add the Node objects from the universe in the Query which are also used in the query filter of Web Intelligence. But this is not reliable as we need to change all the developed queries.
    We have also tried to perform the things shown in the notes but no MDX trace is enabling.
    Please let me know if there is any other solution.

  • JSF keeps displaying old values after Validation Phase fails

    Hi all,
    I would like to ask some help in understanding a particular behaviour that JSF shows when Validation Phase fails.
    I'm using:
    - Tomcat 7.0.2
    - JSF 1.2_12
    - RichFaces 3.3.3
    Problem description.
    I wrote a form with 4 input fields: an inputText and 3 selectOneMenu. The inputText is required while the selectOneMenus don't require any validation.
    Attached to the first selectOneMenu (row 32), is an a4j:support tag so that, whenever the change event is fired, the list of items of the second
    and the third selectOneMenu (row 44 and 58) are correctly filled (note that the mandatory of the inputText is ignored thanks to the ajaxSingle attribute).
    In particular, after loading the two lists of items, the actionListener forces the value of the second and the third selectOneMenu to null.
    This mechanism seems to work fine until I submit the whole form without filling the input text: as expected, JSF validation fails but if I change the value of
    the first selectOneMenu again (causing a new submit), the page keeps displaying the values specified before JSF validation failed for the second and the third
    selectOneMenu (note that the actionListener is still called and the values of the second and the third selectOneMenu are still forced to null).
    Since I'm using a simple PhaseListener, I noticed the following: before JSF validation fails, every time I change the value of the first selectOneMenu, JSF life
    cycle always calls the get method for the second and the third selectOneMenu during the Render Response Phase. In this way, JSF is able to "see" that
    those values have been set to null during the Invoke Application Phase.
    After validation fails, JSF stops calling those getters when I change the value of the first selectOneMenu.
    I hope my explanation was clear enough, thanks a lot for your help.
    Regards,
    Nico
    Web Page
    <?xml version='1.0' encoding='UTF-8' ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
                          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"
          xmlns:f="http://java.sun.com/jsf/core"
          xmlns:h="http://java.sun.com/jsf/html"
          xmlns:a4j="http://richfaces.org/a4j"
          xmlns:rich="http://richfaces.org/rich">
    <head>
      <title>Prove Rich</title>
    </head>
    <body>
      <h2>Prove Rich</h2>
      <f:view>
      <a4j:outputPanel ajaxRendered="true">
        <h:messages style="color:red" />
      </a4j:outputPanel>
      <h:form>
      <p>
         Input required: <h:inputText value="#{provaProbReplyBean.inputRequired}" required="true" />
      </p>
      <p>
           <h:outputText value="Scegli il canale:" />
           <h:selectOneMenu value="#{provaProbReplyBean.canale}">
            <f:selectItem itemLabel="--" itemValue="" />
            <f:selectItem itemLabel="Profamily" itemValue="Profamily" />
            <f:selectItem itemLabel="Captive" itemValue="Captive" />
            <a4j:support event="onchange" action="#{provaProbReplyBean.caricaProcBanche}"
                                  ajaxSingle="true" reRender="procedure, banche" />
         </h:selectOneMenu>
      </p>
      <p>
           <h:outputText value="Scegli la procedura:" />
           <h:selectOneMenu id="procedure" value="#{provaProbReplyBean.procedura}">
            <f:selectItem itemLabel="--" itemValue="" />
            <f:selectItems value="#{provaProbReplyBean.procedureList}" />
            <!-- immediately save the current value -->
            <a4j:support event="onchange" ajaxSingle="true" />
         </h:selectOneMenu>
      </p>
      <p>
           <h:outputText value="Scegli la banca:" />
           <h:selectOneMenu id="banche" value="#{provaProbReplyBean.banca}">
            <f:selectItem itemLabel="--" itemValue="" />
            <f:selectItems value="#{provaProbReplyBean.bancheList}" />
            <!-- immediately save the current value -->
            <a4j:support event="onchange" ajaxSingle="true" />
         </h:selectOneMenu>
      </p>
      <p><h:commandButton value="Submit" /></p>
      </h:form>
      </f:view>
    </body>
    </html>
    Bean
    public class ProvaProbReply {
         private String inputRequired;
         private String canale;
         private String procedura;
         private String banca;
         private Map<String, List<SelectItem>> canaliProc = new HashMap<String, List<SelectItem>>();
         private Map<String, List<SelectItem>> canaliBanche = new HashMap<String, List<SelectItem>>();
         private List<SelectItem> procedureList = new ArrayList<SelectItem>();
         private List<SelectItem> bancheList = new ArrayList<SelectItem>();
         public ProvaProbReply() {
              List<SelectItem> l = new ArrayList<SelectItem>();
              l.add(new SelectItem("Cessione del quinto"));
              l.add(new SelectItem("Credito al consumo"));
              l.add(new SelectItem("Mutui"));
              canaliProc.put("Profamily", l);
              l = new ArrayList<SelectItem>();
              l.add(new SelectItem("Credito al consumo"));
              canaliProc.put("Captive", l);
              l = new ArrayList<SelectItem>();
              canaliBanche.put("Profamily", l);
              l = new ArrayList<SelectItem>();
              l.add(new SelectItem("BDL"));
              l.add(new SelectItem("BM"));
              l.add(new SelectItem("BPM"));
              l.add(new SelectItem("CRA"));
              canaliBanche.put("Captive", l);
         public String getInputRequired() {
              return inputRequired;
         public void setInputRequired(String ir) {
              inputRequired = ir;
         public String getCanale() {
              return canale;
         public void setCanale(String c) {
              canale = c;
         public String getProcedura() {
              System.out.println("\ngetProcedura called\n");
              return procedura;
         public void setProcedura(String p) {
              procedura = p;
         public String getBanca() {
              System.out.println("\ngetBanca called\n");
              return banca;
         public void setBanca(String b) {
              banca = b;
         public List<SelectItem> getProcedureList() {
              return procedureList;
         public List<SelectItem> getBancheList() {
              return bancheList;
         public String caricaProcBanche() {
              System.out.println("\nListener called\n");
              procedureList.clear();
              bancheList.clear();
              if(canale != null && !canale.equals("")) {
                   procedureList.addAll(canaliProc.get(canale));
                   bancheList.addAll(canaliBanche.get(canale));
              System.out.println("BEFORE setting:\n");
              System.out.println("\nProcedura: "+procedura+"\n");
              System.out.println("Banca: "+banca+"\n");
              procedura = null;
              banca = null;
              System.out.println("\n\n\nAFTER setting:\n");
              System.out.println("\nProcedura: "+procedura+"\n");
              System.out.println("Banca: "+banca+"\n");
              return "";
    }Edited by: 869000 on 28-giu-2011 14.05

    I'm thinking this has to do with the fact that the UIComponents use the localValue after validation fails. This prevents the values from being overwritten when re-rendering the page, i.e. the inputs keep the value set by the user.
    The solution is to manipulate the components directly during the AJAX request when the first pull down is changed. Use the binding attribute to place them into your bean and clear the value directly. That way it will not matter that the expression is not evaluated.

  • Cost in document currency is displaying wrong values

    Hi Experts,
    We have observed for some of the documents in VF03, cost is coming wrong.
    Scenario :
    When we are going to VF03 screen Cost in document currency is some value, when we click on the material and go to condition tab and then come back to previous screen, Cost in document currency is some other value.
    For Ex : For Billing Document A, intially Cost - 1000 when we clikc on the material and go to condition table and then come back, then the cost - 500.Document type is Z document type. For only some documents we are getting this kind of error.
    Kindly help me on this.
    Thanks and Regards,
    Zakir Appas A

    Hi kavi,
    Purge your cache in rpd and try to see the grand total once again. For me data is displaying properly now.

  • Aggregation displays wrong value

    Hi,
    OBIEE 11.1.1.5
    I have 3 columns, Column1,Column2,column3
    based on 3 columns,I have done agregation like below
    a=column1*column3 (result comes correct)
    b=column2*column3 (result comes correct)
    c=a/b (result wrong)
    Something like this i have used : (column1*column3)/(column2*column3)
    can i know why it comes wrong

    Bernhard,
    I must correct what I said in the last post. The correct statement is: When a region is rendered, the items in that region obtain their values and those values are also copied to session state. They can be referenced on the page after that point. What is inconvenient is that after an automatic row fetch process has already executed, e.g., before header, you can't reference the associated items to obtain the fetched values until after the items are assigned values during the rendering step. That's what we hope to fix.
    Thanks,
    Scott

  • DB Enterprise Manager displays wrong values

    Hi,
    I modified the size of db_recovery_file_dest_size from 10GB to 15GB and manually deleted the archive log files (size 9.7GB) from destination and also restarted the DB. Even then the enterprise manager displays the free space as only 5GB instead of 15GB.
    Please provide suggestions.
    DB version: 10.2.0.2.0
    Regards,
    Ashraf

    Thanks for the tips - but:
    I never deleted the archivelogs - I increased the db_recovery_file_dest_size parameter - this is on ASM so the RMAN backups clear the archive logs after the backup. So there's > 40GB free, but OEM doesn't see that - even on the Individual Metric screen it thinks it's 90% full when it's more like 5%.
    This isn't dbconsole, is it? It's grid control... I don't know if that matters, but it has been restarted - the RAC DB has also been restarted.
    I really don't want to drop and re-add the target - this is a production instance and has a number of jobs associated with it.
    Is there a way to clear the alert and have it re-check?

  • Date Picker shows displays wrong timezone after Apex 2.2 upgrade

    After upgrading from 2.0 to 2.2, all date pickers in all applications now display the time in GMT instead of GMT - 7.
    For example: before upgrade 08/03/2006 9:00 -- after upgrade 08/03/2006 16:00.
    The date and time on the server is set to GMT - 7. The database displays GMT - 7 in all other non-Apex apps.
    I suspect there's a global preference that needs resetting, but I can't find it.
    Cheers,
    Jaime

    Hi Jaime,
    What you are witnessing is a feature and not a bug. Shame on us for not making this change in behavior more prominent. But this feature ultimately emanated from the posting at:
    Re: Date Picker and timzone
    In Application Express 2.2, if you are using a DatePicker, the current date and time will be computed based upon LOCALTIMESTAMP. LOCALTIMESTAMP is time zone aware. By default, it will use the database's time zone.
    To control the user's time zone setting in your application, you could add a before-header application-level process (and, ultimately, another one on Submit) to issue a PL/SQL statement like:
    execute immediate 'alter session set time_zone = ''America/New_York'' ';Note:
    1) Those are sets of two single-quotes around America/New_York, not double-quotes
    2) Obviously, you'd replace America/New_York with your favorite time zone. The full list is at:
    http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14225/applocaledata.htm#sthref2012
    As a quick demonstration, run the following block in SQL Commands on apex.oracle.com or your favorite APEX instance:
    begin
        dbms_output.put_line( 'LocalTimestamp Before: ' || localtimestamp );
        execute immediate 'alter session set time_zone = ''America/New_York'' ';
        dbms_output.put_line( 'LocalTimestamp After: ' || localtimestamp );
    end;
    /I hope this helps.
    Joel

  • Clstr display wrong value

    Hi,
    ( Payroll is already posted. I need solution bec..from next payroll onwards it shows correct values)
    /552 State Net  Subs Adjustment =  500.00
    is not display in pay slip. But it  add in cluster table.
    What to do? to get proper values.
    Pl give sugg.

    Hello,
    This query is really not clear. /552 is basically sum of /551 of retro periods processed during payroll run of current period - with a reverted sign. It will be included in bank transfer (/559) or cash payment (/557) wage types. Usually these wage types are posted. So /552 may not be configured for posting. Depends on configuration.
    Independent of posting, it will always be part of cluster (RT cluster table).
    Hope this helps. If not, pl explain the query in more detail.
    Best Regards,
    Biraju

  • Display Wrong values in a Circular Queue

    Hi i did a test for the Circular Queue but get weird values . must i do some sort of casting ?
    The output of test is State of Data structure is [RingBufferNode@1a758cb, RingBufferNode@1b67f74, RingBufferNode@69b332]
    instead of [string1,string2,string3]
    class Test  {
      public static void main (String args[])  {
        TradQueue s1 = new LinkedQueue ();
          s1.enqueue ("string1");
           s1.enqueue ("string2");
            s1.enqueue ("string3");
         String a = s1.front().toString();
         System.out.println("State of Data structure is " + s1); LinkQueue Class
    class LinkedQueue implements TradQueue {
    RingBufferQueue elemdata = new RingBufferQueue();
      public LinkedQueue ()  {
      public void enqueue (Object o)  {
        elemdata.addLast (o);
      public void dequeue ()  {
        elemdata.removeFirst ();
       public Object size(){
      return elemdata.size ();
      public Object front ()  {
        return elemdata.getFirst ();
      public boolean isEmpty ()  {
        return elemdata.size() == 0;
      public String toString ()  {
       boolean firstelt = true;
        String result = "[";
        for (Enumeration elts = elemdata.elements();  elts.hasMoreElements(); )  {
          if (!firstelt)
            result += ", ";
          firstelt = false;
          result += elts.nextElement ();
       result += "]";
       return result;
      public Enumeration elements ()  {
        return elemdata.elements();
    }RingBufferQueue Class
    public class RingBufferQueue implements Queue {
    //private RingBufferNode [] a = new RingBufferNode [5];
    private Object [ ] RingBufferNode = new RingBufferNode [5];
          * initialize an empty ring buffer queue
         public RingBufferQueue () {
              firstFree = new RingBufferNode(firstFilled);
              firstFilled = firstFree;
              firstFree.next = firstFree;
         private RingBufferNode firstFree, firstFilled;
          * Determines whether the collection is empty
          * @return true if the collection is empty
         public boolean isEmpty() { return firstFilled == firstFree; }
          * Determines number of elements in collection
          * @return number of elements in collection as integer
         public int size () {
              int count = 0;
              RingBufferNode p = firstFilled;
              for (; p != firstFree; p = p.next) count++;
              return count;
          * Yields enumerator for collection
          * @return an <code>Enumeration</code> that will yield the elements of the collection
          * @see java.util.Enumeration
              public Enumeration elements () { return new RingBufferEnumerator(); }
          * add a new value to end of the collection
          * @param value element to be inserted into collection
         public synchronized void addLast (Object val) {
              if (firstFree.next == firstFilled)
                   firstFree.next = new RingBufferNode(firstFree.next);
              firstFree.value = val;
              firstFree = firstFree.next;
          * access the first value in collection
          * @return element at front of collection
          * @exception java.util.NoSuchElementException no matching value
         public Object getFirst () {
              if (firstFilled == firstFree) throw new NoSuchElementException();
              return firstFilled.value; }
          * remove first value in collection
          * @exception java.util.NoSuchElementException no matching value
         public synchronized void removeFirst () {
              if (firstFilled == firstFree) throw new NoSuchElementException();
              firstFilled = firstFilled.next;
    private     class RingBufferEnumerator implements Enumeration {
    private RingBufferNode ptr;
    public RingBufferEnumerator () {
    ptr = firstFilled;
    public boolean hasMoreElements(){
    return ptr != firstFree;
    public Object nextElement () {
    Object result = ptr.value;
       return ptr = ptr.next;
    class RingBufferNode {
         public Object value;
         public RingBufferNode next;
         public RingBufferNode (RingBufferNode n)
              { next = n; }
    }

    can i ask 1 more question ?
    im having problems declaring the size of the ring buffer queue, is my method below correct ? Because i tried enqueue more than 5 objects and it still seems fine to me. Is there another method of declaration ? please advice.
    private Object [ ] RingBufferNode = new RingBufferNode [5];
    Your container is backed by a linked list data structure, there is no need for an array. And as far as I can see, you never use that array try commenting out the array deceleration, most probably your code would work just fine.

  • Asset explorer -Wrong value displayed after retirement of an asset.

    Hi All,
    We have posted a settlement from AUC to Assetas 30.11.2009 .The amount settled is a negative amount (-100) .The asset value  is  for ex : Rs100 and after settlement the asset value is Rs 90.
    Then we had made retirement to that asset  of Rs 10(positive value) using tcode FB01 and TTY 20A.Then the asset value should reflect as Rs 100 again.
    I am not sure why the system now displays asset value as Rs 100 +Rs 10(retirement - positivevalue) = Rs 110 as asset value.
    However system should do Rs100 +(Rs -10) +Rs10=Rs100 as asset value in asset explorer.However it displays amount as Rs 110.
    Please advice where do i correct to get the values displayed correctly in asset explorer.
    Regards
    Rekha

    hi
    first implement notes 988238, then please recaculate the values.
    Blaz

  • Display F4 values as TEXT ONLY on selection screen of Bex report

    Hi,
    I have InfoObject with text(short) loaded for it. In Bex report on selection screen, I need to display ONLY TEXT values when you do F4 for values. How this can be achieved? I get key & text both now.
    Please note that I have tried all below settings -
    1. Set Text in InfoObject maintenance screen.
    This setting is over-ridden if you have multiprovider specific settings defined.
    2. Set Text in Infoprovider Specific properties.
    Here if you do KEY only, it works.. if you do KEY & TEXT, it works... but if you do TEXT only, it DOESNT work. It works for filter F4 values after report is executed but doesnt work for F4 values on Selection screen. There is no way I am able to get TEXT only on F4 values on selection screen.
    3. Set Text in Query
    These setting defines how value is displayed on report output. Nothing to do with F4 or Filter values.
    Thanks
    Abhijit

    Forgot to mention - I am on BI 7.0 & Frontend 3.5
    Thanks
    Abhijit

  • Display Filter Values in BEx Report

    I have a BW query that has a dimension (Unit of Measure, UoM) in the filter area.  The user can only select one value for UoM.  The user selects "Z03" which corresponds to a UoM text value of "lb/1000 gal". How do I  display "lb/1000 gallons" at the top of the BEx report. 
    If this is not possible, I would like to at least display the value Z03 at the top of the report.  I prefer not to devote a whole column in the BEx report to UOM, since the user can only select one UOM.  I am new to BW and this is my first posting.

    Hi Jeff,
    if you have a variable for UoM you can add the value/text of the variable via textvariable to the query title.
    Please ask if you need more advice on this.
    Regards
    Marcus

  • How to display values after doing some business logic in data action

    hi guys i got the same problem but iam unable to display the values..in my display page when iam trying to do some business logic in my data action class..
    can u guys help me out
    iam pasting my code which iam working here
    my struts-config.xml
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
    <struts-config>
    <form-beans>
    <form-bean name="DataForm" type="oracle.adf.controller.struts.forms.BindingContainerActionForm"/>
    </form-beans>
    <action-mappings>
    <action path="/inputform" className="oracle.adf.controller.struts.actions.DataActionMapping" type="oracle.adf.controller.struts.actions.DataForwardAction" name="DataForm" parameter="/inputform.uix">
    <set-property property="modelReference" value="inputformUIModel"/>
    <forward name="success" path="/inputAction.do"/>
    </action>
    <action path="/inputAction" className="oracle.adf.controller.struts.actions.DataActionMapping" type="order.view.InputAction" name="DataForm">
    <set-property property="modelReference" value="displaypageUIModel"/>
    <forward name="success" path="/displaypage.do"/>
    </action>
    <action path="/displaypage" className="oracle.adf.controller.struts.actions.DataActionMapping" type="oracle.adf.controller.struts.actions.DataForwardAction" name="DataForm" parameter="/displaypage.uix">
    <set-property property="modelReference" value="displaypageUIModel"/>
    </action>
    </action-mappings>
    <message-resources parameter="order.view.ApplicationResources"/>
    </struts-config>
    my input form uix
    <?xml version="1.0" encoding="windows-1252"?>
    <page xmlns="http://xmlns.oracle.com/uix/controller"
    xmlns:ui="http://xmlns.oracle.com/uix/ui"
    xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
    xmlns:html="http://www.w3.org/TR/REC-html40"
    expressionLanguage="el">
    <content>
    <dataScope xmlns="http://xmlns.oracle.com/uix/ui">
    <provider>
    <!-- Add DataProviders (<data> elements) here -->
    </provider>
    <contents>
    <document>
    <metaContainer>
    <!-- Set the page title -->
    <head title=""/>
    </metaContainer>
    <contents>
    <body>
    <contents>
    <form name="form0" method="post">
    <contents>
    <messageTextInput model="${bindings.password}" text="username"/>
    <messageTextInput model="${bindings.username}" text="password"/>
    <submitButton text="submit" event="success" destination="inputAction.do"/>
    </contents>
    </form>
    </contents>
    </body>
    </contents>
    </document>
    </contents>
    </dataScope>
    </content>
    <handlers>
    <!-- Add EventHandlers (<event> elements) here -->
    </handlers>
    </page>
    my display uix
    <?xml version="1.0" encoding="windows-1252"?>
    <page xmlns="http://xmlns.oracle.com/uix/controller"
    xmlns:ui="http://xmlns.oracle.com/uix/ui"
    xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
    xmlns:html="http://www.w3.org/TR/REC-html40"
    expressionLanguage="el">
    <content>
    <dataScope xmlns="http://xmlns.oracle.com/uix/ui">
    <provider>
    <!-- Add DataProviders (<data> elements) here -->
    </provider>
    <contents>
    <document>
    <metaContainer>
    <!-- Set the page title -->
    <head title=""/>
    </metaContainer>
    <contents>
    <body>
    <contents>
    <form name="form0">
    <contents>
    <messageStyledText model="${bindings.password}" prompt="Prompt 0"/>
    <messageStyledText model="${bindings.username}" prompt="Prompt 1"/>
    </contents>
    </form>
    </contents>
    </body>
    </contents>
    </document>
    </contents>
    </dataScope>
    </content>
    <handlers>
    <!-- Add EventHandlers (<event> elements) here -->
    </handlers>
    </page>
    my model bean
    package order.model;
    public class TestBean
    private String username;
    private String password;
    public TestBean()
    public String getUsername()
    return username;
    public void setUsername(String username)
    this.username=username;
    System.out.println("the username after actions class:"+username);
    public String getPassword()
    return password;
    public void setPassword(String password)
    this.password=password;
    my data Action class
    package order.view;
    import oracle.adf.controller.struts.actions.DataAction;
    import oracle.adf.controller.struts.actions.DataActionContext;
    import oracle.jbo.uicli.binding.JUCtrlActionBinding;
    import oracle.jbo.uicli.binding.JUCtrlAttrsBinding;
    import order.model.TestBean;
    import org.apache.struts.action.ActionMapping;
    import org.apache.struts.action.ActionForward;
    public class InputAction extends DataAction
    * Delegate to the Struts page lifecycle implementation
    * {@link StrutsJspLifecycle#findForward findForward}
    * @param actionContext the lifecycle context for the DataAction
    * @throws Exception
    protected void findForward(DataActionContext actionContext) throws Exception
    // TODO: Override this oracle.adf.controller.struts.actions.DataAction method
    //super.findForward(actionContext);
    TestBean testbean=new TestBean();
    System.out.println("this is action form"+actionContext.getActionForm());
    String username=(String)((JUCtrlAttrsBinding)actionContext.getBindingContainer().findCtrlBinding("username")).getInputValue();
    System.out.println("this is username"+username);
    String username1=username+"hye wats up";
    testbean.setUsername(username1);
    ActionForward forward=actionContext.getActionForward();
    ActionMapping mapping =actionContext.getActionMapping();
    System.out.println("this is mapping"+mapping);
    mapping.findForward("success");
    // To handle an event named "yourname" add a method:
    // public void onYourname(DataActionContext ctx)
    // To override a method of the lifecycle, go to
    // the main menu "Tools/Override Methods...".
    check this out iam unable to display in my display page so help me out if any one can

    No, in this case, I'm using standard JSP with ADF and struts validator.
    If I don't use struts validator and there are errors (such as putting a string into a number which produces a jbo-25009), the list value will be retained.
    When using the validator, it appears that it is NOT retained.
    I've written some code to attempt to set the list element back, which "looks like" it's working right now.
    There's still a problem with the second scenario:
    1. user clicks checkbox and hits [submit]
    2. get's error - you have to enter 5 address items
    3. User wants to backout, so he unchecks the box and resubmits
    4. The box redisplays as "checked"
    SO, at that point, I thought... can't I use YOUR EXAMPLE on how to handle a checkbox.
    I place some code in the reset method of the form to perform this:
    map.put("AddressChangeFlag", (String) "" );
    (that is, I've detected via the request that this flag is null), so I'm trying to make sure it retains it!
    I do that and it runs into a problem during the processUpdateModel aT:
    BindingContainerValidationForm updateForm= (BindingContainerValidationForm) actionContext.getActionForm();
    //Get the binding for our particular column JUCtrlAttrsBinding checkBoxBinding = (JUCtrlAttrsBinding)updateForm.get("AddressChangeFlag");
    call, with an error:
    JBO-29000: Unexpected exception caught: java.lang.ClassCastException, msg=java.lang.String
    java.lang.String
    The value for updateForm.get("AddressChangeFlag") is "", which I'm assuming means the form field is no longer in the request object??
    I'm lost at this point, and have been working on it for more than 1 day.
    Thanks for responding though, and I await feedback ;)

  • Pictures display then turn black after reload or switching tabs

    Images on web pages load initially (usually) but then some turn black if the page is reloaded or if switching between tabs. Will also happen with pictures at bottom of pages on initial load. Sometimes the pictures will display normally again after scrolling, but not always. Happens when single tab is open, multiple tabs are open, and both in and out of private mode. Started in version 34 or 35, still happening in 36.

    Correction: desktop version works for new reply but not when editing a reply.

Maybe you are looking for

  • BC E-commerce integrated with Subscription Based Web Application

    I am considering using BC for my company's corporate website as well as the online store.  We sell a subscription based web application which will have 3 or more flavors (products) and will need to bill customers on a recurring monthly or annual basi

  • How to create Oracle XADatasource in SAP

    How to create XA Datasource for Oracle 10g in NetWeaver Application Server?

  • Icons Missing In Menu Bar

    Hi All, I upgraded from Yosemite 10.10.2 to Yosemite 10.10.3 tonight and am having a few issues.  The biggest issue I am having is half of the icons are missing from my menu bar.  There are blank placeholders for them.  I've included a screen shot. 

  • Is this a bug? Invisible file on timeline?

    I have a file laid out on the timeline and another file next to it. However, the first file cuts to this other file then cuts back to itself with nothing above or below it on the timeline. It's like there's a file that is invisible and can't be moved

  • What drive does the desktop downloader install products to?

    Hi, I don't want programs installed to C:\ I have other drives that I install programs to and the downloader is busy downloading and I have not been able to choose the drive where I want it  Can I choose somewhere?