Refresh Media list in project

Is there a way to make PP alphabetize the media list in the project bin? When I drag files to a bin that I create it does not alphabetize them until I restart the project. Is there a view-refresh option somewhere?
Thanks!

Click on the column headers in the Project panel to sort them however you want.

Similar Messages

  • 8820 Media list won't refresh

    I tend to update my media list everyday. I keep audio books on it and a few tunes to get me through the rough patches at work. Last night, when I removed the current audio book chapters and loaded the next 3, something odd happened. The old files were recognized and would not play (as to be expected, they aren't there anymore), but the new files weren't there. I have well over a gig left on the card, I rebooted, I removed the card and rebooted, I turned media card support off, rebooted, and turned it on, checked my settings, and even tried to delete the phantom files via the Media folder on my 8820. The blasted thing just won't refresh its list. I even removed EVERYTHING off of my phone that I had put on it, and it was still seeing old files, but unable to open them. What should I do?
    Solved!
    Go to Solution.

    Hi and welcome to the forums!
    I finally caught up with you from the other forum
    When you say you have rebooted was that powereing off or
    Pull the battery while the device is ON, replace after a minute, Let the device reboot 1-3 min.
    If you havn't tried the battery pull, I would start there.
    Let us know,
    Thanks 
    Click Accept as Solution for posts that have solved your issue(s)!
    Be sure to click Like! for those who have helped you.
    Install BlackBerry Protect it's a free application designed to help find your lost BlackBerry smartphone, and keep the information on it secure.

  • Feature Request:  Standard Keyboard Navigation in Media Browser and Project Panel

    It's been a while since I've had time to submit a feature request.  I've wanted to see this one for a while.  If you agree, please submit your own feature request here: http://www.adobe.com/go/wish/
    System Navigational Keyboard Shortcuts in Media Browser and Project Panel
    Windows (and I'm sure Mac) has a standard set of keyboard and mouse navigational shortcuts for keyboard and mouse.  I'm so used to using them in daily browsing (both in Windows Explorer and in any web browser) that missing them in the PPr Media Browser, or getting a different result in the Project Panel, is still very jarring and slows my workflow (even after having used Premiere Pro [again] since version CS4).
    I propose that the Media Browser and Project Panel should honor the OS defaults for keyboard and mouse folder/file navigation.  A few of the standard (Windows) keyboard and mouse navigational shortcuts are listed below (listed in order of most helpful to my own work):
    Moust Back Button = "BACK"
    ALT + LEFT ARROW = "BACK"
    UP, DOWN, LEFT, RIGHT = steps through the various folders within the view.
    UP, DOWN walks through the directory tree while RIGHT expands the currently selected folder and LEFT contracts that directory (twirl down, etc).
    ENTER opens a folder.
    ALT + UP = "Folder Above"
    ALT + RIGHT ARROW = "FORWARD"
    F2 Renames a folder
    ENTER "takes" that name to the clip. (current functionality used ENTER to rename a file/folder).
    ESC cancels the renaming operation.
    Pressing Enter on any piece of Media or Title, etc should take an "expected" action acording to it's context.  (i.e. ENTER on a video clip would load it inot the Source Monitor.  ENTER on a Title would open it in the Title Editor.  ENTER on a folder would take us into that folder).
    These functions exist in both Windows Explorer as well as most modern Web browsers.  When browsing files and Project folders, it's what I've come to expect.  It's muscle memory, if not intuitive.  I realize that many of these keyboard commands are already in use in other windows/panels of the application, therefore, these commands should be Panel-specific (i.e. ALT+LEFT works differently in the Media Browser and Project Panel than it does on the Timeline/Sequence).  And as always, when making such changes (i.e. changing the behavior of ENTER to F2), this set of keys should be highly configurable based on preference:
    Preference:
    checkbox:  Use OS-specific navigational keyboard and mouse commands in Media Browser and Project Panel
    checkbox:  Use the (very few) "classic" Adobe keyboard commands in the Media Browser and Project Panel
    The most common habit I find myself doing in the Media Browser is clicking the BACK button on my mouse—only to realize, yet again, it doesn't work that way in PPr.
    The most common habit I find myself doing in the Project Panel is pressing F2 to rename a folder/bin.  Of course that doesn't work.  And when I've renamed it, I press ENTER to save the name, but that only moves me to the next folder ready to rename it, too.  I also find, out of habit, I try to navigate the bins using the arrow keys and then open the bin/folder using ENTER.  Instead, my bin is asking for a new name and I hit ESC to avoid renaming it—now THERE's a shortcut that works the way it should. 
    I realize this feature may be controversial to some, since it's not the way we're used to doing things in PPr.  However, I'm sure there are just as many out there, like me, who are confounded as to why PPr has never worked with the "conventional" navigation shortcuts found throughout the rest of the operating system, be it Windows or Mac.
    If you agree with this feature request, please submit your own feature request here: http://www.adobe.com/go/wish/

    Nice ideas Jeff.
    There is a site - Flash Catalyst Wishlist/Ideas where you can post these ideas so that the community can vote on them.

  • A connection to the SharePoint site cannot be established. To synchronize or refresh your list, you must be able to connect to the SharePoint site

    Hi,
    I have a SharePoint 2010 farm with two Web Applications.
    For example:
    https://contoso.domain.com
    https://finance.domain.com
    Both Webapp use https --> 443. Same valid certificate for both (*.domain.com)
    I tested exporting an Excel library in https://contoso.domain.com.
    It export and sync up sucessful the Excel library and it updates it OK.
    However, once exported the Excel library in https://finance.domain.com, when
    I try to syncronize or update the library I receive an error back, which indicates: "A connection to the SharePoint site cannot be established. To synchronize or
    refresh your list, you must be able to connect to the SharePoint site". I had tested the WebDav (Map Network Drive) and the connection results OK.
    Do you have any idea about this issue?? Why https://finance.domain.com do not
    synchronize or refresh in excel o SharePoint site???
    I had tested the security with IIS, SSL, WebDav.
    Thank you,
    Gaby

    Hi!!!
    I solved this problem.
    I created a new Application Web in the farm (https://project.domain.com), dismount content database the old application web ( https://finance.domain.com)
    and the new application web (https://project.domain.com).
    #New AppWeb project.domain.com
    Get-SPContentDatabase -WebApplication https://project.domain.com | Dismount-SPContentDatabase -WhatIf
    #Old AppWeb
    Get-SPContentDatabase -WebApplication https://finance.domain.com | Dismount-SPContentDatabase -WhatIf
    Mount the old content database to the new application web (https://project.domain.com).
    Mount-SPContentDatabase "WSS_Content_Finance" -DatabaseServer "MyServer" -WebApplication https://project.domain.com
    If you want to keep the same url, change the alternate access mappings.
    Remember to change the bindings in IIS.
    Hope you help the solution...
    Gaby

  • Can you avoid multiple clips of the same media in a project

    We have 2 suites and we sometimes work together on a common project utilising the same media.
    If I want to use a sequence from the other suite I can easily import it.
    The problem:  it creates another folder with clips that only belong to the imported sequence.
    The end result after a few imported sequences is that my final timeline has instances in it that
    are from clips belonging to several different folders or bins even though the media is the same.
    In summary... is there a way you can avoid having multiple clips of the same media in a project.
    Makes for a very messy project when you have finished.
    You've got multiple clips with the same name scattered everywhere.
    Cheers

    Not yet.
    I'm kind of hoping this type of media management will be vastly improved in CS6, whose main new 'feature' reeeeeally needs to be outstanding network collaboration with other editors working on the same project.

  • How to refresh the list of select one choice which is inside a table?

    Hello I am using Jdeveloper Version 11.1.2.1.0.
    The table is a normal table that is made to look like a treeTable.
    For some rows are or can be parents with Parent_vo_group_id = null and other are children with parent_vo_group_id = vo_group_id of the parent...
    If a children changes its parent_vo_group_id to null it can become a parent as well.
    I am having a select one choice inside a table column. The list comes from the same table with column Name:
    <af:table value="#{bindings.VoGroupAdminView2.collectionModel}" var="row"
                                                      rows="#{bindings.VoGroupAdminView2.rangeSize}"
                                                      contentDelivery="immediate"
                                                      visible="#{bindings.VoGroupAdminView2Iterator.currentRow != null}"
                                                      fetchSize="#{bindings.VoGroupAdminView2.rangeSize}"
                                                      partialTriggers="::soc1" styleClass="AFStretchWidth"
                                                      rowBandingInterval="0" editingMode="clickToEdit"
                                                      binding="#{adminGroupManagementBean.groupTable}"
                                                      selectionListener="#{adminGroupManagementBean.groupSelectionListener}"
                                                      rowSelection="single" id="t5">
                                                <af:column sortProperty="#{bindings.VoGroupAdminView2.hints.Name.name}"
                                                           sortable="false" styleClass="columnData"
                                                           headerClass="tableHeader"
                                                           headerText="#{bindings.VoGroupAdminView2.hints.Name.label}"
                                                           id="c1">
                                                    <af:inputText value="#{row.bindings.Name.inputValue}"
                                                                  requiredMessageDetail="Please enter a group name"
                                                                  label="#{bindings.VoGroupAdminView2.hints.Name.label}"
                                                                  required="true" id="it7" immediate="true" autoSubmit="true"
                                                                  columns="#{bindings.VoGroupAdminView2.hints.Name.displayWidth}"
                                                                  maximumLength="#{bindings.VoGroupAdminView2.hints.Name.precision}"
                                                                  shortDesc="#{bindings.VoGroupAdminView2.hints.Name.tooltip}"
                                                                  contentStyle="#{row.ParentVoGroupId eq null? 'font-weight:bold' : 'padding-left:20px'}"
                                                                  valueChangeListener="#{adminGroupManagementBean.groupNameChangeListener}"
                                                                  partialTriggers="soc2">
                                                        <f:validator binding="#{row.bindings.Name.validator}"/>
                                                    </af:inputText>
                                                </af:column>                                   
                                                <af:column sortProperty="#{bindings.VoGroupAdminView2.hints.ParentVoGroupId.name}"
                                                           sortable="false" styleClass="columnData"
                                                           headerClass="tableHeader"
                                                           headerText="#{bindings.VoGroupAdminView2.hints.ParentVoGroupId.label}"
                                                           id="c4">
                                                    <af:selectOneChoice value="#{row.bindings.ParentVoGroupId.inputValue}"
                                                                        label="#{row.bindings.ParentVoGroupId.label}"
                                                                        simple="true" immediate="true"
                                                                        required="#{bindings.VoGroupAdminView2.hints.ParentVoGroupId.mandatory}"
                                                                        shortDesc="#{bindings.VoGroupAdminView2.hints.ParentVoGroupId.tooltip}"
                                                                        id="soc2" autoSubmit="true"
                                                                        unselectedLabel="&lt;null&gt;"
                                                                        valueChangeListener="#{adminGroupManagementBean.parentIdValueChangeListener}"
                                                                        visible="#{row.bindings.ChildrenCount.inputValue eq 0 ? true : false}">
                                                        <f:selectItems binding="#{adminGroupManagementBean.selectOneChoiceList}"
                                                                        value="#{row.bindings.ParentVoGroupId.items}"
                                                                       id="si2"/>
                                                    </af:selectOneChoice>
                                                </af:column>
                                            </af:table> My select one choice uses the same iterator as the table.
    <iterator Binds="VoGroupAdminView2" RangeSize="-1" DataControl="AppModuleDataControl"    id="VoGroupAdminView2Iterator"/>The table uses this view called VoGroupAdminView:
    Select t1.vo_Group_id,     
           t1.name,
           t1.Vehicle_Owner_Id,
           t1.Graphical_Symbol,
           t1.Lm_Comment,
           t1.Parent_Vo_Group_Id ,
           decode (t2.children_count, null, 0, t2.children_count) as children_count
           from
    (SELECT VoGroup.vo_Group_id,     
           VoGroup.name,
           VoGroup.Vehicle_Owner_Id,
           VoGroup.Graphical_Symbol,
           VoGroup.Lm_Comment,
           VoGroup.Parent_Vo_Group_Id
      FROM VO_GROUP VoGroup
    START WITH VoGroup.Parent_Vo_Group_Id IS NULL
    CONNECT BY VoGroup.Parent_Vo_Group_Id = PRIOR VoGroup.Vo_Group_Id
    order SIBLINGS by VoGroup.name) t1,
    (select parent_vo_group_id, count (parent_vo_group_id) as children_count from vo_group
    group by parent_vo_group_id) t2
    where t1.vo_group_id = t2.parent_vo_group_id (+)the ParentVoGroupId attribute has list of values from this view object called VoGroupAdminLov:
    SELECT
        VO_GROUP.NAME,
        VO_GROUP.VEHICLE_OWNER_ID,
        VO_GROUP.PARENT_VO_GROUP_ID,
        VO_GROUP.VO_GROUP_ID
    FROM
        VO_GROUP
    WHERE  VO_GROUP.PARENT_VO_GROUP_ID is null
    and VO_GROUP.VO_GROUP_ID <> ?
    order by  VO_GROUP.NAMEI want to refresh the list of values in the select one choice everytime when i add a new row in the table, delete row in the table or change the value of select one choice component.
    What I have tried:
        public void parentIdValueChangeListener(ValueChangeEvent valueChangeEvent) {
            this.setValueToEL("#{row.bindings.ParentVoGroupId.inputValue}", valueChangeEvent.getNewValue());
            BindingContainer bc = BindingContext.getCurrent().getCurrentBindingsEntry();
            DCIteratorBinding voGroupAdminIterator = (DCIteratorBinding)bc.get("VoGroupAdminView2Iterator");
            Key selectedGroupKey = voGroupAdminIterator.getCurrentRow().getKey();
            AppModuleImpl am = (AppModuleImpl)ADFUtils.getApplicationModuleForDataControl("AppModuleDataControl");
            am.getTransaction().postChanges();
            am.getVoGroupAdminView2().executeQuery(); //refresh the table view object;
            am.getVoGroupAdminLov1().executeQuery(); //refresh the list of values view object
            voGroupAdminIterator.invalidateCache();  //remove the cache of the iterator
            voGroupAdminIterator.setCurrentRowWithKey(selectedGroupKey.toStringFormat(true)); // set the selected row again.
            RichSelectOneChoice soc =
                (RichSelectOneChoice)FacesContext.getCurrentInstance().getViewRoot().findComponent(":pt1:t5:soc2");
            AdfFacesContext.getCurrentInstance().addPartialTarget(soc);
            AdfFacesContext.getCurrentInstance().addPartialTarget(this.groupTable);    
        }When i am adding a new row to the table its select one choice list is refreshed but only for the new row. The rest rows have not updated list of values for their select one choice components.
        public String addGroupButtonAction() {
            AppModuleImpl am = (AppModuleImpl)ADFUtils.getApplicationModuleForDataControl("AppModuleDataControl");
            ViewObjectImpl voGroupAdminView = am.getVoGroupAdminView2();
            Row newRow = voGroupAdminView.createRow();
             newRow.setNewRowState(Row.STATUS_INITIALIZED);
            voGroupAdminView.insertRowAtRangeIndex(0, newRow);
            am.getTransaction().postChanges();
            return "null";
        }Edited by: 897833 on Mar 19, 2012 9:07 AM

    I made a button to refresh the value of select one choice and it doesn't work yet.
    So I just move one of the
        public String refreshParentIdSOCButtonAction() {
            BindingContainer bc = BindingContext.getCurrent().getCurrentBindingsEntry();
            DCIteratorBinding voGroupAdminIterator = (DCIteratorBinding)bc.get("VoGroupAdminView2Iterator");
            Key selectedGroupKey = voGroupAdminIterator.getCurrentRow().getKey();
            AppModuleImpl am = (AppModuleImpl)ADFUtils.getApplicationModuleForDataControl("AppModuleDataControl");
            am.getTransaction().postChanges();
            am.getVoGroupAdminView2().executeQuery();
            am.getVoGroupAdminLov1().executeQuery();
            voGroupAdminIterator.invalidateCache();
            voGroupAdminIterator.setCurrentRowWithKey(selectedGroupKey.toStringFormat(true));
            AdfFacesContext.getCurrentInstance().addPartialTarget(this.parentIdSelectOneChoice);  //refresh the binded SOC as you said
            AdfFacesContext.getCurrentInstance().addPartialTarget(this.parentIdSelectOneChoiceList); //refresh the binded list even
            AdfFacesContext.getCurrentInstance().addPartialTarget(this.groupTable); //refresh the table it is in;
            return null;
        }Edited by: 897833 on Mar 23, 2012 2:58 AM

  • I was working on a project in iMovie (10.0.1) and iMovie just crashed. when i reopened it the project i was working on disappeared. in my list of projects it still says i have 3 projects but its only showing me 2. is there any way i can recover my project

    i was working on a project in iMovie (10.0.1) and iMovie just crashed. when i reopened it the project i was working on disappeared. in my list of projects it still says i have 3 projects but its only showing me 2. is there any way i can recover my project?? PLEASE HELP!!!

    iMovie on your Mac  has nothing to do with iCloud storage.  Download and use Find Any File  to search for your iMovie project.  FAF can search areas that Spotlight can't, like invisible folders, packages and system folders.  If there a file with your file name on it anywhere on the hard drive FAF will find it.
    Do you have Time Machine enabled backing up to an external HD?  This situation is exactly what TM is good at.  It makes hourly backups so you can go back to find and restore the missing file.  All HDs crash at some time or another and having a good backup strategy is the only protection against that.

  • Refresh activities listed in workspace inbox automatically

    Hi, I have a split-n implemented inside a process. The activity is asigned to a group of persons with a specific role. The first person who executes the activity completes the activity and the process continues, but this activity is still shown in other persons whom the activity was assigned previously.
    I want to reload other users' inbox so they can't see this activity anymore.
    I found this code inside workspace.properties, which is located in OraBPMStudioHome\webapps\workspace\WEB-INF.
    # Not used in this version.
    fuego.workspace.refreshTimeMin=1
    I've also found this code for FuegoBPM System Administrator 5
    fuego.portal.autoRefreshMenuOptions=true
    fuego.portal.refreshTimeMin=0.1
    I've tried coping this code inside in workspace.properties but it didn't work.
    Does anybody know the equivalent to refresh activities listed in workspace inbox automatically code used in Oracle BPM Studio 10.3.1.0?

    Hi Joe,
    normally the inbox is refreshed automatically when you enter.
    We found the program that is called when you enter the inbox.
    Here you can add additional code.
    Function module: SINWP
    subroutine: append_folrg_to_tree
    Best regards,
    Werner.

  • Media list required for PI 7.1 including EHP1 for AIX, DB2.

    I am in the process of downloading software for PI7.1 including EHP1. But I identified below two links in service market place. Which is one is the correct link for getting combined pack of PI 7.1 including EHP1 for fresh installation?
    https://websmp208.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000620973&_SCENARIO=01100035870000000202&
                      SAP Netweaver PI 7.1
                      SAP EMP1 for SAP NW PI 71
    I think that we can install PI 7.1 including EHP1 directly without installing 7.1 first and after EHP1. Is this correct?
    If anybody have media list for PI 7.1 including EHP1 for AIX & DB2, please share.
    Regards
    Sudhakar

    Hi,
    Yes, you can directly install PI 7.1 including EHP1 directly.
    For media list, check below link:
    https://websmp202.sap-ag.de/~sapidb/011000358700000327472009E
    Thanks
    Sunny

  • How exporting music or other media list from iTunes from computer works?

    Hi, I want to know how exporting music or other media list from iTunes to computer works, because I have exported the songs list of Music from iTunes to computer in a text file, but I have no idea how it works.

    Recovering your iTunes library from your iPod or iOS device: Apple Support Communities

  • List of Project Permission in PS 2010 Using SQL query

    Hi
    Is there any way to get a list of Project permissions associated with user using sql query. If i go manually Project center --> select project plan --> project permission it would take lot of time to find out for each user
    Regards
    Santosh

    Before you continue (which you probably will overlook) - please understand that you should only be querying the REPORTING database and not the published database.  A recommendation is to use a select statement statement to insert the tables into a table
    int the reporting database, then query that table for your results/report.  
    The following page I believe has what you're looking for (Users with direct permissions- query below)
    and more
    http://pmpspecialists.com/Blog/2013/10/
    SELECT MSP_RESOURCES.RES_NAME AS Resourcename, CONV.CONV_STRING AS Permission, MSP_WEB_SECURITY_SP_CAT_PERMISSIONS.WSEC_DENY AS Denied,
    MSP_WEB_SECURITY_SP_CAT_PERMISSIONS.WSEC_ALLOW AS Allowed
    FROM MSP_WEB_SECURITY_SP_CAT_PERMISSIONS INNER JOIN
    MSP_WEB_SECURITY_SP_CAT_RELATIONS ON
    MSP_WEB_SECURITY_SP_CAT_PERMISSIONS.WSEC_REL_UID = MSP_WEB_SECURITY_SP_CAT_RELATIONS.WSEC_REL_UID INNER JOIN
    MSP_WEB_SECURITY_FEATURES_ACTIONS ON
    MSP_WEB_SECURITY_FEATURES_ACTIONS.WSEC_FEA_ACT_UID = MSP_WEB_SECURITY_SP_CAT_PERMISSIONS.WSEC_FEA_ACT_UID INNER JOIN
    MSP_WEB_CONVERSIONS AS CONV ON CONV.CONV_VALUE = MSP_WEB_SECURITY_FEATURES_ACTIONS.WSEC_FEA_ACT_NAME_ID INNER JOIN
    MSP_RESOURCES ON MSP_WEB_SECURITY_SP_CAT_RELATIONS.WSEC_SP_GUID = MSP_RESOURCES.RES_SECURITY_GUID
    WHERE (CONV.LANG_ID = 1033)
    ORDER BY Resourcename, Permission

  • List of project members and business process owners

    Hi Experts,
    Can any one tell me where we can view list of Business Process Owners and list of Project members who are involved in a particular project.
    I know that we can view list of team member in authorisation view. is there any other view to view list all member who are all involved in a particulat project.
    Regards
    Sasikanth.Ch

    Try this
    IGPProcessInstance process = ... ;
    IGPBlock processTemlate = (IGPBlock) process.getTemplate() ;;
    for (int i = 0, len = processTemlate.getRoleInfoCount(); i < len; i++)
    IGPRoleInfo roleInfo = processTemlate.getRoleInfo(i) ;
    String techName = roleInfo.getRoleName() ;
    Enumeration userEnum = process.getUsersForRole(techName) ;
    //store users to some global collection or your table (IUser)

  • Media List required for EHP7 OF ERP 6

    Hello,
    We plan to upgrade our ERP 6.0 ABAP systems (Unix,Oracle) on SAP NETWEAVER 7.00 to EHP7 for SAP ERP 6 based on SAP Netweaver 7.4 (Linux,Oracle) after OS/DB migration
    I know the path from where I can download the media but want to know if there is any MEDIA list guide for EHP7 for SAP ERP 6 based on SAP Netweaver 7.4 ? Or how do I know which DVDs should I download ?
    My Company's Application Components" My Company's Software" SAP ERP" SAP ERP ENHANCE PACKAGE" EHP7 FOR SAP ERP 6.0" SAP NETWEAVER 7.4
    My Company's Application Components" My Company's Software" SAP ERP" SAP ERP ENHANCE PACKAGE" EHP7 FOR SAP ERP 6.0
    Thanks
    Shradha

    Hi!
    Wondering about the media list for a NEW installation of ERP6 EHP7 on Oracle Linux with Oracle DB with ADS.
    Is it something like this:
    SAP Netweaver 7.4
    51049350_5     SAP Kernel 7.42 Linux on x86_64 64bit
    51048524_6     NW 7.4 SR2 Java 1/2
    51048524_7     NW 7.4 SR2 Java 2/2
    EHP7 FOR SAP ERP 6.0
    51048902_1     SAP ERP 6.0 EHP7 SR2Installation Export I 1/2
    51048902_2     SAP ERP 6.0 EHP7 SR2Installation Export I 2/2
    51048902_3     SAP ERP 6.0 EHP7 SR2Installation Export II
    51048902_4     SAP ERP 6.0 EHP7 SR2 Language I 1/2
    51048902_5     SAP ERP 6.0 EHP7 SR2 Language I 2/2
    51048902_6     SAP ERP 6.0 EHP7 SR2 Language II 1/2
    51048902_7     SAP ERP 6.0 EHP7 SR2 Language II 2/2
    51048902_8     SAP ERP 6.0 EHP7 SR2 Language III
    51048902_15   BS7i2013 SR2 Java Components - NW 7.4
    51048902_16     SAP ERP 6.0 EHP7 SR2 SAP Components
    Or do I need something else?
    Any help welcome!
    Thanks in advance and Kind Regards,
    Joao

  • Refresh a list when a mxml is opened

    Hi all,
    I have two mxml. In the first, i've a datagrid that is correctly populated and it has some headercolumns (for example: name).
    In the second mxml, I want to show the user all the names  in the datagrid.
    To show the names I use a list. That list is populated when the mxml creation is completed (event 'creationCompleted'). The problem is when the datagrid change so the new names are not shown to user.
    Is there any way, event or similar wich I can refresh the list when the second mxml is opened?
    Thanks in advance!

    Hi, thanks for your answers!
    DataBinding is very "hard" for my app because I really haved lot of mxml.
    I tried to use dataChange property but nothing happens.
    This is my actual code:
          Datagrid in main.mxml
    <comp:ColoredDataGrid id="dg_events" width="100%" height="100%"
                             dataProvider="{eventList.eventCollection}"
                             rowColorFunction="getRowColor"
                             dataChange="dataChangeDg()">
                             <comp:columns>
                                  <mx:DataGridColumn headerText="Nombre de evento" width="150"
                                       dataField="name"/>
                                  <mx:DataGridColumn headerText="ID" width="40"
                                       dataField="eventId"/>
                                  <mx:DataGridColumn headerText="Propietario" width="120"
                                       dataField="owner"/>
                                  <mx:DataGridColumn headerText="Fecha" width="70"
                                       dataField="date"/>
                                  <mx:DataGridColumn headerText="Hora" width="55"
                                       dataField="time"/>
                                  <!-- <mx:DataGridColumn headerText="N. Parámetros" width="100"
                                       dataField="numParams"/> -->
                                  <mx:DataGridColumn headerText="Parámetros"
                                       labelFunction="eventList.getParams"/>
                                  <!--<mx:DataGridColumn headerText="Archivo" width="40"
                                       dataField="numFile"/>-->
                             </comp:columns>
                        </comp:ColoredDataGrid>
    And now filterParam.mxml (this is where I want to refresh the list). I paste a bit of code:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:comp="comp.*"
               creationComplete="load()"
               dataChange="load()">
              //Activamos panel de filtrado por parámetros y cargamos valores                    
              public function load():void{
                   panel.percentHeight = 100;                              //Ajustamos tamaño
                   eventsArr = new Array();
                   eventsArr = eventList.categories_events();          //Obtenemos listado de eventos
                   eventsArr.push('---Todos---');                         //Añadimos etiqueta todos para el filtrador
                   eventsArr.sort(1);                                        //Organizamos alfabéticamente
                   owners = eventList.categories_owners();               //Obtenemos objetos propietarios
                   owners.push('---Todos---');
                   owners.sort(1);
                   categories = eventList.categories_params();          //Obtenemos todos los parametros
                   categories.sort(1);
                   matchFilter = new MatchFilter(dg);                    //Herramientas de filtrado
    <mx:VBox>                    
                                  <mx:List id="nameList" dataProvider="{eventsArr}" width="200" height="200"
                                        doubleClick="nameEv = nameList.selectedItem.toString();"/>
                                  <mx:HBox width="100%">
                                       <mx:Spacer width="100%"/>
                                       <mx:Image source="@Embed('/assets/images/system/add.png')" click="addEvent()"
                                                     toolTip="Bla bla bla bla"/>     
                                  </mx:HBox>                              
                             </mx:VBox>
    Thanks for your answers!

  • JPA -- Best way to refresh a List association?

    Hi,
    I need to refresh a OneToMany association.
    For example, I have two entities: Header & Detail.
    @Entity
    @Table(name="HEADERS")
    public class Header implements Serializable {
        @OneToMany(mappedBy="header")
        private List<Detail> details;
    @Entity
    @Table(name="DETAILS")
    public class Detail implements Serializable {
        @ManyToOne(fetch=FetchType.LAZY)
        @JoinColumn(name="HDR_ID", referencedColumnName="HDR_ID")
        private Header header;
    }So, I fetch the Header along with all its Details.
    At a later point of time, I know that some Detail rows in the database have been changed behind my back. I need to re-fetch the list of Details. What should I do?
    1. I could add a cascade parameter to the @OneToMany association. I could specify:
    @OneToMany(mappedBy="header", cascade={CascadeType.REFRESH})Then I could run:
    entityManager.refresh(header);The trouble is that, since all the Details are already in the cache, the cached entities will be returned, not the ones fetched from the database. So, I won't refresh a thing. A query will be sent to the database indeed, but I will get the cached (i.e. stale) entities. I don't know of a way to specify something like
    setHint(TopLinkQueryHints.REFRESH, HintValues.TRUE)dynamically for associations, so that the values in the cache would be replaced with the ones fetched from the database.
    2. I could try to turn off the caching for the while Entity class. The trouble is that for some reason this doesn't work (see my other question here JPA -- How can I turn off the caching for an entity? Besides, even if it worked, I don't want to turn off the caching in general. I simply want to refresh the list sometimes.
    Could anyone tell me what's the best way to refresh the association?
    Best regards,
    Bisser

    Hi Chris,
    First, let me thank you that you take the time to answer my questions. I really appreciate that. I wish to apologize for my late reply but I wasn't around the PC for a while.
    TopLink doesn't refresh an entity based on a view. I will try to explain in more detail. I hope you'll have patience with me because this might be a bit longer even than my previous post. I will oversimplify my actual business case.
    Let's assume we have two tables and a view:
    create table MASTERS
      (id number(18) not null primary key,
       master_name varchar2(50));
    create table DETAILS
      (id number(18) not null primary key,
       master_id number(18) not null,   -- FK to MASTER.ID
       price number(7,2));
    create view DETAILS_VW as
      select id, master_id, price
      from details;Of course, in real life the view is useful and actually peforms complex aggregate calculations on the details. But at the moment I wish to keep things as simple as possible.
    So, I create Entities for the tables and the view. Here are the entities for MASTERS and DETAILS_VW, only the essential stuff (w/o getters, setters, sequence info, etc.):
    @Entity
    @Table(name="MASTERS")
    public class Master {
         @Id
         @Column(name="ID", nullable=false)
         private Long id;
         @Column(name="MASTER_NAME")
         private String masterName;
         @OneToMany(mappedBy="master", fetch=FetchType.LAZY, cascade=CascadeType.REFRESH)
         private List<DetailVw> detailsVw;
    @Entity
    @Table(name="DETAILS_VW")
    public class DetailVw {
         @Id
         @Column(name="ID")
         private Long id;
         @ManyToOne(fetch=FetchType.LAZY)
         @JoinColumn(name="MASTER_ID", referencedColumnName="ID")
         private Master master;
         @Column(name="PRICE")
         private Double price;
    }So, now we have the tables and the entities. Let's assume one master row and two detail rows exist:
    MASTER:  ID=1, MASTER_NAME='Master #1'
    DETAIL:  ID=1, MASTER_ID=1, PRICE=3
    DETAIL:  ID=2, MASTER_ID=1, PRICE=8And now let's run the following code:
    // List the initial state
    Master master = em.find(Master.class, 1L);
    List<DetailVw> detailsVw = master.getDetailsVw();
    for (DetailVw dv : detailsVw) {
         System.out.println(dv);
    // Modify a detail
    EntityTransaction tx = em.getTransaction();
    tx.begin();
    Detail d = em.find(Detail.class, 2L);
    d.setPrice(1);
    tx.commit();
    // Refresh
    System.out.println("----------------------------------------");
    em.refresh(master);
    // List the state AFTER the update
    detailsVw = master.getDetailsVw();
    for (DetailVw dv : detailsVw) {
         System.out.println(dv);
    }And here are some excerpts from the console (only the essentials):
    DetailVw: id=1, price=3
    DetailVw: id=2, price=8
    UPDATE DETAILS SET PRICE = ? WHERE (ID = ?)
         bind => [1, 2]
    SELECT ID, MASTER_NAME FROM MASTERS WHERE (ID = ?)
         bind => [1]
    SELECT ID, PRICE, MASTER_ID FROM DETAILS_VW WHERE (MASTER_ID = ?)
         bind => [1]
    DetailVw: id=1, price=3
    DetailVw: id=2, price=8You see, the UPDATE statement changes the DETAILS row. The price was 8, but was changed to 1. I checked the database. It was indeed changed to 1.
    Furthermore, due to the refresh operation, a query was run on the view. But as you can see from the console output, the results of the query were completely ignored. The price was 8, and continued to be 8 even after the refresh. I assume it was because of the cache. If I run an explicit query on DETAILS_VW with the hint:
    q.setHint(TopLinkQueryHints.REFRESH, HintValues.TRUE);then I see the real updated values. But if I only refresh with em.refresh(master), then the DetailVw entities do not get refreshed, even though a query against the database is run. I have tested this both in JavaSE and in OC4J. The results are the same.
    An explicit refresh on a particular DetailVw entity works, though:
    DetailVw dvw = em.find(DetailVw.class, 2L);
    em.refresh(dvw);
    System.out.println(dvw);Then the console says:
    DetailVw: id=2, price=1So, the price is indeed 1, not 8.
    If you can explain that to me, I will be really thankful!
    Best regards,
    Bisser

Maybe you are looking for