- Timestamp:
- Sep 14, 2009, 1:44:09 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/net.sf.basedb.mev/trunk/resources/launch_mev.jsp
r1086 r1156 75 75 File tdmsFile = FileStoreUtil.getDataFile(dc, bas, "mev.tdms"); 76 76 File cghFile = FileStoreUtil.getDataFile(dc, bas, "mev.cgh"); 77 File anlFile = FileStoreUtil.getDataFile(dc, bas, "mev.anl"); 77 78 boolean allowCreateFile = bas.hasPermission(Permission.WRITE) 78 79 && sc.hasPermission(Permission.CREATE, Item.FILE); … … 155 156 <table class="form"> 156 157 <tr> 158 <td class="prompt" colspan="2">MeV analysis file</td> 159 </tr> 160 <tr> 161 <td><base:button title="Start MeV" 162 onclick="launchMev('mev.anl')" 163 image="<%=anlFile == null ? homeUrl + "/images/tm4_disabled.png" : homeUrl + "/images/tm4.png" %>" 164 disabled="<%=anlFile == null%>"/></td> 165 <td> 166 <% 167 if (anlFile == null) 168 { 169 %> 170 There is currently no MeV analysis file associated with the bioassay set. 171 <% 172 } 173 else 174 { 175 %> 176 Start MeV with the current analysis file:<br> 177 <%=HTML.encodeTags(anlFile.getName())%> <%=Base.getFileLinks(ID, anlFile, root) %> 178 <% 179 } 180 %> 181 </td> 182 </tr> 183 <tr> 157 184 <td class="prompt" colspan="2">TDMS - Tab-delimited multiple sample</td> 158 185 </tr> … … 208 235 <td><base:button title="Start MeV" 209 236 onclick="launchMev('mev.cgh')" 210 image="<%= tdmsFile == null ? homeUrl + "/images/tm4_disabled.png" : homeUrl + "/images/tm4.png" %>"237 image="<%=cghFile == null ? homeUrl + "/images/tm4_disabled.png" : homeUrl + "/images/tm4.png" %>" 211 238 disabled="<%=cghFile == null%>"/></td> 212 239 <td>
Note: See TracChangeset
for help on using the changeset viewer.