Opened 12 years ago

Closed 12 years ago

#1543 closed enhancement (fixed)

Show any-to-any links on all single-item view pages

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
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 (11)

comment:1 Changed 12 years ago by Nicklas Nordborg

Description: modified (diff)

comment:2 Changed 12 years ago by Nicklas Nordborg

(In [5491]) References #1543: Show any-to-any links on all single-item view pages

This is now implemented on the "View sample" page.

comment:3 Changed 12 years ago by Nicklas Nordborg

Owner: changed from everyone to Nicklas Nordborg
Status: newassigned

comment:4 Changed 12 years ago by Nicklas Nordborg

(In [5496]) References #1543: Show any-to-any links on all single-item view pages

Fixed on all biomaterial lims pages.

comment:5 Changed 12 years ago by Nicklas Nordborg

(In [5499]) References #1543: Show any-to-any links on all single-item view pages

Fixed on array lims pages.

comment:6 Changed 12 years ago by Nicklas Nordborg

(In [5502]) References #1543: Show any-to-any links on all single-item view pages

Fixed on View menu pages except Experiment.

comment:7 Changed 12 years ago by Nicklas Nordborg

(In [5504]) References #1543: Show any-to-any links on all single-item view pages

Fixed on Experiment-related pages.

comment:8 Changed 12 years ago by Nicklas Nordborg

(In [5507]) References #1543: Show any-to-any links on all single-item view pages

Fixed on several admin-related pages.

comment:9 Changed 12 years ago by Nicklas Nordborg

(In [5509]) References #1543: Show any-to-any links on all single-item view pages

Fixed on some more admin-related pages.

comment:10 Changed 12 years ago by Nicklas Nordborg

(In [5511]) References #1543: Show any-to-any links on all single-item view pages

Fixed on the remaining admin-related pages.

comment:11 Changed 12 years ago by Nicklas Nordborg

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.