Expert Mode ViewObject: default 'query by example' mechanism does not work

In JDeveloper 11G 1.1.1
I have created an Expert Mode view object(VO) which I'm trying to filter in an ADF Swing Panel
The Panel contains a Swing Table created by dropping a VO data control on the panel as an ADF bound Swing Table.
TEST
Run the panel.
Set the Query Mode on (from the Database menu)
Enter a relevant view criterion
Execute the Query
TEST FAILS
Table is refreshed but it still displays the entire VO collection (non-filtered).
Repeating the same experiment with a default, entity object generated VO works as expected.
Question
Can the default 'query-by-example' mechanism as provided by the JUTestFrame and the JUNavigationBar be used with Expert Mode view Objects?
If yes are there any tricks to making this work?

Hello Frank;
Additional TEST RESULTS
In JDev11G
The default 'query by example mechanism' does not work if you create a new View Object using the <Select data source...> option <Read-only access through SQL query>.
However, IT DOES WORK if you create a new ViewObject selecting <Updatable access through entity objects> and in the Query step you select <Expert Mode>
Could you please check and confirm.
Thanks!
Ioannis
Edited by: imouts on Dec 5, 2008 1:38 PM

Similar Messages

  • Defaulting query to SAP LIST VIWER not working! Please help!

    Hello everyone:
            I have some query's created in old version (4.6C) and we upgraded to ECC6.0. When you go to "SQ01"-Display you will see query properties and display is defaulted to "SAP list viewer". This works fine in older version but in newer version the query returns blank report!!! When I go to paramters selection page it does not show the options to select different outputs!! When I change it to ABAP LIST VIEWER in the properties and run the query, it works fine and also on the parameters selection page it shows th options for other displays! If I select "SAP LIST VIEWER" here it works fine!! Only when it is defaulted to "SAP LIST VIEWER" the query does not return anything! Did anyone face this problem before in newer version (ECC6.0)? Please give me any information you have. I will reward all the answers.
    Thanks.
    Mithun

    Hi Mithun,
    This is happening because SAP has changed the approach of creating the standard program based on the selection of output type.
    Now SAP calls a FM when you select SAP list viewer in the query.
    If you see the code generated when you choose different output type you will understand why it is happening.
    So it is better to select the output type as ABAP LIST VIEWER and then only change the output at the time of execution if required.
    Reward points if useful.
    Regards,
    Atish

  • New FocusTraversalPolicy Mechanism Does Not Work Well With OO Designs

    I would like to complain about the new focus traversal mechanism not working well with object-oriented GUI designs.
    Specifically, we have many reusable panel classes that can be swapped in and out of reusable dialog classes. On some of these panels, the default focus traversal is not what is desirable, perhaps because one component on the right side of the window is just slightly higher than a component on the left side, maybe due to the component on the right having a label on top, and so the default focus goes to the component on the right instead of the left. So we have a need to be able to explicitly define the order of components in some panels.
    If I try to define a focus traversal policy in the panel's constructor, a NullPointerException is thrown because the panel's focus cycle root is null (the panel has not been added to any dialog or frame yet).
    If I try to associate a focus traversal policy at the dialog level, it would have to explicitly reference its child panels' inner components, which would break the encapsulation of the panels. It would also make it hard to have generic dialog classes into which various reusable panel objects can be swapped.
    Someone suggested making each panel a focus cycle root. This makes it hard to "break out" of one panel to move on to the next panel in the dialog. Special keys would have to be assigned to try to cycle out, and these keys would have to be different than the normal traversal keys, making them inconsistent and nonintuitive to the user. Also, the focus policy would have to know if the dialog had more than one panel, what order the panels were in to know whether to cycle to the next panel or not, etc. This is a mess.
    Does anyone have any idea how to get around these problems? I have tried using a global focus policy with a global hash map of prev/next component key-value pairs, but we are still running into trouble with some deeply nested tabbed dialogs. It's just not possible to always have the focus cycle root in existence at the point where you want to explicitly define traversal between two components, or when you are trying to establish the default component for a panel in a tabbed pane.
    Has anyone else run into similar issues?
    Robbie Gilbert
    [email protected]

    I agree completely. One of the popular consultants on this forum stated that the new focus mechanism was more versatile and only a little more complex. I would say it's more than a little complex given the trouble average programmers are having understanding how it works...at least at first...and after understanding it realizing that they are going to have type their fingers off to update their code. Oh, and the dread of maintaining this awful mess.
    I'm currently having the same problem as you Robbie. Some of my reusable panels need special tab ordering...that's not usually a problem, in most programming environments, till now. Now I have to go around the world and back just to get my stupid cursor to be in the right place when I hit the tab key??!!! and special key mappings just to get out of a focus cycle...lame.
    And how is an IDE graphical designer going to work with this? It's not, that's how...ok maybe if some kind person or company creates a custom focus traversal policy editor of some kind, I don't know.
    Good grief Sun! We need something to help us meet our deadlines, not solutions that force us to spend 80% of our time customizing every stinking bit of UI functionality we need!!!
    JTables are even worse. I've mastered most of the garbage that is JTable after many months of pain and I don't know how I'm going to help my peers understand them in any short amount of time. Most of them were Oracle Forms programmers, not that that is any great solution either. But they will likely have problems.
    In conclusion, I wish I had chosen another UI technology for our new product client, and may yet.

  • Displaying a query in web bex does not work

    hi,
    we have a new installed bi. (installed by our outsourcing-partner)
    when i open a query with query designer, and then execute it (via web)
    i get a message that the side coud not be opened. when i am looking to the link which is created, it begins this way:
    http:///irj/servlet/prt/portal/prtroot/pcd!3aporta.............................................
    it looks to me that there is something missing ? the 3 slashes at the beginning look strange. i think i have to put the name of the server and port there. WHERE do i have to customize that ???
    regards, Martin

    Did you solve this Martin? We are having a similar problem.
    Thanks,
    Nick.

  • LOV based on Query - ORDER BY :P_ITEMVALUE does not work

    Hello guys! I have a special request that I'm focussing on. I have a couple of select lists in my application that contain tree species.
    On the first page the user has the opportunity to assign a ranking to the respective tree species. The database column storing that information is named INT_BEDEUTUNG.
    Instead of using that order by clause continously I want to be able to change the order by definition using two buttons. One is used to order alphabetically (column BA_LANG) and one is used to order by the field INT_BEDEUTUNG.
    Hence I tried to bind an item (P6_SORT) via a button, assigning it to either BA_LANG or INT_BEDEUTUNG.
    The tree species select lists in my reports are based on LOVs using the following query:
    SELECT BA_LANG, LNG_BAUMART
    FROM VT_TBL_BAUMART, vt_tbl_BAUMARTENBEDEUTUNG
    where CNT_BAUMART = LNG_BAUMART and
    LNG_GEBIET=:P6_lng_gebiet
    order by :P6_SORTI thought that if :P6_SORT conatins the value BA_LANG or INT_BEDEUTUNG, the selct list would be ordered accordingly. Unfortunately it doesn't, although P6_SORT is not empty?
    Do you have an idea what I am doing wrong or how to change the order by clause for that query for the whole application?
    I'd appreciate your interesting answers and thoughts!
    Best regards,
    Sebastian
    Edited by: skahlert on 17.09.2009 08:52

    @ Roel
    Thanks Roel! I believe your suggestion works! Thanks a lot! Great to get such a rapid solution! :-)
    Nevertheless I have one more question. I am using 2 html buttons on page 1 with URL-redirect in order to set the item on a specific page. This was for testing purposes only.
    Now I just want to set the attribute or value on page one where the respective buttons are placed.
    I have other navigating buttons on the same page, which when clicked, bind items on the target page. These should be used throughout the application to forward the item value for P_SORT.
    Now the question is - how can I bind an item on page 1 without being redirected? Is there a javascript routine or a simple trick that does the trick???
    Thanks again and best regards,
    Sebastian

  • MDX Query generated by CR does not work

    Hi Everybody,
    I'm running CR 12.3.0.601Client against SAP_BW 701on SAP EHP 1 for SAP NetWeaver 7.0.
    I connect to the SAP System via <SAP BW MDX QUERY> and <Cubes> directly to a Multiprovider (as non of my Queries is populated below the Queries Node.)
    The Multiprovider contains a basic balance sheet concept including a hierarchy for the balance positions I want to display in my report.
    The structure of the Cube is populated correctly in the Field Explorer.
    Accordingly I drag and drop the balance positons (figures for assets (100), currentassets(120), liabilities(80), etc...) and the balance position types (values for assets like 'A', currentassets 'CA', etc...) to the detailed section, what works fine so far.
    However, as soon as I create a group on the NodeID I cannot see any data in the preview. By running the SQL Query, copied from Database->Show SQL Query Window in the Transaction MDXTEST I receive the error message below:
    System error in program CL_RSR_HIERARCHY and form MEMBERGET_FULL_2 (see long text)
    The Query created by CR is:
    SELECT {[Measures].[ZBSPOS]} ON COLUMNS,  NON EMPTY CROSSJOIN(EXCEPT([ZBSPOSTP].MEMBERS, {[ZBSPOSTP].[All]}), CROSSJOIN(EXCEPT([0FISCYEAR].MEMBERS, {[0FISCYEAR].[All]}), [ZBSPOSTP                      ZEVA_BSPSTP_H].MEMBERS)) DIMENSION PROPERTIES [0FISCYEAR].[20FISCYEAR], [ZBSPOSTP                      ZEVA_BSPSTP_H].[2ZBSPOSTP] ON ROWS FROM [$ZEVA_MP]
    Thanks for your help!
    Dominik

    Hey Ingo,
    Google and Searches in SDN did not return any results for "_MEMBER_GET_FULL_2", but I'm thankful for other sites, you recommend ;).
    Crystal Reports is Running on Version 12.3.0.601, ie. SP 3 without any FixPacks. Yet I'll run updates up to FP 3, just to be sure.
    Moreover, I'm not really sure what you mean by
    Did you also import the corresponding ABAP Transports ?
    I can query the cube with a BEx Query, so everything should be in the system, right?
    Just to be sure, please find the complete error message below. As a next step, I would try to find out, at what step the SAP program fails.
    System error in program CL_RSR_HIERARCHY and form MEMBERGET_FULL_2 (see long text)
    Message no. BRAIN299
    Diagnosis
    This internal error is an intended termination resulting from a program state that is not permitted.
    Procedure
    Analyze the situation and inform SAP.
    If the termination occurred when you executed a query or Web template, or during interaction in the planning modeler, and if you can reproduce this termination, record a trace (transaction RSTT).
    For more information about recording a trace, see the documentation for the trace tool environment as well as SAP Note 899572.
    greetings

  • The built-in dictionary on my iPad only works with certain sites.  What do I need to do so that I can it all the time. (For example, it does not work when I read e-newspaper.)

    What do I need to do so that I can use the built-in dictionary all the time? My iPad 2's dictionary functions on Japanese e-newspapers but not on the Arizona Republic or other e-newspapers.

    Rikirannu wrote:
    My iPad 2's dictionary functions on Japanese e-newspapers but not on the Arizona Republic or other e-newspapers.
    Are you talking about the English dictionary?  Mine seems to work ok on the AZ republic web page.  Does yours not work on all webpages?  Does it not work when you type an English word in Notes and then do select and define?

  • One SQL/PLSQL query out of several does not work

    I have a report with search filters and most of the search fields are text fields. I have no problem searching by these fields until i add in a select list to search by. Once i apply the select list filter(:P21_COUNTY), it displays the correct information but then all the text fields stop displaying the correct info. Does it work differently if using a select list vs. other field types? Thanks, Deanna
    There is a sample app on apex.oracle.com
    Workspace:DEANNA2
    Username:[email protected]
    Password:Dclipse03
    Page 21
    Login:[email protected]
    Password:Dclipse03

    Looks like a Application express Question
    Post it [Here | http://forums.oracle.com/forums/forum.jspa?forumID=137]
    SS

  • Clamshell mode does not work with Mountain Lion.

    Installed Mountain Lion on 11" MacBook Air last Friday night.  Now system does not appear to work in Clamshell mode, as it won't wake or connect to external monitor.

    Apple Tech Support was very helpful.  The MBA works in clamshell mode next to my monitor now -- but does not work in the Henge Dock.  Henge Dock has been contacted.

  • The parameter name [...] in the query's selection criteria does not match..

    Hi all,
    I'm trying to pratice EJB 3 (which I learnt at school), with JSF and JPA, but i'm really stuck with that error :
    Exception [TOPLINK-6094] (Oracle TopLink Essentials - 2.0 (Build b41-beta2 (03/30/2007))): oracle.toplink.essentials.exceptions.QueryException
    Exception Description: The parameter name [departmentID] in the query's selection criteria does not match any parameter name defined in the query.
    Query: ReadAllQuery(oracle.datamodel.Employees)
    I will try to explain clearly what i'm trying to do :
    In fact, i'm following that tutorial :
    http://www.oracle.com/technology/obe/obe1013jdev/10131/ejb_and_jpa/master-detail_pagewith_ejb.htm
    But, as i didn't have any oracle database, but had a mysql one on my machine, i decided to use that DB instead of the the oracle DB... So i created a set of example data (to replace the oracle example set) ...so i created the tables EMPLOYEE, and DEPARTMENT... with the correct relations (FK) and PK)
    All was ok, i choose my "mysql-connector" (jdbc) instead of the oracle jdbc connector... so i could follow the tutorial.
    My problem appears at the step 12 (of "Creating a Master-Detail JavaServer Faces Page"), when i run the file deptEmployees.jspx.
    The information of the first departement displays correctly :
    departmentID 1
    departmentName ... etc
    but it can't display the employees belonging to that department !
    the error is :
    JBO-29000: Exception Description: The parameter name [departmentID] in the query's selection criteria does not match any parameter name defined in the query. Query: ReadAllQuery(oracle.datamodel.Employees)
    I think i understand what is the problem... I think that the query in charge of gathering the data of a specific departement need a parameter, but couldn't find it. But i don't know why :-/ I have tried many things and read the topics talking about that error... but it didn't solved the problem. I don't know anymore where to investigate.
    I have created a Zip file of my work (it's an EJB/JSF Application.. with jdev 10.1.3.3.0)
    (available here : http://dl.free.fr/mQ5esdQuS/EJB_appli.zip)
    I would be glad if someone could take few minutes to help me.
    Thank you in advance,
    Thomas B (student)

    Hello,
    This is a common mistake. Java string comparisons in TopLink are case sensitive by default, and since column names are uppercase when defaulted, TopLink cannot find the "departmentID" column name. In this case, Departments ID column defaults to "DEPARTMENTID" as required by the JPA specification.
    Either change Departments id annotation to     @Id
        @Column(name="departmentID", nullable = false)
        private Integer departmentID;or change Employees' ManytoOne annotation to:
        @ManyToOne
        @JoinColumn(name = "departmentID", referencedColumnName = "DEPARTMENTID")
        private Departments departments;Best Regards,
    Chris

  • Ipad displays "ipad is disabled connect to itunes", I have tried putting the ipad into recovery mode and then restoring but that does not work. I have also tried doing a hard reset of the ipad and that does not work either. Any ideas?

    Ipad displays “ipad is disabled connect to itunes”, I have tried putting the ipad into recovery mode and then restoring but that does not work. I have also tried doing a hard reset of the ipad and that does not work either. Any ideas?
    My son let one of his friends use his ipad. The next time he tired to use it he could not get it unlocked, I tired to unlock it but it kept telling me that I had the wrong pass code. With out me knowing my son continued to tire until it completely disabled it self.

    How can I unlock my iPad if I forgot the passcode?
    http://www.everymac.com/systems/apple/ipad/ipad-troubleshooting-repair-faq/ipad- how-to-unlock-open-forgot-code-passcode-password-login.html
    iOS: Device disabled after entering wrong passcode
    http://support.apple.com/kb/ht1212
    How can I unlock my iPad if I forgot the passcode?
    http://tinyurl.com/7ndy8tb
    How to Reset a Forgotten Password for an iOS Device
    http://www.wikihow.com/Reset-a-Forgotten-Password-for-an-iOS-Device
    Using iPhone/iPad Recovery Mode
    http://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htm
    You may have to do this several times.
    Saw this solution on another post about an iPad in a school environment. Might work on your iPad so you won't lose everything.
    ~~~~~~~~~~~~~
    ‘iPad is disabled’ fix without resetting using iTunes
    Today I met my match with an iPad that had a passcode entered too many times, resulting in it displaying the message ‘iPad is disabled – Connect to iTunes’. This was a student iPad and since they use Notability for most of their work there was a chance that her files were not all backed up to the cloud. I really wanted to just re-activate the iPad instead of totally resetting it back to our default image.
    I reached out to my PLN on Twitter and had some help from a few people through retweets and a couple of clarification tweets. I love that so many are willing to help out so quickly. Through this I also learned that I look like Lt. Riker from Star Trek (thanks @FillineMachine).
    Through some trial and error (and a little sheer luck), I was able to reactivate the iPad without loosing any data. Note, this will only work on the computer it last synced with. Here’s how:
    1. Configurator is useless in reactivating a locked iPad. You will only be able to completely reformat the iPad using Configurator. If that’s ok with you, go for it – otherwise don’t waste your time trying to figure it out.
    2. Open iTunes with the iPad disconnected.
    3. Connect the iPad to the computer and wait for it to show up in the devices section in iTunes.
    4. Click on the iPad name when it appears and you will be given the option to restore a backup or setup as a new iPad (since it is locked).
    5. Click ‘Setup as new iPad’ and then click restore.
    6. The iPad will start backing up before it does the full restore and sync. CANCEL THE BACKUP IMMEDIATELY. You do this by clicking the small x in the status window in iTunes.
    7. When the backup cancels, it immediately starts syncing – cancel this as well using the same small x in the iTunes status window.
    8. The first stage in the restore process unlocks the iPad, you are basically just canceling out the restore process as soon as it reactivates the iPad.
    If done correctly, you will experience no data loss and the result will be a reactivated iPad. I have now tried this with about 5 iPads that were locked identically by students and each time it worked like a charm.
    ~~~~~~~~~~~~~
    Try it and good luck. You have nothing more to lose if it doesn't work for you.
     Cheers, Tom

  • ReadObject query by idfr does not work first call

    I am running Toplink 10.1.3.0.0 inside the oc4j container. A basic example is that I have an object Employee that has a String attribute id. This class goes to the employee table. I have set an Expression in the Toplink Workbench to do Read Object and it just checks that id = the idfr passed in as an argument. When running the query by the idfr in the container, the idfr is set as the argument and the data exists in the database. With Toplink logging turned onto FINE I see the query being run "select xyz from employee where idfr = x". But the return value from the query is null. But if I run the query through a second time it returns with the correct object. I have tried changing this to a Read All query, and then just accessing the 0th element from the List returned, and this seems to work fine. I am still concerned, though, as to why the Read Object query does not work on the first go around as is expected?

    Any reason you set the Read Object query? The Expression you've provided is the same as what TopLink generates.
    Out of interest, does the problem occur if your primary key attribute is an int/long, or some other numeric type. Does your String attribute value or query id value have trailing or leading spaces? Oracle database will trim leading and trailing blanks on INSERT/UPDATE which can lead to confusion.
    Turn the logging up to FINEST and look for log messages relating to registration of existing objects. If you can post the test code and log that would help.
    --Shaun                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How do I set Firefox 10.0.2 to be default browser in Windows 7, using a script or setup switch. "Firefox.exe -setDefaultBrowser" does NOT work.

    I want to set Firefox as default browser for all my users.
    I can do this by opening Firefox and go to Tools --> Options --> Advanced and hit the "Check now" button. That works fine, but I need to accomplish this automatically.
    Running setup with the -setDefaultBrowser switch does NOT work. Running "firefox.exe -silent -SetDefaultBrowser" after setup does NOT work.
    Is this even possible? Or are we stuck with IE?

    Thank you for your reply, however it really does not work for me.
    I have Firefox installed, as well as Internet Explorer 9. If I check "Default Programs --> Set Default Programs" in Windows 7 it states that Internet Explorer is default.
    If I create a shortcut on my desktop that points to "www.mozilla.org" for example, and double-click that shortcut, it will open in Internet Explorer.
    I now run "%ProgramFiles%\Mozilla Firefox\Firefox.exe -silent -setDefaultBrowser" with administrative privileges.
    I look again in "Default programs" and i still says IE is default browser. If I click on my shortcut it still opens in IE.
    If I change the setting manually from within Firefox it works fine.
    Please help, I really can't make this work.

  • BPC75NW: Offline Distribution of reports does not work in Schedule mode

    Hello BPC experts,
    I'm new in SAP world.
    I have the following problem.
    In BPC 7.50.06 NW I'm trying to adjust the distribution on e-mail to schedule.
    I set up Distribution List. When I start the Offline Distribution Wizard -> Distribute Now all works without problems.
    The problem starts when I start the Offline Distribution Wizard in the Schedule mode. All the settings I do the same as at "Distribute Now".
    Then I set the report should be sent daily, starting with 13.10.2011, indicating the Start Time. As a System password I'm pointing my domain password (I  know no other passwords).
    At the time specified in the Start Time nothing happens, i.e. the schedule does not work.
    Tell me, please, if faced with a similar problem, how it can be solved?
    Thank you for your help, this is greatly appreciated.
    Regards,
    Todoshi Takato

    Moved to .NET SDK forum.
    Search here, lots of post on IIS and setting Printer Access Permissions for your application.
    Also search MSDN on what is required to for IIS to access local Printers.
    Also search for ActiveX Controls and Browser permissions, you'll likely have problems there also since most Browsers will not or do not recommend allowing any ActiveX control.
    Don

  • My ringer does not work on my phone (not sure what happened, didn't smash it, nor did it fall to the ground), and I have been on silent/vibrate mode for a few months now. Unfortunately I am unable to listen to music without headphones, or get on speaker.

    I can hear sounds when I plug in to headphones or on bluetooth (streaming audio from my car).
    Can anyone help?
    I have the iphone 4s.
    Thank you!

    Hey Chris,
    Unfortunately the ringer does not work - which causes the speaker to not work when it's switched on to ring mode, unless I'm on bluetooth. It has recently stopped working and I've had this phone for 2 years.

Maybe you are looking for

  • Yoga 13 HDMI output no longer works after Windows 8.1 update

    I recently updated to Windows 8.1 (big mistake!), and I am suddenly no loger able to connect my Yoga 13 to my Samsung TV through the HDMI output.  When I connect the cable, the laptop screen is deactivated; the TV registers a signal, but displays a b

  • With Windows 8.1 i can't select right click on my wi-fi networks

    I installed windows 8.1 couple days ago and just realized that i can't right click every time i go to my wifi networks. Any advice on how i should solve that issue?

  • Google Earth License not updating

    Hello All, We have to update new license to our clients, for the existing google earth package version 7.1.1.1580. We updated the registry under this location           <Include>             <Key Path="\REGISTRY\USER\[{AppVCurrentUserSID}]\Software\G

  • Error with distribution offline by email

    Hi We experienced an error when trying to use distribution offline by mail (save to folder is working). - Step Distribution list is OK - Step Distribution list sections is OK We got this error "The system cannot publish the book to BPC Web (Make sing

  • Time Machine making full backups--not incremental

    Hi, I just installed Snow Leopard on my Mac Pro a couple of days ago, and have been using Time Machine to make backups (never used it before now). I have TimeMachineEditor installed, and have it set to make a backup daily at 3:30am. It backs up data