- Timestamp:
- Mar 20, 2008, 12:15:25 PM (15 years ago)
- Location:
- trunk/www
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www
-
Property
svn:ignore
set to
extensions
-
Property
svn:ignore
set to
-
trunk/www/views/experiments/bioassaysets/analysis_tree.jsp
r4041 r4187 62 62 import="net.sf.basedb.util.formatter.Formatter" 63 63 import="net.sf.basedb.clients.web.formatter.FormatterFactory" 64 import="net.sf.basedb.clients.web.extensions.ExtensionsControl" 65 import="net.sf.basedb.clients.web.extensions.toolbar.ButtonAction" 66 import="net.sf.basedb.clients.web.extensions.JspContext" 67 import="net.sf.basedb.util.extensions.Context" 68 import="net.sf.basedb.util.extensions.ExtensionsInvoker" 69 import="net.sf.basedb.util.extensions.Renderer" 64 70 import="java.util.Date" 65 71 import="java.util.List" … … 230 236 final SessionControl sc = Base.getExistingSessionControl(pageContext, Permission.DENIED, itemType); 231 237 final String ID = sc.getId(); 238 final String rootPath = request.getContextPath()+"/"; 232 239 final ItemContext cc = Base.getAndSetCurrentContext(sc, itemType, null, null); 233 240 final ItemContext tc = sc.getCurrentContext(Item.TRANSFORMATION); … … 272 279 Collection<String> closed = (Collection<String>)cc.getObject("closed"); 273 280 int numListed = 0; 281 282 JspContext jspContext = new JspContext(sc); 283 ExtensionsInvoker<ButtonAction> invoker = 284 (ExtensionsInvoker<ButtonAction>)ExtensionsControl.useExtensions(jspContext, "net.sf.basedb.clients.web.bioassayset.list.tools"); 274 285 %> 275 286 <base:page type="include"> 276 287 <base:body> 288 <% 289 jspContext.setOut(out); 290 jspContext.writeScripts(); 291 %> 277 292 <script language="JavaScript"> 278 293 var submitPage = '<%=transformationId != 0 ? "../bioassaysets/index.jsp" : "index.jsp"%>'; … … 373 388 location.href = '../explorer/view/index.jsp?ID=<%=ID%>&bioassayset_id='+itemId; 374 389 } 375 function launchMeV(itemId)390 function net_sf_launchMeV(itemId) 376 391 { 377 392 location.href = '../../../plugins/org/tigr/microarray/mev/launch_mev.jsp?ID=<%=ID%>&bioassayset_id='+itemId; … … 872 887 } 873 888 %> 889 <% 890 jspContext.setCurrentItem(item); 891 jspContext.setOut(out); 892 invoker.renderDefault(); 893 %> 894 874 895 </nobr> 875 896 </tbl:cell> … … 909 930 title="Experiment explorer"><img 910 931 src="../../../images/explorer.png" border="0"></a> 911 <a href="javascript: launchMeV(<%=itemId%>)"932 <a href="javascript:net_sf_launchMeV(<%=itemId%>)" 912 933 title="MeV: MultiExperiment Viewer"><img 913 934 src="../../../images/tm4.png" border="0"></a> … … 915 936 title="Export data"><img 916 937 src="../../../images/export.gif" border="0"></a> 938 917 939 <% 918 940 if (createPermission) … … 926 948 <% 927 949 } 950 %> 951 <% 952 jspContext.setCurrentItem(item); 953 jspContext.setOut(out); 954 invoker.renderDefault(); 928 955 %> 929 956 </nobr> … … 948 975 } 949 976 %> 977 <% 978 jspContext.setCurrentItem(item); 979 jspContext.setOut(out); 980 invoker.renderDefault(); 981 %> 982 950 983 </nobr> 951 984 </tbl:cell> … … 974 1007 </tbl:table> 975 1008 976 977 1009 <script language="JavaScript"> 978 1010 initTree();
Note: See TracChangeset
for help on using the changeset viewer.