Project

General

Profile

« Previous | Next » 

Revision 4387

can now select and save metadata fields from a document and use them when merging across documents in the "cart"

View differences:

cart.jsp
69 69
          insertSearchBox("<%=CONTEXT_URL%>");
70 70
      </script>
71 71

  
72
<table width="760" border="0" cellspacing="0" cellpadding="0">
72
<table width="100%" border="0" cellspacing="0" cellpadding="0">
73 73
	<tr>
74 74
		<th>
75 75
			Shopping Cart
......
85 85
					<input name="@packageId" value="<%=docids[i] %>" type="hidden"> 
86 86
				<%} %>	
87 87
			</form>
88
		</th>
89
	</tr>
90
	<tr>
91
		<td>
92
			Fields:
93
			<ul>
94
				<%
95
				String[] labels = 
96
					SessionService.getRegisteredSession(request.getSession().getId()).getDocumentCart().getLabels();
97
				for (int i = 0; i < labels.length; i++) {
98
				%>							
99
					<li><%=labels[i] %></li>
100
				<%} %>
101
			</ul>
88 102
		</td>
89 103
	</tr>
90 104
	<tr>

Also available in: Unified diff