NamedViewCriteria not working when drag and dropped as filtered table.

Using JDev 11.1.2.1.0.
I'm attempting to use NamedViewCriteria more and more because, well ... I keep reading it's the way to go. But I'm encountering an aggravating problem. I can't get them to work when I drag and drop as a filtered table onto a page. They work when I apply them in a managed bean, but simply dragging and dropping will not trigger the NamedViewCriteria to display the filtered items correctly.
Creating a where clause manually works fine.
Manual Where Clause & drag and drop ViewObject from data control
(:pBpKey is null or upper(BP_KEY) like '%' || upper(:pBpKey) || '%') AND CinderBusinessPartners.BP_TYPE = 'C'NamedViewCriteria & drag and drop from ViewObject's NamedViewCriteria from data control
( ( (CinderBusinessPartners.BP_KEY LIKE ('%' || :pBpKey || '%') ) AND (CinderBusinessPartners.BP_TYPE = 'C' ) ) )There are three problems:
1) The query pulls back all items. It doesn't retrieve only where BP_TYPE = 'C'.
2) It is case sensitive. i.e. Enter in A will not pull back the customer Wal-Mart because Wal-mart contains lowercase a's.
3) If I set the table's "Show Filter" attribute to true, the filter has the text "\*pBpKey\*" filled in by default. uhhh What?
In the NamedViewCriteria's "UI Hints" tab, I have the "Query Automatically" checkbox selected.
Any ideas why the NamedViewCriteria isn't "just working"?
I'll be back with pictures after the break.
Will

I've rolled this into a bug post as seen here: BUG: NamedViewCriteria drag and drop as table SNAFU
Pictures:
Here is the NVC query
http://www.williverstravels.com/JDev/Forums/Threads/2381120/Nvc1.jpg
Here's that dang extra bind variable!
http://www.williverstravels.com/JDev/Forums/Threads/2381120/Nvc3.jpg
And just because I like awesome Paint.Net art.
http://www.williverstravels.com/JDev/Forums/Threads/2381120/Nvc2.jpg
Hope this helps someone down the road.
Edited by: LovettWB on Apr 26, 2012 1:59 PM

Similar Messages

  • Select All in a table does not work for Drag and Drop

    Hi. I am using Jdeveloper 11.1.1.2 but have also reproduced in 11.1.1.3.
    I am trying to implement drag and drop rows from one table to another. Everything works fine except when I do a Select All (ctrl-A) in a table, the table visually looks like all rows are selected, but when I try to click on one of the selected rows to drag to the other table, only the row I click on is dragged.
    I tried setting Range Size -1, fetch mode to FETCH_ALL, content delivery to "immediate" but nothing works.
    I even have reproduced not using a view object but just a List of beans with only 5 or 10 beans showing in the table.
    Does anyone know how to get Select All to work for a Drag Source?
    Thanks.
    -Ed

    Frank-
    OK, thanks for looking into that. I also submitted this service request, which includes a simple sample app to demonstrate the problem:
    SR #3-2387481211: ADF Drag and Drop does not work for rows in table using Select All
    Thanks again for the reply.
    -Ed

  • Setting up playlists in iTunes, will not let me drag and drop

    I have transferred all my music to a different computer, but now will not let me drag and drop to create playlists

    drewtxnc wrote:
    I have transferred all my music to a different computer, but now will not let me drag and drop to create playlists
    Drew,
    Are you sure that those are regular playlists (music note symbol) and not smart playlists (gear symbol)?  Smart playlists populate themselves according to their rules, and you cannot drag songs into them.

  • TS1363 my itunes will not let me drag and drop any music into my library

    i have reinstalled my itunes and and restarted my computer and nothing is working

    drewtxnc wrote:
    I have transferred all my music to a different computer, but now will not let me drag and drop to create playlists
    Drew,
    Are you sure that those are regular playlists (music note symbol) and not smart playlists (gear symbol)?  Smart playlists populate themselves according to their rules, and you cannot drag songs into them.

  • I have transferred music to new computer and trying to set up playlists and will not let me drag and drop

    I have transferred my music from old iPods to a new computer. I am trying to set up new playlists and it will not let me drag and drop. I have also tried clicking on song and does not give me option to Add to Playlist. Do you have any suggestions?

    I Have a similar problem losing the ability to drag and drop MP3 sound files since new iTunes and Yosemite. Any ideas please?

  • When drag and dropping a page to a separate folder the default name is "Untitled Extract Pages.pdf", how do I change this to other default name?

    Hi,
    When drag and dropping a page to a separate folder the default name is "Untitled Extract Pages.pdf", how do I change this to other default name?
    Thanks for any reply that can help!
    BR
    /H

    I don't think you can change it.

  • Are there any events to script a component when dragged and dropped into the parsys area?

    are there any events to script a component when dragged and dropped into the parsys area?

    The cq:listeners node of a component's cq:EditConfig has a number of events that fire with relation to the edit mode drag'n'drop stuff. You would probably want to hook one or more of the insert ones (beforeinsert, beforechildinsert, afterinsert, afterchildinsert).

  • New JNDI name created for each drag and drop of database table into table

    Hi All,
    I'm using Netbeans 5.5 with Visual Web Pack with Mysql as backend. Whenever I drag and drop a database table into table component it creates new JNDI (data source) name for each table. I want to use single JNDI name for all tables. If I change the JNDI name to default name then the design disappears and shows error . Is there any option to set the JNDI name unique for all tables?
    Thanks in advance.

    Hi again,
    Well I've tried using the MouseListener / MouseMotionListener approach but it doesn't quite seem to work, although it does get the events correctly. I think the reason is that it doesn't interact correctly with the Java DnD machinery which is something that V.V hinted at. It's something that I may need to look into if / when I have more time available.
    I have to say though that I haven't had any problems with scrollbars - we're making fairly heavy use of large tables and if you drag over a table with a scroll bar and move to the top or bottom then it scrolls as you would expect and allows you to drop the data where you like. For this situation I've used pretty much the same approach as for the toy example above except that I've implemented separate source and destination TransferHandlers (the source table is read-only, and it really doesn't make sense to allow people to drag from the destination table so I've essentially split the functionality of the example handler down the middle).
    I'm not actually particularly in favour of messing too much with the mechanics of DnD, more because of lack of time than anything else. Guess I'll just have to put up with this for the moment. Doesn't help that DnD is so poorly documented by Sun.
    Thanks for all your help.
    Bart

  • IMovie is not letting me drag and drop transitions, music, text boxes. Worked fine all along and now nothing. What happened?

    iMovie has always let me "drag and drop" transitions, music, text boxes etc into my Project. This morning it is not allowing me to "drag and drop" anything. This is for a client and I am so frustrated. What happened to make it stop letting me "drag and drop"?

    I have only dragged Titles to the project. When I did, it worked best not to drag and release onto the video strip (like with the old version) but just above the strip. When you drag and hover above the strip you get a little pointer to the starting point on the strip. Hope this helps.

  • Media not copying into event when drag and dropped

    When I add media files into an event by dragging and dropping the file into the project the file does not get moved/copied 'Macintosh's HD Projects' folder.
    Is there a setting somewhere I can change so dragging and dropping behaves the same way as when I use CMD+I to import a file?
    I am using the most up-to-date version of FCPX in Mavericks.

    How are you determining this? And what version are you using? Media doesn't get copied to project folders; it get copied to Original Media sub folders in event folders. Or it gets left in its original location with aliases pointing to the actual media.
    If you're using 10.1, try dragging to the single-star event icon in the Library list pane and then look inside Original Media..
    Russ

  • Visual Studio opening files when dragged and dropped in WPF app debugging session

    I'm working on a WPF app (using VS2013 CE) which is intended to manage media files (TV Shows, movies, etc) and as part of this I am enabling the user to drag and drop media files on to the running app (by adding AllowDrop="True" and PreviewDragEnter="Window_PreviewDragEnter"
    to my Window definition).
    The problem I have is that when I drag files onto the app in a debugging session Visual Studio then opens the file(s) when I stop debugging... this is seriously annoying as when I am testing with large media files (> 1GB) it just locks up VS for minutes
    at a time while it tries to open the file or files. When I run the app outside the debugger this does not happen - it's only when I'm in a VS debugging session.  The only way I can stop this happening is to kill VS completely from Task Manager then restart
    it - this is also very annoying but often I need to do this as it will freeze up for 5-10 minutes while it insists on loading the files in VS.
    I understand the app, whilst debugging, is running in the context of VS but why does VS then have to try to open the files when debugging is finished?   I have looked through the options but can't see anything to switch this off and no amount of searching
    has turned up anything - can anyone put me out of my misery with a solution to this annoying issue?

    Hello nzmike,
    Does Visual Studio behaves like the following image shows and just hangs when opening your media file?
    Do you have any other computer which installs Visual Studio? Can you reproduce this on it?
    In order to troubleshoot this issue I think we need to locate the root reason of your issue. The problem can related to the following:
    1. Your project is corrupt and VS then trys to load that file when debug finished.
    2. Your VS is corrupt and caused this problem.
    So please do something below:
    1. Try clean and rebuild your project.
    2. Switch to some other PCs and use VS and your project there, check if the problem can be reproduced.
    3. You can backup your VS setting and try some commands: devenv /resetsettings and devenv /resetuserdata
    Details about VS command:https://msdn.microsoft.com/en-us/library/xee0c8y7.aspx
    And based on th research of the above second step, if you can reproduce this issue on more than one PC, the problem is pending on your project and I need you to share a simple sample which can reproduce this issue. We will need to investigate the project
    in detail.
    Best regards,
    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Datagrid not refreshing after drag and drop

    Please help me solve this: my datagrid DOES refresh itself,
    but only after the SECOND drag and drop.
    Here's an example of my datagrid :
    1. Label a Description a
    2. Label b Description b
    3. Label c Description c
    When I drag the third row to the top of the datagrid, I want
    to see updated row numbers like this:
    1. Label c Description c
    2. Label a Description a
    3. Label b Description b
    But I see this
    3. Label c Description c
    1. Label a Description a
    2. Label b Description b
    Now let's swap rows 2 and 3; now the datagrid will correctly
    show 1. in the first row! (Of course 3. and 2 are messed up until
    the next drag and drop).
    1. Label c Description c
    2. Label b Description b
    1. Label a Description a
    As you can see, row #1 is now correctly displaying "1." This
    is happening only after the second drag and drop occurs.
    Here's my strategy:
    1. I'm using a datagrid with an ArrayCollection as the
    dataprovider.
    2. The datagrid uses the dragComplete event to call a
    function (function shown below).
    3. This function uses a loop to update the property GOALORDER
    of each row in the ArrayCollection
    4. This function also creates an object of new GOALORDER's to
    update the database (this part is working fine).
    I've noticed somewhere in the docs that, when a datagrid is
    experiencing multiple changes it turns on
    ArrayCollection.disableAutoUpdate automatically. IS THIS TRUE? This
    could explain why my datagrid does not immediately refresh.
    Is there some way to drag and drop, update the
    ArrayCollection, and refresh the datagrid- in that order?
    Thanks!
    Here's the misbehaving function!
    // re-sort the list NOTE first index=0, first goalorder=1
    private function reSort():void
    var params:Object = new Object();
    params.DBACTION = "reorder";
    var i:int;
    var g:int;
    for (i = 0; i < acGoals.length; i++)
    g=i+1;
    // replace GOALORDER in ArrayCollection
    var editRow:Object = acGoals
    editRow.GOALORDER = g;
    acGoals.setItemAt(editRow, i);
    // create multiple entries to edit database
    params["GOALID"+g]= acGoals.getItemAt(i).GOALID;
    params["GOALORDER"+g]= g;
    params["rowsToUpdate"] = g;
    //HTTPService to
    hsGoalAction.send(params);

    Fateh wrote:
    I just forgot to make the event scope of the dynamic action LIVE...and that the <tt>font</tt> element has been deprecated since 1999 and now does not exist in HTML?

  • Error message when dragging and dropping images to album

    I recently installed the Elements 12 upgrade on my MacBook Pro. My previous version was Elements 10. When I try to add new images to my existing albums by selecting, dragging and dropping them into an album the operation does not work and i get an error message "Error Applying Keyword Tag(s)"

    Thanks for your reply Andaleeb,
    When you look at the numerous discussions on the PSE forum on this Organizer window issue it's not just a problem I had (Thread 14444851) but other users who have Elements 10, 11 and 12 are experiencing similar problems. There appears to be a serious compatibility problem with OSX 10.9.2 and these versions of PSE. Although my issue was fixed by your support staff,  the fact that many other users are experiencing this issue points to the need for a universal fix applicable to all Mac users. There is a lot of frustration out there among Mac users and Adobe needs to deal with this problem.
    I am really surprised that on all the other discussion posts on this issue, there is not a single comment or response from Adobe staff! Given the lack of response from Adobe, it appears that the Adobe policy is to sit back and let the Mac users determine their own solutions.
    Please pass this post on to your management so that corrective action can be initiated.
    Thanks for your help.

  • Mouse event not fires on drag and drop

    Please
    Can any one help and give any idea during draging(drag drop) mouse over of a button does not fires. I have a list of thumb in which I want to drag and drop the thumb at any location for reordering the thumb but due to  lot of item in list need to sscroll list.  I have my own custom scroll on button mouse over but when Item is dragging  mouse event does not fires.
    Thanks in advance,
    Premkant

    Hi there,
    Reject caption shows up when an unacceptable source is dropped on a Target. To configure the 'Accept criteria', select a drop target, Click on the 'Accept' button, Deselect the checkbox corresponding to the unacceptable source. (As shown below)
    Now whenever the user drops 'Unaccept' source on top of the target, the 'Reject' caption shows up.
    Thanks,
    Nimmy Sukumaran.

  • On Reject caption not appearing in Drag and Drop interaction

    Hi
    I am playing around with drag and drop interaction to understand its functionality.
    I noticed that we can set Accept, Reject, and Hint captions to individual drop targets. When I tested it, I got the Accept and Hint captions as expected. But I am not getting the Reject caption even when I place the wrong source on the target.
    What am I doing wrong?
    Sreekanth

    Hi there,
    Reject caption shows up when an unacceptable source is dropped on a Target. To configure the 'Accept criteria', select a drop target, Click on the 'Accept' button, Deselect the checkbox corresponding to the unacceptable source. (As shown below)
    Now whenever the user drops 'Unaccept' source on top of the target, the 'Reject' caption shows up.
    Thanks,
    Nimmy Sukumaran.

Maybe you are looking for

  • Weblogic 10.3.2/3 AdminServer startup failure using WLST

    Hi, I'm migrating our Weblogic environments onto a Linux platform(Centos 5.5). I'm running 64bit Java and I've installed Weblogic using the Generic Jar. However I expierence an error when attempting to Start the AdminServer using a WLST script. If I

  • Casting DataHandler to complex user type.

    Hi guys, I am beginner and I have met a problem during invoking my Web Service. To create and run it I have used Axis2 v 1.4, Eclipse tools and Tomcat 6. I found out the problem are complex invoking parameters because when I run simple WS with basic

  • External Hard Drives-Recommendation required

    Hi All, I have a new Intel Mac and also a Lacie EHD of 80 gig capacity. I am also running XP, but about to go to Vista. My question is about the best performing and silent (ish) EHD's. My understanding is that Samsung in an appropriate case, may win

  • Create Hyper link in Outlook web access

    Hi , How to create/insert a hyperlink of our local shared network drive file path in outlook web access 2003 ?. Kindly give solutions. Regards, Satheesh

  • SAP B1 Client not open

    Hi all, I try to upgrade the SAP for one of my client from SAP 2005b Pl 42 to SAP 2007b PL 10. The update process in the server is over and it is fine. But for my Client machines the upgrade is running fine but after upgrade i will not see any databa