Disappearing Flash Items

Can someone help me figure this out? My client told me that
when she looked at her site in Firefox, she noticed that the Flash
navigation bar that we created has disappeared.
http://www.rickystator.com
I did this... I did that... I recreated the page and uploaded
it and still the navigation bar still does not come up. I'm
stumped. What is wierd is that you can see it in Internet Explorer
but not in Firefox. It's usually the other way around.
Any ideas how I can fix this problem?

> Has there been somekind of change in Dreamweaver that
wants to fix
> the whole Microsoft "double-click" Flash problem?
Yes - done as a result of changes Microsoft made to their
browser, regarding
how Active Content (Flash, Quicktime etc) is handled, after
losing a high
profile court case.
http://blog.deconcept.com/2005/12/15/internet-explorer-eolas-changes-and-the-flash-plugin/
Background:
http://en.wikipedia.org/wiki/Eolas
See also
http://www.adobe.com/devnet/activecontent/
If you're running Dreamweaver 8.0.2, the fix is already built
into DW's
interface.
If not, try
http://blog.deconcept.com/swfobject/
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"Hilla the Killa" <[email protected]> wrote
in message
news:f6lsc0$t2q$[email protected]..
> No. What's crazy about it all, is that I did what I
always do when setting
> up a
> basic html page. Select the flash piece and put it in.
Nothing customized
> or
> hand coded. Has there been somekind of change in
Dreamweaver that wants to
> fix
> the whole Microsoft "double-click" Flash problem? Am I
not uploading a
> particular file that it needs to show?
>
> Still stumped... Please help!
>

Similar Messages

  • Problems viewing FLASH items

    When I go to a lot of websites. A flash item will appear
    normally and as soon as I start scrolling it will disappear and all
    I'm left with as a white box. Is this my Flash player that is
    acting up?

    Try a test account where? I'm confused.
    Okay, Under the Blue Apple menu > System Preferences > Accounts->
    Log in Options:
    Click Add [+] and type the user's name call it TEST in all fields for ease
    long name short name pswrd, hint, you may later remove the account with the [-]
    I have more, start with this it will let us know if the issue is within your username accountt or system wide.
    Please let us know, what you find.
    Thanks for the reply back.
    Eme
    Check these settings below:
    In Safari prefs. "Appearance tab:" " Display images when web page loads" is selected.
    In System preferences->Quicktime preferences:
    • Browser tab-> Play movies automatically is checked ?
    • Streaming tab-> check that your streaming Speed is set correctly i.e 1Mbps cable or 56 modem....etc... set it for your internet connection.
    •Advanced tab Transport Setup: Automatic vs Custom
    ✓Enable Flash [ actually this made no difference in mine]
    you could try it... no difference set it back as was.
    • Advanced tab->check which are checked in MIME settings, [ so to compare I will write out all my setting and post them, since mine works; ]
    edited by: Eme~x3

  • Web Broswers not displaying certain Flash items

    For some odd reason, some flash items will not display in any of my browsers (Safari 4, FireFox, or Opera). YouTube videos work fine and Flash based games are okay, but videos and the music player from MySpace don't seem to load, and videos from Funny or Die won't load. It leaves a empty box where the video or the music player is supposed to be, and you can even right click it for the "Adobe Flash Player Settings," but it won't display what's supposed to be there. At first I thought it was a browser based problem, but when it stopped working for all my browsers I became concerned. I think I might have accidentally deleted something vital on my computer. Any ideas? Thanks in advance.

    I have similar problems with flash in all Browsers on one user account. I can watch videos on ted.com, but not diashow on flickr, like this one: http://www.flickr.com/search/show/?q=geektool
    Another account on the same machine works. Everything updated, cache cleared, Safari resetted.
    Every fail is logged: 20.11.09 14:18:51 com.apple.WebKit.PluginAgent[15378] Debugger() was called!

  • Frame around flash items

    in the last 2 weeks ther is a frame around all flash items
    across the intenet
    (at list in Internet Explorer Brwosers)
    and you need to click it one time to get rid of it.
    what is it?
    and what to do to get rid of it once and for all.
    thanx bambi

    Bambi, you've found some new behaviour, you've been logging
    on to this system, you've managed to write a post. Congratulations.
    You're already many steps closer to the solution.
    The most important step however would have been to use the
    search feature. It would have shown you that many many others have
    encountered the same thing. And that it has been discussed many
    many times. And there are many many solutions.
    Some are offered in this thread, which already has 124 posts
    as per this writing:
    http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=194&threadid=11259 16&enterthread=y
    good luck
    Wolf

  • Important: Item Disappears form Item Dashboard when used in Initiative

    Hello All,
    I have one urgent question. I am seeing one strange thing. When a PPM Item is created and lets say this Item has a role A with 'Write' access on it. When I log in as Role A, I can see the PPM Item on the Item Dashboard. But the strange thing is when an Initiative is created by Role B ( this Initiative has both 'Write' access for roles B and role A) and the above PPM Item is added. Then when I log in as Role A, I cant see the PPM item on Item Dashboard. To see the PPM Item as Role A, I have to go to Initiative first and then see added items and there I can see the above PPM Item but not directly from Item Dashboard. Can someone throw some light as why PPM item disappears from Item dashboard for Role A, even when Role A has write access on the PPM Item, after item is used in a initiative.
    Thanks,
    Sachin

    Hello Sachin,
    Implement SAP Note 1649142 and retest.
    Regards,
    Brendan

  • Disappearing Start Items

    I have a Start Button problem with a Windows 7 SP-1 computer.
    When I click Start / All Programs, the list of programs duly appears but when I then left-click on any folder in the resultant list (e.g. the "Microsoft Office" folder), although the folder correctly expands to show
    the short-cuts contained (Excel, Word etc in this example), they only stay in view fleetingly.  The whole thing disappears a split-second later, long before I can click on one of the short-cuts to run it.
    Right-clicking on the same folder works fine.  E.g., When I click Start / All Programs, right-click on the Microsoft Office folder and select "open", a Windows Explorer window correctly displays the contents of C:\ProgramData\Microsoft\Windows\Start
    Menu\Programs\Microsoft Office.  All of the Office shortcuts are there and I can double-click on them in the normal way.
    The above problem only happens with folders.  Items in the Start / All Programs list which are individual shortcuts (e.g. the shortcut to Internet Explorer) work just fine.

    Hi,
    Did the issue occur recently, if is, you can try run system restore to the point when it work normal.
    Start>type system restore in the search box>choose system restore and follow the wizard to restore your computer.
    If not,  please first run Microsoft safety scanner to see if it is infected by virus.
    http://www.microsoft.com/security/scanner/en-us/default.aspx
    If it is not the issue, it is probably the issue that the related folders are hidden.
    go to control panel>folder options>click view >check the box show hidden files.
    go to c:\program data/microsoft/windows/start menu. if start menu folder is like clear. right click properties>general>uncheck hidden>ok.
    http://support.microsoft.com/kb/2603415
    Or you can try the methods in the following link.
    http://coolthingoftheday.blogspot.in/2009/05/story-of-windows-7-and-empty-all.html
    Please note: since the website is not hosted by Microsoft, it may be changed without notice, Microsoft does not guarantee the accuracy of the information.
    If still not work, the user profile may have become corrupted. Create another profile for test.
    Regards,
    Ada Liu
    TechNet Community Support

  • [JS CS3] disappearing page items

    Now this is strange: I've written a script that does some imposition of a an image on a single sheet (page) and puts some special printers marks along the side. Now there's (as far as i am aware of) one instance where all the page items get placed on the page, but when you save, close and reopen the document, half of them are gone!
    When you drag the page items before saving they disappear right from under your cursor! I've tried putting a lot of save commands during the script, hoping that that would nail those items down, but with no luck.
    Has anybody had a similar experience and found a solution?
    Thanks,
    james

    Hi,
    You should send your script then we could have a try on our side.
    Loic

  • Unwanted line in DW when adding a Flash item...Help!

    Guys/Gals
    When I try to put a movie item in my Dreamweaver page, an additional line appears underneath - that I do not want.
    See this page:
    http://perryautolaval.com/autoaboutfr.php
    right under the flash banner, a grey lines appears.
    It should look like:
    http://perryautolaval.com/autoproducteng.php
    See?
    Help!!!
    Here are my codes:
    <? include('includes/include.inc.php');?>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <title>Perry Automobile</title>
    <script language="JavaScript" type="text/JavaScript">
    <!--
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    //-->
    </script>
    <style type="text/css">
    <!--
    /*body {
        margin-top: 0px;
        background-image:  url(images/auto/autointeriorpage_01back.jpg);
    -->
    </style>
    <link href="css/styles" rel="stylesheet" type="text/css">
    <link href="css/styles.css" rel="stylesheet" type="text/css">
    <style type="text/css">
    <!--
    .style1 {    font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: 12px;
    -->
    </style>
    </head>
    <body onLoad="MM_preloadImages('images/lapping/interiorpage_02ro.jpg','images/lapping/interiorp age_03ro.jpg','images/lapping/interiorpage_04ro.jpg','images/lapping/interiorpage_05ro.jpg ','images/Performance/perfinteriorpage_02frro.jpg','images/Performance/perfinteriorpage_03 frro.jpg','images/Performance/perfinteriorpage_04frro.jpg','images/Performance/perfinterio rpage_05frro.jpg','images/auto/autointeriorpage_02ro.jpg','images/auto/autointeriorpage_03 ro.jpg','images/auto/autointeriorpage_04ro.jpg','images/auto/autointeriorpage_05ro.jpg')">
    <table width="100%" border="0" cellpadding="0" cellspacing="0" class="">
      <tr>
        <td background="images/auto/autointeriorpage_01back1.jpg" style="background-repeat:repeat-x;"><table width="779" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td><table width="779" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="65"><a href="autofr.php" target="_parent" onMouseOver="MM_swapImage('Image15','','images/auto/autointeriorpage_02frro.jpg',1)" onMouseOut="MM_swapImgRestore()"><img src="images/auto/autointeriorpage_02fr.jpg" name="Image15" width="65" height="74" border="0"></a></td>
                <td width="139"><a href="autoaboutfr.php" target="_parent" onMouseOver="MM_swapImage('Image16','','images/auto/autointeriorpage_03frro.jpg',1)" onMouseOut="MM_swapImgRestore()"><img src="images/auto/autointeriorpage_03fr.jpg" name="Image16" width="139" height="74" border="0"></a></td>
                <td width="146"><a href="autoproductfr.php" target="_parent" onMouseOver="MM_swapImage('Image17','','images/auto/autointeriorpage_04frro.jpg',1)" onMouseOut="MM_swapImgRestore()"><img src="images/auto/autointeriorpage_04fr.jpg" name="Image17" width="146" height="74" border="0"></a></td>
                <td width="93"><a href="autocontactfr.php" target="_parent" onMouseOver="MM_swapImage('Image18','','images/auto/autointeriorpage_05frro.jpg',1)" onMouseOut="MM_swapImgRestore()"><img src="images/auto/autointeriorpage_05fr.jpg" name="Image18" width="93" height="74" border="0"></a></td>
                <td width="336"><img src="images/auto/autointeriorpage_06.jpg" width="336" height="74" border="0" usemap="#Map"></td>
              </tr>
              <tr>
                <td colspan="5"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="779" height="198">
                  <param name="movie" value="images/flash/auto-eng.swf">
                  <param name="quality" value="high">
                  <embed src="images/flash/auto-eng.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="779" height="198"></embed>
                </object></td>
                </tr>
              <tr>
                <td colspan="5" bgcolor="#000000"><img src="images/auto/menubannerfr.jpg" width="779" height="54" border="0" usemap="#Map2">
                  <map name="Map2">
                    <area shape="rect" coords="27,7,384,50" href="performancefr.php" target="_parent">
                    <area shape="rect" coords="482,1,744,47" href="lappingfr.php" target="_parent">
                  </map></td>
              </tr>
              <tr>
                <td colspan="5"><table width="100%" cellspacing="0" cellpadding="0">
                     <?
             $page_name=basename($_SERVER['PHP_SELF']);
                $sq="select * from gws_event where event_type='Perry Auto' order by id desc limit 0,1";
                $rs=mysql_query($sq) or die(mysql_error());
                $line=mysql_fetch_array($rs);   
                ?>
                  <tr>
                    <td width="204" valign="top"><? include('left-nav-fr.php'); ?></td>
                    <td valign="top" class="contentarea"><table width="100%" cellspacing="0" cellpadding="0">
      <tr>
        <td><img src="images/anotresujet.jpg" alt="About Us" width="367" height="36"></td>
      </tr>
      <tr>
        <td><p align="justify" class="style1">L&rsquo;histoire du magasin Perry Pi&egrave;ces d&rsquo;Autos Laval est celle d&rsquo;une passion pour les voitures et la m&eacute;canique. </p>
          <p align="justify" class="style1"> Perry Wener, propri&eacute;taire de ce magasin sp&eacute;cialis&eacute; dans la vente de pi&egrave;ces de remplacement et de produits d&rsquo;entretien pour v&eacute;hicules automobiles, travaillait les &eacute;t&eacute;s durant ses &eacute;tudes comme repr&eacute;sentant sur la route pour le commerce de son p&egrave;re, Bernie Pi&egrave;ces d&rsquo;Autos. Soulignons que ce magasin de Ville-Saint-Laurent est ouvert depuis 1949. Une fois son dipl&ocirc;me d&rsquo;ing&eacute;nieur en m&eacute;canique de l&rsquo;Universit&eacute; McGill obtenu, il a discut&eacute; avec ses proches des possibilit&eacute;s qu&rsquo;il puisse devenir ing&eacute;nieur ou homme d'affaires. Afin de concilier sa carri&egrave;re et sa passion, Perry a d&eacute;cid&eacute; de s'investir &agrave; temps plein et de s'associer pour ouvrir un autre magasin &agrave; Laval. <br>
      Apr&egrave;s plus de 15 ans, Perry n&rsquo;a aucun regret et est fier d&rsquo;approvisionner les garagistes de Laval et de la Rive-Nord, et de conseiller les passionn&eacute;s de m&eacute;canique automobile qui aiment r&eacute;parer eux-m&ecirc;mes leur v&eacute;hicule. En 2008, la surface de magasin et de stockage a d&ucirc; presque &ecirc;tre doubl&eacute;e afin de r&eacute;pondre &agrave; une plus grande demande. Perry n&rsquo;est pas tout seul dans cette entreprise dynamique. Les quatre commis &agrave; votre service cumulent pr&egrave;s de 60 ann&eacute;es d&rsquo;exp&eacute;rience dans le domaine de l&rsquo;automobile! </p>
          <div align="justify">
            <ul>
              <li class="style1"> Michel Beauchamp , g&eacute;rant, 16 ans d&rsquo;exp&eacute;rience, s&rsquo;est joint &agrave; l&rsquo;&eacute;quipe en 2001. </li>
              <li class="style1"> Steve Mallette , commis de pi&egrave;ces, 11 ans d&rsquo;exp&eacute;rience, a d&eacute;but&eacute; en 2006. </li>
              <li class="style1"> Genevi&egrave;ve Matte , 6 ans &agrave; son actif, nous a rejoint en 2008. </li>
              <li class="style1"> Enfin, depuis 2008 aussi, Carl Wener est de retour dans l&rsquo;&eacute;quipe. Ancien directeur du magasin, il compte 25 ans d&rsquo;exp&eacute;rience en pi&egrave;ces de remplacement et produits de performance et comp&eacute;tition. </li>
            </ul>
            <p class="style1">Nous sommes ouverts du lundi au vendredi, de 9h &agrave; 18h, et le samedi de 9h &agrave; 13h. Nous sommes au 2273 Boul des Laurentides, Vimont/Laval, QC H7K 2J3. </p>
          </div></td>
      </tr>
      <?
      $sql="select * from gws_cms where cms_page='About Us'";
      $res=mysql_query($sql);
      $result=mysql_fetch_array($res);
      ?>
       <tr>
        <td><p> </p></td>
      </tr>
    </table>
    </td>
                  </tr>
                </table></td>
              </tr>
            </table>
              </td>
          </tr>
        </table>      </td>
      </tr>
    </table>
    <table width="100%" border="0" cellpadding="0" cellspacing="0" class="footer">
      <tr>
        <td><table width="779" height="69" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td><img src="images/auto/bottompartners.gif" width="779" height="69"></td>
          </tr>
        </table></td>
      </tr>
    </table>
    <map name="Map">
      <area shape="rect" coords="292,48,314,70" href="autoabouteng.php">
    </map></body>
    </html>

    try this
    object {
         display: block;
    in your CSS
    Martin

  • DISAPPEARING FLASH MOVIES, ONLY SOUND

    To all the people who kindly help everyone else with their
    problems(not Adobe!!!)
    Im having this problem for some time now and I have posted it
    before in the past but no replies were given. I assume people are
    lazy rather than they dont have any solution.
    After trying all the possible help on this adobe site my
    problem is still there!!! After re-installing several times, my
    problem is still there!!! After checking the registry several times
    the problem is still there!!!! I want someone to help me out with
    this small (I think) but very annoying problem. What happens is,
    when I visit www.youtube.com and choose to watch a clip, the
    following page that loads with the flash content disappears. The
    very first second, I will see the movie, it will disappear and the
    whole page shifts upwards. The end result is I have nothing to see
    but I can hear the sound only. Any site that has flash on it will
    react the same way - first load up and then immediately disappear.
    So many sites use flash nowadays and not being able to see
    much is very annoying and frustrating. Please help me. I am using
    Internet Explorer 7 (Updat Version Beta 3) and have Flash Player
    9

    how nice....me and other sp2 users got no sound but the video
    lol

  • Instantly Disappearing Collection Items?

    Hi, I'm in Bridge CS5 on a Mac Pro running 10.6.4.
    I built a collection of about 98 PSD, JPG and TIF images, which are located in many different folders across an external hard drive.
    The collection name was the default, "New Collection."  I renamed it, and suddenly noticed there were only 42 items in the collection!  Approximately 50+ items just suddenly disappeared, so now I have to start again, because I won't be able to work out exactly what's missing!  It appears the files were not deleted from their locations, they're just not in the collection anymore.
    Any thoughts?  Is there some shortcut to removing items from the collection that I might have hit accidentally?  I know I didn't click the button that's actually MARKED "Remove From Collection," certainly not for 50+ items...
    What happened here?
    Thanks in advance for any ideas, I don't want to have to rebuild this collection more than once again...

    Thanks in advance for any ideas, I don't want to have to rebuild this
    collection more than once again...
    Seems like a bug, tried it for testing and after having added several files
    from different locations and drives and then renamed the original 'new
    collection name to a custom one. After this it was indeed almost empty and
    most of the before added did disappear from the collection.
    No harm done for the originals but the collection was gone.
    The trick seems to be to rename the collection right after the first added
    files. They then stayed put and also after having added more files and then
    again renamed the collection name (added something at the end) the files
    stayed also.
    You might want to do some testing your own and also you might want to file a
    bug report for it (use the contact button at the top of the site), they
    don't always respond but usual are very keen on receiving bug reports
    PS
    Be aware of a tricky shortcut. If you use the back space key for deleting
    files from the collection this also delete the original files to the bin.
    Always use the 'Remove from collection' button at the top of the content
    window for this, this leaves the original untouched !!

  • Disappearing Calendar Items

    About 4 days ago all of the items in my iCloud Calendar started to disappear from my iPad and iPhone.  I have been using iCloud as my master calendar for my PC, iPad, and iPhone since iCloud was introduced.  Now all of a sudden things are starting to disappear from my calendar.  If i enter an event into my iphone, it will show up for a little while and then disappear.  It will never synch with my computer or iPad. Same goes if i put it in my Outlook, it will never get to my iphone or ipad and will just disappear totally from my computer.  My calendars are all set to iCloud.
    Please help!

    Not sure if your issue is related to this, but Microsoft says in a couple of their documents that both the principle and the delegate must accept all meeting requests, for a specific meeting even if the item has already been accepted by one or the other.  If one accepts, and the other deletes it from their inbox, the meeting will come off the calendar. We found this was one thing that would make accepted meetings vanish.  One way to fix this is to ensure that only the principle or the delegate or notified of the meeting, not both.  This becomes even more of a challenge when you have multiple instances of the Outlook inbox....iPhone, iPad, Outlook and delegate etc....all must be accepted. 

  • Disappear sub-items Va01 Va02 va03

    Hi,
    i have the next problem. We have a item in sales order that explode (BOM) subitems.
    Oue customer doesn`t want to see the subitems in sales overview or item overview. They only want to see in structure tab (and in gray status).
    Some body can help me.
    I don`t want to see sub-items in a sales order (it depends of the item category).
    We proved with USEREXIT_FIELD_MODIFICATION, but we don`t know how to disappear all the subitems.
    Thanks

    hi,
    thanks for the information.
    But the problem is that i need BOM explode. But our customer doesn´t want to see the sub-items in the sales order items. But the problem is that there are sub-items with BOM again, so i have three levels in my sales order:
    Level 1      Main item
    Level 2          Sub-item
                        Main sub-item
    Level 3                    SUb Sub items
    They onlu need to see Main item and main sub-item. It depends of the category items.

  • Some Flash Items Not Rendering

    OK, Safari is not showing me some items in what I assume is a Flash-based situation on my iMac. Specifically, the Gameday display of MLB baseball games. This is the first error I have found, there may be more that I have not found yet, and it actually started before Snow Leopard in one of the 4.0.x updates.
    I was watching Adobe for a new Flash plugin when I realized that all is well in this same situation on my Macbook.
    Maybe reinstall Safari from the Snow Leopard disc? But how?

    Greetings,
    Reinstalling Safari won't help you; Safari is not the problem here. It's something else in your user account that is the problem. I suggest you compare every aspect of your accounts on this machine and your MacBook Pro to see what's different, including any Input Managers or plugins, located in /Library/InputManagers, Home/Library/InputManagers and /Library/Application Support/SIMBL/Plugins.

  • Disappearing collection items

    Hi there,
    Could someone please explain what's going on here. I have a class named ScheduledCourse. It contains a collection of type Enroll. The Student class is the same. The Enroll class is an entity class (creates the ENROLL table) that serves as an intermediate join table between tables SCHEDULED_COURSES and STUDENTS. When I enroll a student I simply create an instance of type Enroll. Its constructor automatically adds the instance to the collections in ScheduledCourse and Student. When I run my test code for the first unit of work I load the collections. The println statements reveal the proper amounts. The instance of ScheduledCourse has three Enroll instances, while each of the Student instances have one.
    So far, so good.
    But wait, what's happening in the 2nd. unit of work? I use:
    sc2 = em2.find(ScheduledCourse.class, index);
    to bring the instance of ScheduledCourse back into the persistant context and use a println statement to have a look at the size of the collection of type Enroll. It's zero! This isn't good! Why is it zero?
    See test code below:
    //First unit of work
    EntityManager em1 = emf.createEntityManager();
    EntityTransaction tx1 = em1.getTransaction();
    tx1.begin();
    //Create a ScheduledCourse
    ScheduledCourse sc1 = new ScheduledCourse(...);
    em1.persist(sc1);
    Long index = sc1.getId();
    //Enroll several students into the course
    //ScheduledCourse has a collection of type Enroll
    //The following automatically adds these to the collections
    //in ScheduledCourse and Student
    Enroll enroll1 = new Enroll(company, admin1, student1, sc1);
    em1.persist(enroll1);
    Enroll enroll2 = new Enroll(company, admin1, student2, sc1);
    em1.persist(enroll2);
    Enroll enroll3 = new Enroll(company, admin1, student3, sc1);
    em1.persist(enroll3);
    System.out.println("Adding students to the collections in scheduled course and students...");
    System.out.println("scheduled_course.getEnrolled().size(): " + scheduled_course.getEnrolled().size()); //reveals 3
    System.out.println("enroll1.getStudent().getEnrolled().size(): " + enroll1.getStudent().getEnrolled().size());//reveals 1
    System.out.println("enroll2.getStudent().getEnrolled().size(): " + enroll2.getStudent().getEnrolled().size());//reveals 1
    System.out.println("enroll3.getStudent().getEnrolled().size(): " + enroll3.getStudent().getEnrolled().size());//reveals 1
    tx1.commit();
    em1.close();
    //Perform 2nd Unit of work
    EntityManager em2 = emf.createEntityManager();
    EntityTransaction tx2 = em2.getTransaction();
    tx2.begin();
    ScheduledCourse sc2 = em2.find(ScheduledCourse.class, index);
    System.out.println("Enroll collection size: " + sc2.getEnrolled().size()); //reveals 0 Zero
    tx2.commit();
    em2.close();
    The following code reveals that the records got recorded in the ENROLL table:
    List enrolled = em2.createQuery("select e from Enroll e").getResultList();
    System.out.println(enrolled.size() + " students enrolled"); //reveals 3
    That's fine, but the collection is showing zero. Did something happen to the collection when the instance of ScheduledCourse became detached from the persistent context? I don't get it...
    Please advise,
    Alan
    Message was edited by:
    ashiers
    Message was edited by:
    ashiers

    Thanks in advance for any ideas, I don't want to have to rebuild this
    collection more than once again...
    Seems like a bug, tried it for testing and after having added several files
    from different locations and drives and then renamed the original 'new
    collection name to a custom one. After this it was indeed almost empty and
    most of the before added did disappear from the collection.
    No harm done for the originals but the collection was gone.
    The trick seems to be to rename the collection right after the first added
    files. They then stayed put and also after having added more files and then
    again renamed the collection name (added something at the end) the files
    stayed also.
    You might want to do some testing your own and also you might want to file a
    bug report for it (use the contact button at the top of the site), they
    don't always respond but usual are very keen on receiving bug reports
    PS
    Be aware of a tricky shortcut. If you use the back space key for deleting
    files from the collection this also delete the original files to the bin.
    Always use the 'Remove from collection' button at the top of the content
    window for this, this leaves the original untouched !!

  • Disappearing Desktop Items

    I just got my new Macbook Pro Core2 laptop, which is working quite nicely so far, except, things are disappearing on my desktop. I'm downloading programs and updates using Safari, and the download icon doesn't go away until I click on it and the actual dmg file I download doesn't show up on the desktop. It I search for it in spotlight, it finds it, and also if I browse to the desktop in the terminal it is listed there, but my desktop doesn't seem to be auto-refreshing.
    Any ideas?
    Thanks,
    John

    The Finder can at times be a little slow to update. Generally the quickest way to force it to update it to simply change the it. I normally just create a folder and you'll find everything appearing.

Maybe you are looking for

  • Ipod Nano 6th gen not syncing mp3s after itunes 11.1.4.62 update

    As the title says, after updating itunes to the 11.1.4.62 update, and everything that doing that successfully involved such as completely uninstalling all Apple software and then reinstalling itunes, my ipod nano 6th gen will not allow itunes to sync

  • Report FI-AA & Company code 001

    Hi, I would like to know is there any possibility do not obtain by default the company code 0001 in FI-AA report? Company code 0001 is not assigned to a chart of depreciation so we do not understand why the system fillin automatically the field BUKRS

  • Disable some Button

    Hi friends We are calling Individual Object and other PCUI transaction Screen in ICWC using Transaction Launcher. The requirement is to hide or disable some of the buttons like New,Favorites,Goto can any one let me know how to do this. Waiting for yo

  • Critical problem with directory server--please help!

    We are having issues with some applications and the root cause seems to be the directory server. We see the following errors in the directory server log. [03/Oct/2008:11:58:25 -0600] - DEBUG - conn=-1 op=-1 msgId=-1 - PR_SetSocketOption(PR_SockOpt_No

  • Using Raw in Adobe

    I have one major problem. I have Adobe Photoshop 7.0 and Adobe Elements 7.0. I usually use Elements because I find it more user friendly. I cannot open any .raw or .dng files in Photoshop for some reason. Is there an update I need or a different prog