Opened 14 years ago

Last modified 13 years ago

#1543 closed enhancement

Show any-to-any links on all single-item view pages — at Version 1

Reported by: Nicklas Nordborg Owned by: everyone
Priority: major Milestone: BASE 2.17
Component: web Version:
Keywords: Cc:

Description (last modified by Nicklas Nordborg)

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.

Change History (1)

comment:1 by Nicklas Nordborg, 14 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.