Changeset 177

Show
Ignore:
Timestamp:
03/09/07 19:43:07 (1 year ago)
Author:
bfitzpa2
Message:

Website tweaks for EOH deployment.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • dmp/trunk/gwt-windows-1.3.3/src/DMP/client/DMPWebsite.java

    r163 r177  
    7373                musicServ = (MusicServAsync) GWT.create(MusicServ.class); 
    7474                ServiceDefTarget endpoint = (ServiceDefTarget) musicServ; 
    75                 String moduleRelativeURL = GWT.getModuleBaseURL() + "music"; 
     75                String moduleRelativeURL = GWT.getModuleBaseURL() + "/music"; 
    7676                endpoint.setServiceEntryPoint(moduleRelativeURL); 
    7777                Window.setTitle("Rubicon"); 
     
    9898                 
    9999                // sets the logo picture 
    100                 Image logo = new Image("C:\\Documents and Settings\\Beverly Fitzpatrick\\My" +  
    101                                 " Documents\\Visual Studio 2005\\Projects\\DMPGraphics\\Rubicon Logo Final.png"); 
    102                 logo.setPixelSize(189, 74); //resize the logo to a resonable sizing 
     100                Image logo = new Image(GWT.getModuleBaseURL() + "logo.png"); 
     101                logo.setPixelSize(189*2, 2*74); //resize the logo to a resonable size 
    103102                topPanel.add(logo); 
    104103                 
     
    131130                mainPanel.add(playingPanel, DockPanel.EAST); 
    132131                 
    133                 mainPanel.setCellHeight(playingPanel, "25"); 
     132                mainPanel.setCellHeight(playingPanel, "100"); 
    134133                mainPanel.setCellWidth(playingPanel, "150"); 
    135134                mainPanel.setBorderWidth(3); 
     
    151150                        } 
    152151                }; 
    153                 refreshTimer.scheduleRepeating(30000); 
     152                refreshTimer.scheduleRepeating(120000); 
    154153        } 
    155154         
  • dmp/trunk/gwt-windows-1.3.3/src/DMP/server/MusicServImpl.java

    r165 r177  
    1515 
    1616import DMP.client.MusicServ; 
    17 import DMP.DMPXmlRpcClient; 
    1817import com.flagstone.transform.*; 
    1918import com.flagstone.transform.util.*; 
     
    2928        private DMPXmlRpcClient client; 
    3029        private HashMap<HashMap,File> flashFileHandles = new HashMap<HashMap,File>(); 
    31         private String graphicsPath = "C:\\Documents and Settings\\Beverly Fitzpatrick\\My" +  
    32         " Documents\\Visual Studio 2005\\Projects\\DMPGraphics\\"; 
     30        private String graphicsPath = "//dmp//"; 
    3331         
    3432        // testing method 
     
    151149        public Vector getSongsFromCollection() 
    152150        { 
    153                 return client.getSongsFromCollection(); 
     151                Vector songs = client.getSongsFromCollection(); 
     152                HashMap testSong = new HashMap(); 
     153                testSong.put("title", "asdf"); 
     154                testSong.put("id", "5"); 
     155                songs.add(testSong); 
     156                return songs; 
    154157        } 
    155158