Show any-to-any links on all single-item view pages
|Reported by:||Nicklas Nordborg||Owned by:||Nicklas Nordborg|
Description (last modified by )
This is currently only implemented for transformations and bioassay sets. Historically, any-to-any links have only been generated by some plug-ins (eg.
Base1PluginExecutor). If any-to-any links get more common (see #1534 and #267) we need to show them in the gui.
The any-to-any section should only be visible if there are any links, so this has to be changed in the current implementation. Otherwise I think the current implementation can be used. The only thing needed is to add an
<jsp:include> tag on the view pages:
<jsp:include page="../../../common/anytoany/list_anytoany.jsp"> <jsp:param name="ID" value="<%=ID%>" /> <jsp:param name="item_type" value="<%=itemType.name()%>" /> <jsp:param name="item_id" value="<%=itemId%>" /> <jsp:param name="title" value="Other items related to this bioassay set" /> </jsp:include>
Note! Adding the links will still require a plug-in or an extension.