SelectManyListbox select ALL when duplicates are present

I am trying to use the ADF Faces selectManyListbox component to select ALL upon page load. I have set the value of my selectManyListbox to a List, and this works for most of my selectManyListbox components.
However, when I use this solution on a different selectManyListbox that has a duplicate attrname (id) but different display name (I know the data is bad), the duplicate is not selected. I want the "ALL" checkbox selected though, and it will not be selected upon page load unless all are selected in the list.
When I print out the List "selectedPS" in the log, I can see both of the duplicate values in the list, but only this first is selected in the selectManyListbox.
Is there anyway to get around this? Or is this the entended functionality ? I am using JDev 11.1.1.3
in my fragment ...
selectManyListbox value="#{backingBeanScope.backing_Fragments_SearchForm.selectedPS}"
in the backing bean...
public List getSelectedPS(){
if(selectedPS == null){
selectedPS =
selectItemsForIterator("AllShopsView1Iterator","ShopId");
return selectedPS;
public void setSelectedPS(List selectedValues){
this.selectedPS = selectedValues;
public static List selectItemsForIterator(String iteratorName,String valueAttrName) { 
BindingContext bc = BindingContext.getCurrent();
DCBindingContainer binding =
(DCBindingContainer)bc.getCurrentBindingsEntry();
DCIteratorBinding iter = binding.findIteratorBinding(iteratorName);
List selectItems = new ArrayList();
for (Row r: iter.getAllRowsInRange()){
selectItems.add(r.getAttribute(valueAttrName));
return selectItems;
Thanks,
Jessica

It depends upon the kind of duplicte.  You have duplicates where two copies of a file are generated and added.  You can have duplicates where both entries point to the same file.  If you have the latter and delete the file the second entry will end up with a broken link.
Get info on the tracks and see if they point to exactly the same file in the exact same location. 

Similar Messages

  • Is there a way to select all when deleting photos from iPad?

    I am trying to delete about 1000 pictures from my iPad and am trying to find a more efficient way to do so instead of selecting each individual picture.  Is there a way to select all when deleting?

    The links below have instructions for deleting photos.
    iOS and iPod: Syncing photos using iTunes
    http://support.apple.com/kb/HT4236
    iPad Tip: How to Delete Photos from Your iPad in the Photos App
    http://ipadacademy.com/2011/08/ipad-tip-how-to-delete-photos-from-your-ipad-in-t he-photos-app
    Another Way to Quickly Delete Photos from Your iPad (Mac Only)
    http://ipadacademy.com/2011/09/another-way-to-quickly-delete-photos-from-your-ip ad-mac-only
    How to Delete Photos from iPad
    http://www.wondershare.com/apple-idevice/how-to-delete-photos-from-ipad.html
    How to: Batch Delete Photos on the iPad
    http://www.lifeisaprayer.com/blog/2010/how-batch-delete-photos-ipad
    (With iOS 5.1, use 2 fingers)
    How to Delete Photos from iCloud’s Photo Stream
    http://www.cultofmac.com/124235/how-to-delete-photos-from-iclouds-photo-stream/
     Cheers, Tom

  • The font i used in my KEYNOTE presentation is not available when you upload it to the cloud.  So, now my  text boxes are all messed up.  How can I select ALL font boxes of presentation and change (at least) the font style?

    I have a large presentation that I need to access from the cloud THIS SATURDAY.  Now, after uploading from my iMac to Cloud, the font is all messed up because the font I selected on my mac is NOT available on the Keynote Cloud....so capitalization is wrong, inconsistent, etc.
    Is there a quick way to select all text and change the style?  Help..I am running out of time!

    What's the URL of the page?
    In the mean time clear the cache and reload the page.

  • Finder de-selects files when they are locked/unlocked

    I have several encrypted disk images that I use to store various personal info on:  financial data, logins/passwords, health info, etc.
    Whenever I update the content on any of them I make a copy of the .dmg file, then rename the copy with the date and time in the filename.  For example, if I have a test.dmg file, when I update content in it, I would make a copy and rename the copy like test_201401051459.dmg.  That way I have a series of backups of each iteration of the encrypted disk image file.  (I've had encrypted disk image files get corrupted in the past, so this is a simple way to make sure I can open at least one of the previous backup files if necessary.)  I also "lock" each dated copy of the .dmg file to prevent accidental deletion.
    At the end of each month I move all of the dated backup .dmg files to an "_Old Data" folder.  In order to do that, I select all the .dmg files I want to move into the subfolder, then right-click (or ctrl-click) on them and -- continuing to hold the Ctrl key down -- I click on "Get Summary Info" to open a single "Get Info" dialog for all of the files so I can unlock them before I move them (if I don't unlock them, then Finder will make copies instead of moving them).  As soon as I de-select/uncheck the "Locked" option in the "Multiple Item Info" dialog, Finder de-selects all of the selected files in the Finder window and also narrows the column they're displayed in (I always use Column View in Finder windows).  This forces me to manually re-widen the column so I can see the entire file names, and manually re-select all of the files so I can move them into the sub-folder.
    This is changed behavior from Snow Leopard (from which I upgraded to Yosemite).  In Snow Leopard, Finder left things alone.  It didn't decide all on its own that files should be de-selected and that column widths should be narrowed to what it thinks is right.  This turns a relatively simple operation into an unnecessarily-more-complex operation.  Pure PITA.
    Mid-2011 iMac
    <Edited by Host>

    Hi Dan,
    The issue occurs on specific file type or all files have the same issue?
    We have an FAQ thread which could help troubleshooting network slowness issue. Please see if it could help:
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/7bd9978c-69b4-42bf-90cd-fc7541ccb663/forum-faq-troubleshooting-network-file-copy-slowness?forum=winserverPN
    If you have any feedback on our support, please send to [email protected]

  • Triple click doesn't select all when autocomplete appears.

    I recently updated to Firefox 34.0.5 (on Windows 7) and it seems like every time I get an issue sorted out, I discover another one. Today, I have realized that triple-clicking within a form or text field does not select all of the text if the autocomplete appears. This has never been an issue for me with previous Firefox versions. This is quickly become a nuisance for me and I would like to get it resolved ASAP. I have tried looking around for solutions, but all I've really been able to find is this bug report:
    https://bugzilla.mozilla.org/show_bug.cgi?id=307776
    I've read through that and related reports, but I didn't see a resolution anywhere. Is there anything I can do to fix this?
    Note: "browser.triple_click_selects_paragraph" is set to true and it works as expected, but NOT if the autocomplete dropdown appears.
    EDIT: I have also just discovered that I can no longer delete autocomplete entries by highlighting them and pressing Delete. Were these changes actually intentional or is there just a problem on my end?

    Another user posted about this for Firefox 31 (the ESR version, so could have been even earlier) ([https://support.mozilla.org/questions/1027748 Double click select all does not work in web site's search area after going back.]) (it really should reference triple-click, I think).
    The corresponding new bug report is: [https://bugzilla.mozilla.org/show_bug.cgi?id=1094041 1094041 – Double click select all does not work after form history shows up] (it really should reference triple-click, I think). That doesn't seem to have gone anywhere as the cause of the change was not obvious.
    Have you tested in Firefox's Safe Mode to rule out one or more of your extensions as possible culprits? That's a standard diagnostic tool as you probably know. More info: [[Troubleshoot Firefox issues using Safe Mode]].
    You can restart Firefox in Safe Mode using either:
    * "3-bar" menu button > "?" button > Restart with Add-ons Disabled
    * Help menu > Restart with Add-ons Disabled
    Not all add-ons are disabled: Flash and other plugins still run
    After Firefox shuts down, a small dialog should appear. Click "Start in Safe Mode" (''not'' Reset).
    Any difference?

  • Can I do a "select all" when creating themes and settings?

    When I am creating my dvd, can I do something so that each of the scene selection screens will have the same theme, same movie clip in the drop zone and same music playing? Is there a way to select all the same preferences for the customize option? Thank you!

    Hi Navy91,
    After you have finished customised the first scene selection menu screen, use the Adanced > Apply Theme To Folders menu command to apply the same theme settings to all other scene selection menus following it.

  • Validate whether all the records are present in the list before writing

    Hi,
    I have the below code:-
    List<CustomerVO> custlist = new ArrayList<CustomerVO>();
    for (CustomerVO customerVO : custlist) {
    try {
    saveRecord(customerVO);
    } catch (Exception e) {
    custlist.add(customerVO);
         if(){ // Here i need to compare whether all the records in the list are processed and there is no more records
    // if so i wrire the all the error details at once by calling the writeErrorDetails
         writeErrorDetails(frbVOlist);
    Here in the if block I need compare whether all the records in the list are processed and there is no more records to process ,
    if so write all the error details at once by calling the writeErrorDetails in the .TXT file.
    The problem here is, how i will know whether the all the records are processed from the custList, so that I can write all of then atonce.
    If the If conditional block is not there, then for each record failure a separate .txt file will be created. Hence if there are 4 failed records
    then 4 .txt error file will be generated. Which should be avoided and i want to write all the 4 failed records in a single .txt file.
    Hence, what may be the If condition i need to check from the list whether all the records are processed. Please , let me know your opinion.
    Thanks.

    797836 wrote:
    List<CustomerVO> custlist = new ArrayList<CustomerVO>();
    for (CustomerVO customerVO : custlist) {
    try {
    saveRecord(customerVO);
    } catch (Exception e) {Look at the following statement in the catch block.
    custlist.add(customerVO);Is this correct? Why are you adding the faild record to the custlist again? I think, it should be like,
    frbVOlist.add(customerVO);
         if(){ // Here i need to compare whether all the records in the list are processed and there is no more records
    // if so i wrire the all the error details at once by calling the writeErrorDetails
         writeErrorDetails(frbVOlist);
    }Call the writeErrorDetails(frbVOlist) after the end of the for loop by checking the size of the frbVOlist > 0.

  • How do you select all when trying to delete mail messages

    How can I select "all" email messages to delete them?  I know with PC you can push control + a, how do you do it on a MAC?

    Instead of Control A on any Mac it's Command A. For a list of keyboard shortcuts please click Keyboard Shortcuts

  • All my loops are present in the browser, but when I drag a sound over it doesn't match.  With beats, I get no percussion sounds, just a basic 8-bit type sound.

    I had a critical failure on my Mac and have slowly been rebuilding it, but Garageband just doesn't want to cooperate.  This is actually a two-fold problem.   First problem is; all of my loops are in my browser and when I click on one for a preview sound, it works fine.  But, when I drag it into the project window I lose any the correct sound.  They still have sound, but it will be a basic "blip, bloop" type 8-bit sound.  This is namely with any kind of beats or percussion.  Say I try to use a Trip Hop loop, all I get is the blips and bloops but no hi-hats, no snare, no kind of percussion sound at all. 
    Second problem:  As I said before, all of my loops are correct in my loop browser, but they didn't seem to transfer over the MIDI sounds that I can usually choose from in the Track Info pane.  It still only has the most basic sounds to choose from.  Before, I had all the different MIDI sounds to choose from, such as Star Sweeper and the like, but those are all gone.  I've tried to drag-and-drop into that pane but it won't let me.
    I really hope that someone has an answer for this, I have a lot of projects I've been working on for a long time that are basically trash right now because I can't do anything with them.

    Missing Instruments:
    The pop-up menu at the top of the track info pane filters the instruments: Make sure it is set to "show all".
    I am not sure at all about your drums, however. You do not drag your drum-loops to tracks with different instruments, do you?
    What you describe, looks exactly like something where transposing the drum loops and shifting the notes. This would cause the beats to be mapped to different instruments. And this is not suposed to happen, when you set the key of your project or transpose the master track.
    Does this happen only in your account, or also when you launch GarageBand form a diffrent user account? You might create a new account forr testing, to explore this.
    Regards
    Léonie

  • How to populate a combobox2 when value selected from combobox1, both are present in datagrid

    Hi,
    I have a mx:datagrid which has 2 columns that has 1 component each, say combobox1,combobox 2
    when i select a value from combobox 1 i need to populate the combobox 2, how can it be done kindly suggest,
    The rows of datagrid can increase or decrease, having the combo boxes within it, based on user button click say AddRow, DeleteRow

    try these links:
    http://sharepoint.stackexchange.com/questions/103682/autopopulate-form-fields-based-on-selection-in-people-picker-column-using-javasc
    http://sharepoint.stackexchange.com/questions/80261/people-picker-not-getting-populated-in-the-sharepoint-site
    http://blogs.technet.com/b/anneste/archive/2011/11/02/how-to-create-an-infopath-form-to-auto-populate-data-in-sharepoint-2010.aspx

  • LOV selection fails when there are validation errors on the base page

    Hi
    I have lovs and some other required fields on a page . If there are any validation error on one of those text fields and if I open the LOV (not related to the text fields) and tries to select
    an item from the LOV search results, it doesn't do it until unless I go back to the base page and correct all the validation errors on the text fields eventhough those text fields have nothing to do with the LOV.
    Any suggestion is appreciated.
    Thanks
    Anwar

    I am on Anwar's team, and I've been dealing with the same problem, although on a different page.
    The JSPX for a contrived example is below. I can provide backing bean code, if needed.
    The form contains two LOVs. Both fields are required. If you leave both fields blank and click Continue, you get a red box around both fields and error messages are displayed. If you then click the magnifying glass to select from the first LOV, the LOV pop-up is rendered. However, you cannot make a selection, either by double-clicking a line item or by clicking OK (the OK button has no effect). All you can do is cancel.
    Interestingly, the act of clicking the magnifying glass on the first LOV gets rid of the red box around that field. So, once you cancel out, the second LOV actually does work. If there were more than two fields on the page, that wouldn't happen. The problem seems to be that the LOV doesn't work unless there are no validation errors on the page other than for the LOV which is being invoked.
    As you can see, immediate="true" is set on both LOVs. The behavior is the same whether this is true or not.
    I'm left thinking there must be something obvious that we're missing... but none of us can see it.
    Thanks,
    KEN
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=windows-1252"/>
      <f:view>
        <af:document title="Add Item">
          <af:form>
            <af:panelGroupLayout>
                <af:panelHeader text="Header">
                    <af:panelFormLayout>
                        <af:inputListOfValues label="Id" searchDesc="Search" popupTitle="Supplier Id"
                                              simple="true" required="true" id="supplierId"
                                              model="#{viewScope.AddItemBackingBean.supplierIdListOfValuesModel}"
                                              value="#{viewScope.AddItemValuesBean.supplier.id}"
                                              autoSubmit="true" immediate="true"/>
                        <af:inputListOfValues label="Description" searchDesc="Search" popupTitle="Supplier Id"
                                              simple="true" required="true" id="supplierDescription"
                                              model="#{viewScope.AddItemBackingBean.supplierDescriptionListOfValuesModel}"
                                              value="#{viewScope.AddItemValuesBean.supplier.description}"
                                              autoSubmit="true" immediate="true"/>
                        <f:facet name="footer">
                            <af:panelGroupLayout layout="horizontal" halign="right" >
                              <af:commandButton text="Continue"
                                                actionListener="#{viewScope.AddItemBackingBean.continueAction}"
                                                id="continueButton" />
                            </af:panelGroupLayout>
                        </f:facet>
                    </af:panelFormLayout>
                </af:panelHeader>
            </af:panelGroupLayout>
          </af:form>
        </af:document>
      </f:view>
    </jsp:root>

  • In a gradient mesh, I can't tell Illustrator to select all points that are the same color?

    All I can find online is to highlight over an area to select multiple mesh points. That will not work in my case. I can't tell illustrator to select same color, the way it does with fills and strokes? I want to change the color and I have to click on every single point again? Ridiculous.

    Edit>Edit Colors>Recolor Art
    You can assin colors an dhe recolor art filter will only read the color at the anchor points which I think is desirable
    Look at the very warm red color color and how I change it by assingin a new color in this case a blue. Read about the Recolr Art Dialog in the help files it is bit tricky at first but does  lot of good things.
    After you get the colors you want you can turn them into a color grpups as well and you will have the swatches in your swatch panel.
    Then if you have similar colors that you wish to cahnge the same color you can use the edit color wheel and move the color selectors over one another.
    Here I turend the warm red to a yellowish color as wellas the more orange color to match the new color .

  • Will iTunes select all exact duplicate songs and delete each duplicate?

    I have about 20K exact duplicates and would like to have iTunes select and remove one dulicalte of each song to avoid manually selecting ever other song and removing.  Possible?

    Itunes will not do that.  You can check third party utilties such as Dupin (Duplin?).  I would not trust any utilty to automatically delete duplicates. There's a few tracks I have on albums where they are given the identical name but are not identical. A tool would not tell that.
    iTunes will find duplicates, but then it's up to you to decide if they truly are.  Be careful. Occasionally an item somehow gets listed twice and if you delete the "duplicate" plus file it deletes the orginal too.  I always hand sort duplicates.

  • Verifying if all necessary archivelogs are present

    RDBMS Version: 11.2.0.3
    Platform RHEL 6.2
    We have a 'not so critical production database' . It is 20 TeraByte in size.
    Today is 22-October-2013 . The last time a full backup of this DB was taken on 20-August-2013.
    Ever since 20-August-2013 , only archive logs are backed up(every 6 hours). The backup goes to tape , Symantec Netbackup is the MML.
    Question1.
    Around 3500 archive logs were generated after the full backup.
    If something goes wrong and if I am asked to restore and recover the DB from the Tape backup , how can I verify that all archivelogs after  the full backup (20-August-2013) are actually available in the tape ?
    Question2.
    We don't have enough disk space to act as a staging area for the restored backup pieces from tape. So, we have to restore, recover directly from Tape.
    If all the archive logs are available , following is all I have to do to restore, recover from Tape . Right ?
    Found the following from an OTN post
    startup nomount pfile=/opt/app/oracle/11.2.0.3/db_home1/dbs/initBRCFS.ora ;
    set dbid 706455281;
    run {
    allocate channel c1 type 'SBT_TAPE';
    send 'NB_ORA_POLICY=adrsk172,NB_ORA_SERV=hewmgt238,NB_ORA_CLIENT=pcapdmt192';
    restore controlfile from autobackup maxdays=3;
    alter database mount;
    run {
    allocate channel c1 type 'SBT_TAPE';
    allocate channel c2 type 'SBT_TAPE';
    allocate channel c3 type 'SBT_TAPE';
    allocate channel c4 type 'SBT_TAPE';
    send 'NB_ORA_POLICY=adrsk172,NB_ORA_SERV=hewmgt238,NB_ORA_CLIENT=pcapdmt192';
    set until time "to_date('22-10-2013 11:30:00','DD-MM-YYY HH24:MI:SS')";
    restore database;
    sql 'ALTER DATABASE DISABLE BLOCK CHANGE TRACKING';   ----> Don't know why I have to disable BCT
    recover database;
    alter database open resetlogs;

    You could run CROSSCHECK ARCHIVELOG ALL   (or CROSSCHECK ARCHIVELOG FROM TIME 'date_string' UNTIL TIME 'date_string'.
    Since the archivelogs are on tape, you may need to define a maintenance channel.
    If you don't have enough disk space for all the archivelogs, the RECOVER command has a parameter MAXSIZE to specify the disk space that Oracle will use for archivelogs. It will then restore archivelogs in batches for use during the RECOVER.  This will mean that RMAN will do multi-pass reads from the MML to restore archivelogs in batches.  Which would be slow.
    Note : I haven't tried using this parameter so I don't have experience with it.
    Hemant K Chitale
    Hemant K Chitale

  • Illus. CS3 Windows: Im having trouble selecting text when objects are beneath it.

    Technically, I CAN select text, its just a pain in the ***. There is a very fine line to click on and I usually end up selecting the obnect that the text is on top of. If someone knows another way to do this I will be most appreciative.
    Cheers,

    Have you perhaps enabled the Type Object Selection by Path Only option (see Illustrator preferences) ?
    If so, disable it.

Maybe you are looking for