ADF UIX page displays data which is not in database

Using JDeveloper 10.1.2, I created an ADF UIX browse page. It worked correctly, showing all 200 rows that were in the database table. I then used JDev SQLWorksheet to delete 190 rows, so 10 rows remain. Now when I test the browse page, it still shows all 200 rows rather than the 10 rows which are in the table. I exited and restarted the application but the problem persists. Help.

Did you perform commit command from SQLWorksheet?
If not, perform it!

Similar Messages

  • Creating Oracle ADF uix Pages Tutorial

    In going through the "Creating Oracle ADF UIX Pages" Tutorial
    Step 5:Adding a Table - I'm running into problems:
    - In item 2, I can not find Provider in Design Structure window (I find it in XML Structure Window)
    - In item 3, I can not find datacomponent in General Component Palette
    - In item 5 I can not find inline component in General Component Palette
    Does this tutorial work or am I missing something?

    I'm having the same problem. I looked over the recommended tutorial and it didn't cover how to mock up data in xml for prototyping. I think this tutorial is for JDeveloper 9i and not 10g. How is this done in JDev 10g?
    I entered this from the xml editor: I also tried:
    without a data tag
    with a data tag and with an inline tag
    with an inline tag
    nothing seems to work...
    <provider>
    <!-- Add DataProviders (<data> elements) here -->
    <data>
    <book cover=""
    title=""
    author=""
    price=""/>
    </data>
    </provider>
    I get this message when I switch to design mode:
    The document is not in a valid state. Please edit this file in the code editor to resolve syntax problems and then return to the visual editor.
    It doesn't like the xml code. Any ideas in how to do this? I would like to prototype an applications without connecting to real data sources...
    Thanks in advance
    Keith...

  • Getting error message in debug "Page contains page items/buttons which are not assigned to a region!"

    Hi,
    I created a form and when I submit, it goes through but there is no "success" or "failure" message on Apex. I tried debugging it and got this message:
    "Page contains page items/buttons which are not assigned to a region!"
    I looked at the page definition and it seems like everything is assigned to a region. Much appreciate your help.
    Thanks!

    For your message, the relevant branch needs "include process success message" to be checked - and a value in success/failure in your process.
    Check the submitting & landing page for items not in a region. Under the items section there may be items listed separate to those under specific regions.
    It's possible these are related, but not guaranteed.

  • LOV /ADF UIX pages does not work on the older version od UIX page

    Hi
    I have recently migrated UIX project from the Jdeveoper 9i to Jdev10g version 1.0.1.2, everything work without any issue, however when I try to create a LOV or any component that are ADF-UIX based, but it does not work I don't even get any error, it just does not work based on the ADF-UIX (Expression base component),
    Any help to resolve this issue will be greatly appericated
    Thanks

    I too have problems with LOVs in UIX pages. I have
    some that you have to run twice to get back a value.To solve this problem,
    1) open your UIX page where you create a new row
    2) in the Structure window, click third tab "UI Model"
    3) double-click the control action binding corresponding to Create
    4) select CreateInsert from the list
    The problem is related to the fix we introduced for the "Blank Row Issue" (see http://www.oracle.com/technology/products/jdev/tips/muench/blankrow/index.html).
    If you have access to MetaLink, please refer to Note 299860.1 and Bug 4201020.
    Regards,
    Didier.

  • Display requestScope attributes within ADF UIX page

    In jsp I can do the following to display all attributes available in the current requestScope by
          < c:forEach var='parameter' items='${requestScope}'>
             < ul>
                < li>< b>< c:out value='${parameter.key} : ${parameter.value}'/></b>:</li>
             < /ul>
          < /c:forEach>How to do the same in ADF UIX (without using servletInclude)?

    Please provide an example
    This works
    <styledText text="parameterMap ${uix.bajaContext.servletRequest.parameterMap}"/>But this does not work.
    <stackLayout>
      <contents childData="${uix.bajaContext.servletRequest.parameterMap}">
             <styledText text="text: ${uix.current.key}"/>
       </contents>
    </stackLayout>How to use ${uix.bajaContext.servletRequest.attributeNames} for instance since this returns a java.util.Enumeration type?

  • Searching using a combination of MessageChoice & TextInput in ADF UIX  Page

    Hello,
    I'm trying to create a page in ADF UIX which implements search operation using a combination of "Message Choice" & "Text Input". I refered to the OTN How to's Document for "Building a list of Values (LOV) with ADF UIX". It's been mentioned in the document to create an LovInput component & when you do that an UIX page LovWindow0.uix is created by default along with two handler's "LovFilter" and "LovSelect".
    when I try to implement this concept in the simple UIX page with out creating a LOV Input field.... i.e; I tried to implement this concept by just using the List of values component.... I'm not able to associate a handler to the go button present in the default list of files component.
    Consider the scenario where I'm using the Departments View.. In the list I'm displaying the filter Choice & in the Text Input specifying the where condition...
    Can anyone please help me out on this...I'm new to this concept...
    Thanks & Regards,
    Arun
    Message was edited by:
    sam_1328

    Hi Sam,
    i think this link should have part of ur solution.
    http://www.oracle.com/technology/products/jdev/tips/shmeltzer/setwhereclause/uix.html
    There you need to make slight modifications to the codes so as to suite ur scenario of search(having a message choice to choose filter and a textinput for the search value)
    The new method that you add by reading the page can be modified.
    Origional method mentioned is
    public void setCondition (String p_cond)
    ViewObject empvo = findViewObject("EmployeesView1");
         //Creating a Where clause for the query
    String whereclause = "LAST_NAME like '%"+ p_cond +"%'";
    empvo.setWhereClause(whereclause);
    empvo.executeQuery();
    replace this with the new method
    public void setCondition (String p_filter,String p_value)
    ViewObject empvo = findViewObject("EmployeesView1");
         //Creating a Where clause for the query
    String whereclause = p_filter+" = "+p_value ;
    empvo.setWhereClause(whereclause);
    empvo.executeQuery();
    But if u have a filter which is suppposed to be charechter field den the code should be
    public final void setMoreConditions(String p_field, String p_value)
    ViewObject empvo = findViewObject("EmployeesView1");
    if (p_field.equalsIgnoreCase("last_name")||p_field.equalsIgnoreCase("first_name"))
    String whereclause = p_field+" LIKE '%"+p_value+"%'";
    empvo.setWhereClause(whereclause);
    else
    if (p_field.equalsIgnoreCase("manager_id")||p_field.equalsIgnoreCase("department_id") )
    String whereclause = p_field+" = '"+p_value+"'";
    empvo.setWhereClause(whereclause);
    else
    String whereclause = "";
    empvo.setWhereClause(whereclause);
    empvo.executeQuery();
    In the above code include all the charechter field names in the first if condition.
    I think that should solve ur purpose.
    Try it and let me know if ur having any problems.
    Regards,
    Vineet

  • How to invoke a jsp page from java which does not use Servlets?

    Hello,
    I am working in Documentum. I am trying to invoke a jsp page from another java page which does not use Servlets.
    I tried doing this by just instantiating the java class related to the jsp page from my present java class.In my java class related to the jsp page, I have defined onInit() and onRender() methods.
    Now, I am trying to call the jsp page from my present java class by just instantiating the java class related to the jsp page. This throws a java.lang.NullPointerException.
    Any comments or suggestions on this.Any help would be appreciated.
    Thanks,
    Ranjith M.V

    RanjithM.V wrote:
    Hello,
    Thanks for the reply. One important thing I forgot to mention. I am also using xml component.And?
    As this is the standard way used for coding in Documentum, I do not want to use Beans.Well, JSP's should, in and of themselves, contain no functional code. It should all be only display.
    Without that is it not possible?What did I say? I said,
    masijade wrote:
    It is possible, but I very, very, very, much doubt, that it would be worth the effort.And, if you don't know how, a forum is not truely going to be able to help you implement it (at least not in less than a few years time, at which point it would be outdated).
    >
    Appreciate your understanding and help.
    Thanks,
    Ranjith M.V

  • Populate Primary Key with DBSequence in ADF UIX page

    I have a table with a trigger, so that the primary key is populated by DBSequence. My problem is, I open a ADF UIX Input Page to create a row for my table. The field of the primary key is populated by any number but not with the logical sequence number. This number appears later, when I look at a row list. So the correct number is in the database but how can this already appear on my input page???

    You have to drop the trigger.
    Then make sure you have the Id field of your entity of type Sequence.
    Then go to your entity class and override the Create method.
      protected void create(AttributeList attributeList)
        super.create(attributeList);
        SequenceImpl s = new SequenceImpl("YOUR_DB_SEQUENCE_NAME", getDBTransaction());
        Number sVal = s.getSequenceNumber(); 
        setId(new DBSequence(sVal));

  • How to Display Column which is not in Subject area.

    Hello Everyone,
    I have one report requirement where i have to show one column which is not in subject area.
    e.g. report requirement is like where i need columns from 2 different subject areas.
    1 from PO & 2nd from Invoice.
    now i have PO related details in Invoice Subject area, but only one column is missing.
    rite now i m capturing that column related details in separate report and from there i am passing values to Main report.
    But what if i want to display that column in the main report.
    Please let me know your inputs..
    Thanks in advance..

    You can do this in 10g by using the Advanced tab in Answers. Scroll down to the part of this link titled, "Against two Subject Areas (Multiple Subject Areas)."
    http://gerardnico.com/wiki/dat/obiee/multiple_subject_area

  • ADF UIX page

    I am using the Jdeveloper 10g version 10.1.3.1.0. I am tring to create UIX page. but i can not find the where allow me to create UIX page.
    Please teach me about this. Thanks a lot!!!

    Hi,
    if you at the beginning of a project. consier JSF and ADF Faces. UIX is deprecated and will not have a future
    Frank

  • Fetching data which are not common

    Hi Gurus,
              I got an strange requirement it is to fetch data from 2 internal table from the same field name but the values should not be same.can any one tell me some logic for this? eg: fetch matnr from mara and mard into an internal table but the final result in the internal table should be values which are not common in both the tables.
    Ragards,
    Ravi

    how can mara and mard will differe in entries. if there is a entry in MARD there should be an entry in MARA since it is master table. so in this case you can do some thing like this.
    first get the data from both the tables..
    loop at it_mara.
    read table it_mard.
    if sy-subrc ne 0.
    "find the material which is not there in MARD and only in MARA
    "append the matnr to another table
    endif.
    endloop.
    may be you have taken a wrong example to describe.

  • [solved] To display Processes which are not running from constant process

    i have constant processes prostat1,prostat2,prostat3,prosta4,prostat6,prostat8,prostat9 (6 processes) runs to support the application
    Now my problem is
    i want to display the process which is not running (from the above 6 processes)
    Thanks in advance

    Try this
    echo "Constant processes not running"
    echo
    for PROC in prostat1 prostat2 prostat3 prostat4 prostat6 prostat8 prostat9
    do
            if [ ! "`ps -ef | grep $PROC | grep -v grep`" ]; then
                    echo $PROC
            fi
    doneBTW, those are 7....:-)

  • To print page tll data is avilable not whole page

    Hello sir,
    I am using VB6+CrystalReport.
    i a showing  data dynamically
    Report distributed in 3 parts.
    header,Data and Footer
    header having 8 lines and footer having 4 lines
    and data part is dynamic it may be one line, may be 5 and may be 20
    I have to print where Data is avilable not whole page
    please help me

    CR doesn't have an option to print just one part of the page. Your only option is to hide all parts you don't want to print first.
    Also, you should post your question to the Legacy Developer forum. I'll move it there for you.

  • How to read data which is not on interface of user-exit

    Hi experts,
    the data which I need is not on interface of user-exit. I can do export table to memory id and than in user-exit import that. Does this work always?
    I have seen that sometimes is possible to see data with
    (include-name)table-name. Can I always use this?
    In detail: in transaction ME51N is new tabstrip created with customer fields.I have to know the purchase order for the selected item which is filled on another tabstrip.
    Can anyone help me?
    Thanks.
    Best regards,
    Danijela

    Hi Danijela,
    To answer your question about the "(module)object" approach:
    Have you been in a user exit function and the data you need wasn't passed on to you? You can easily grab the data from the memory stack using this little trick. Let's say that you need some IDoc information that was created from the function IDOC_INPUT_DELVRY... You can get it directly from the call stack like this.
    The code was written in R/3 4.6C but should work in any SAP version.
    DATA: i_EDIDC like EDIDC,
          i_EDIDD like EDIDD occurs 0 with header line.
    CONSTANTS:
          c_EDIDD(21)  value '(SAPLV55K)IDOC_DATA[]',
          c_EDIDC(21)  value '(SAPLV55K)IDOC_CONTRL',
          c_E1ADRM1(7)      value 'E1ADRM1'
          c_SHPCON(6)  value 'SHPCON'.
    Field-symbols: <FC>, <FD> .
    clear: i_EDIDC, i_EDIDD.
    refresh: i_EDIDD.
    * Get the Control Record from memory
    assign (c_EDIDC) to <FC>.
    if SY-SUBRC = 0.
      i_EDIDC = <FC>.
      IF i_EDIDC-MESTYP = c_SHPCON.
    *   None of the partner information can be passed directly from
    *   the IDOC function, so we'll get it from memory.
    *   Get IDOC data records from memory
        assign (c_EDIDD) to <FD>.
        i_EDIDD[] = <FD>.
    *   Now you have the entire IDOC available to you without making
    *   a DB select.
        read table i_EDIDD with key SEGNAM   = c_E1ADRM1.
    *   Load new value HERE...
      ENDIF.
    ENDIF.
    I found this a long time ago on the web and used it successfully multiple times in the past.
    Hope this helps,
    Guenther

  • Find the Next available date which is not necessarily the Maximum Date

    Morning folks!
    I am trying to find the next scheduled appointment date (Including any day after today) for a patient which may not be the maximum date for that person. I am trying to do this in Oracle Forms. My Query is working in SQL*Plus but is not working in Forms.
    FUNCTION get_next_sched_date(P_PATIENT_ID in varchar2) RETURN DATE IS
      v_next_scheduled_date   patient_visit.target_date%TYPE;
    BEGIN
      select next_target_date into v_next_scheduled_date
      from   ( select v.*, max(target_date) over (partition by patient_id) max_target_date,
                           lead(target_date) over (partition by patient_id order by target_date) next_target_date
               from   patient_visit v)
      where  patient_id = P_PATIENT_ID
      and    next_target_date >= SYSDATE
      and    max_target_date > next_target_date;
      return( v_next_scheduled_date );
    EXCEPTION
       when NO_DATA_FOUND then
         return(NULL);
    When I compile this in Oracle Forms, it gives me an Error.Encountered the symbol "(" when expecting one of the following: ,from.
    I also noticed that Oracle Forms is not liking keywords such as LAG and LEAD. I am working on Oracle Forms 9i.
    Any idea what I am doing wrong here? Thanks for listening to my Monday harping. :-)
    Forms [32 Bit] Version 9.0.4.0.19 (Production)
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit ProductionEdited by: Roxyrollers on Aug 27, 2012 8:43 AM
    Edited by: Roxyrollers on Aug 27, 2012 8:46 AM

    Thanks.
    For now, I have another simpler solution. I was just curious if the first way would have worked.
    select MIN(target_date) into v_next_scheduled_date from patient_visit v1
    where  patient_id = P_PATIENT_ID
    and    target_date >= SYSDATE
    and    target_date <= (select MAX(target_date) from patient_visit v2
                           where  v2.patient_id = v1.patient_id);Edited by: Roxyrollers on Aug 27, 2012 9:16 AM

Maybe you are looking for

  • How to create a dynamic sum of month in webi

    Hello, i am afraid because i could realize easily a report in BEx and i don't arrived to do that in Webi (XI R2).... To simplify i want to do that: Month _____________| January_|  Feb_|_March_|_Apri_|_May_|_June_| ... Sales __________ ___|_10_____|_3

  • Crystal Report Fails on Large Jobs

    Post Author: Lynn CA Forum: Crystal Reports We have developed user software in VB6 using Crystal 8.5.  We use SQL Server for the database and a DSN for the report connection.  Our problem is that when a large print job is sent to the printer, it some

  • DBD::Oracle works via perl CLI but not thru Apache

    Hi - I'm beating my head against a wall. We're trying to transition from our old Solaris machines to newer, virtual Linux machines. We're running CentOS, x86-64. Oracle Instant Client v11.2 Perl: ActivePerl 5.14.2 built for x86_64-linux-thread-multi

  • Purchase rebate process pricing procedure RM5001 missing in ECC6.0 EHP4

    Hi All, We are implementing Purchase Rebate Process and recently we have upgraded from 4.6C to ECC6.0 with EHP4 package. In customisation for subsequently settlement for Rebate process we have only 10 pricing schemas where as it has supposed to be 26

  • Hide Exit Command Button

    Hi! Does anyone know how to hide the exit command button in the nokia series 80 which is automatically inserted by itself? I need to hide the exit command button because if the user select the default button, my application is still running at the ba