Ignore:
Timestamp:
Feb 25, 2019, 1:19:50 PM (3 years ago)
Author:
Nicklas Nordborg
Message:

References #2151: Pre-compile all JSP pages before releases

Getting rid of rawtypes warnings. Most of them are relatively simple by adding a type parameter.

Utility functions that are used with generics are typically a bit harder.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/biomaterials/biosources/view_biosource.jsp

    r7166 r7604  
    6060  import="net.sf.basedb.clients.web.extensions.JspContext"
    6161  import="net.sf.basedb.clients.web.extensions.renderer.PrefixSuffixRenderer"
     62  import="net.sf.basedb.clients.web.extensions.toolbar.ButtonAction"
    6263  import="net.sf.basedb.clients.web.extensions.toolbar.ToolbarUtil"
    6364  import="net.sf.basedb.util.extensions.ExtensionsInvoker"
     
    103104  final boolean isOwner = bioSource.isOwner();
    104105  JspContext jspContext = ExtensionsControl.createContext(dc, pageContext, guiContext, bioSource);
    105   ExtensionsInvoker invoker = ToolbarUtil.useExtensions(jspContext);
     106  ExtensionsInvoker<ButtonAction> invoker = ToolbarUtil.useExtensions(jspContext);
    106107  %>
    107108  <base:page title="<%=title%>" id="view-page">
     
    212213            />
    213214            <ext:render extensions="<%=invoker%>" context="<%=jspContext%>"
    214               wrapper="<%=new PrefixSuffixRenderer(jspContext, "<td>", "</td>") %>"/>
     215              wrapper="<%=new PrefixSuffixRenderer<ButtonAction>(jspContext, "<td>", "</td>") %>"/>
    215216            <tbl:button
    216217              image="help.png"
Note: See TracChangeset for help on using the changeset viewer.