/
current-loan-list.xml
145 lines (110 loc) · 8.07 KB
/
current-loan-list.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2005-2012 The Kuali Foundation
Licensed under the Educational Community License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.opensource.org/licenses/ecl2.php
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.1.xsd">
<bean id="currentLoanListSection-HorizontalBoxSection" parent="Uif-HorizontalBoxSection" p:style="width:1300px;margin-left:auto; margin-right:0;" p:render="@{loanDocumentListForCurrentSession.size() > 0}">
<property name="headerText" value="<a>Items Checked Out This Session</a>"/>
<property name="items">
<list>
<bean id="currentLoanList-HorizontalBoxSection" parent="Uif-HorizontalBoxSection">
<property name="items">
<list>
<bean parent="Uif-SecondaryActionButton" p:actionLabel="Select All" p:actionScript="jq('.loaningItemCBClass').attr('checked','true');" p:style="margin-left:0.5em;"/>
<bean parent="Uif-SecondaryActionButton" p:actionLabel="Deselect All" p:actionScript="jq('.loaningItemCBClass').removeAttr('checked');" />
<ref bean="currentLoanListSection-HorizontalBoxSection-parentBean"/>
</list>
</property>
</bean>
</list>
</property>
</bean>
<bean id="currentLoanListSection-HorizontalBoxSection-parentBean" parent="Uif-Disclosure-TableCollectionSection" p:layoutManager.numberOfColumns="17" p:style="width:1420px" p:render="@{loanDocumentListForCurrentSession.size() > 0}">
<property name="headerText" value="" />
<property name="collectionObjectClass" value="org.kuali.ole.deliver.bo.OleLoanDocument"/>
<property name="propertyName" value="loanDocumentListForCurrentSession"/>
<property name="layoutManager.renderSequenceField" value="false"/>
<property name="renderAddLine" value="false"/>
<property name="layoutManager.richTable.render" value="true"/>
<property name="layoutManager.richTable.disableTableSort" value="true" />
<property name="layoutManager.richTable.templateOptions">
<map>
<entry key="aaSorting" value="[[12,'asc']]"/>
<entry key="bPaginate" value="true"/>
<entry key="bInfo" value="true"/>
<entry key="bFilter" value="false"/>
<entry key="oTableTools"
value="{"aButtons" : [ "csv", "xls" ]}"/>
</map>
</property>
<property name="footer">
<bean id="footers" parent="Uif-LookupResultsFooter">
<property name="items">
<list>
<bean id="currentyLoanedSelectAllButton" p:style="float:left" parent="Uif-SecondaryActionButton" p:actionLabel="Select All"
p:actionScript="jq('.loaningItemCBClass').attr('checked','true');"/>
<bean id="currentyLoanedDeseletAllButton" p:style="float:left" parent="Uif-SecondaryActionButton" p:actionLabel="Deselect All"
p:actionScript="jq('.loaningItemCBClass').removeAttr('checked');"/>
</list>
</property>
</bean>
</property>
<property name="items">
<list>
<bean id="currentyLoanedCheckId" parent="Uif-InputField" p:propertyName="checkNo" p:label="Select" p:width="3%" p:defaultValue="false">
<property name="control">
<bean parent="Uif-CheckboxControl" p:cssClasses="loaningItemCBClass"/>
</property>
</bean>
<bean id="currentyLoanedBarcode" parent="Uif-LinkField" p:label="Barcode" p:width="10%" p:linkText="@{#line.itemId}" p:target="_blank" p:href="editorcontroller?viewId=EditorView&methodToCall=load&docCategory=work&docType=item&editable=false&docFormat=oleml&docId=@{#line.itemUuid}&instanceId=@{#line.instanceUuid}&bibId=@{#line.bibUuid}" >
</bean>
<bean id="currentyLoanedTitle" parent="Uif-DataField" p:label="Title" p:width="25%" p:propertyName="title">
</bean>
<bean id="currentyLoanedAuthor" parent="Uif-DataField" p:label="Author" p:width="12%" p:propertyName="author">
</bean>
<bean id="currentyLoanedItemLocation" parent="Uif-DataField" p:label="Location" p:width="25%" p:propertyName="location">
</bean>
<bean id="currentyLoanedItemCallNumber" parent="Uif-DataField" p:label="Call Number" p:width="10%" p:propertyName="itemCallNumber">
</bean>
<bean id="currentyLoanedItemCopyNumber" parent="Uif-DataField" p:label="Copy Number" p:width="10%" p:propertyName="itemCopyNumber">
</bean>
<bean id="currentyLoanedItemEnumeration" parent="Uif-DataField" p:label="Enumeration" p:width="10%" p:propertyName="enumeration">
</bean>
<bean id="currentyLoanedItemChronology" parent="Uif-DataField" p:label="Chronology" p:width="10%" p:propertyName="chronology">
</bean>
<bean id="currentyLoanedProxyPatronName" parent="Uif-DataField" p:label="Proxy Borrower" p:width="10%" p:propertyName="realPatronName">
</bean>
<bean id="currentyLoanedNoOfrenew" parent="Uif-DataField" p:label="No Of Renew" p:width="5%" p:propertyName="numberOfRenewals"/>
<bean id="currentyLoanedCheckoutItemStatus" parent="Uif-DataField" p:label="Item Status" p:width="10%" p:propertyName="itemStatus"/>
<bean id="currentyLoanedLoanDueDate" parent="Uif-DataField" p:label="Due Date" p:width="10%" p:propertyName="loanDueDate" p:render="@{#line.loanDueDate ne null}">
</bean>
<bean id="currentyLoanedInDefiniteDueDate" parent="Uif-DataField" p:label="Due Date" p:width="10%" p:propertyName="dueDateType" p:render="@{#line.loanDueDate eq null}">
</bean>
<bean id="currentyLoanedClaimsReturnNote" parent="Uif-DataField" p:label="Claims Return Note" p:width="10%" p:propertyName="claimsReturnNote">
</bean>
<bean id="currentyLoanedClaimsReturnDate" parent="Uif-DataField" p:label="Claims Return Date" p:width="10%" p:propertyName="claimsReturnedDate">
</bean>
<bean id="currentyLoanedMissingNote" parent="Uif-DataField" p:label="Missing Piece Note" p:width="10%" p:propertyName="missingPieceNote">
</bean>
<bean id="currentyLoanedDamagedNote" parent="Uif-DataField" p:label="Item Damaged Note" p:width="10%" p:propertyName="itemDamagedNote">
</bean>
<bean id="currentyLoanedItemRequest" parent="Uif-LinkField" p:label="Pending Requests" p:width="10%" p:linkText="@{#line.requestFlag}" p:target="_blank" p:href="lookup?methodToCall=search&itemId=@{#line.itemId}&flag=true&dataObjectClassName=org.kuali.ole.deliver.bo.OleDeliverRequestBo" p:style="font-weight:bold;">
<property name="cssClasses" value="uif-secondaryActionButton"/>
</bean>
</list>
</property>
<property name="renderLineActions" value="false"/>
</bean>
</beans>