root/trunk/projects/feeder/war/docs/footer.jsp

Revision 2408 (checked in by bleibson, 4 years ago)

Initializes "feeder" app which is beginning life as a proper subset of the "webclient" app.

Line 
1 <%@ taglib uri='struts-bean' prefix='bean' %>
2 <%@ taglib uri='struts-logic' prefix='logic' %>
3
4 <%
5 try {
6 %>
7   <%-- Generates standard calendar values for use in the client for forms, etc --%>
8
9   <bean:define id="forLabels" name="calForm" property="forLabels" />
10   <bean:define id="calInfo" name="calForm" property="calInfo" />
11
12   <daylabels>
13     <logic:iterate id="dayLabel" name="calInfo" property="dayLabels">
14       <val><bean:write name="dayLabel"/></val>
15     </logic:iterate>
16   </daylabels>
17   <dayvalues>
18     <logic:iterate id="dayVal" name="calInfo" property="dayVals">
19       <val><bean:write name="dayVal"/></val>
20     </logic:iterate>
21     <start><bean:write name="calForm" property="viewStartDate.day"/></start>
22   </dayvalues>
23   <daynames>
24     <logic:iterate id="dayName" name="calInfo" property="dayNamesAdjusted">
25       <val><bean:write name="dayName"/></val>
26     </logic:iterate>
27   </daynames>
28   <shortdaynames>
29     <logic:iterate id="shortDayName" name="calInfo" property="shortDayNamesAdjusted">
30       <val><bean:write name="shortDayName"/></val>
31     </logic:iterate>
32   </shortdaynames>
33   <recurdayvals>
34     <logic:iterate id="recurDayName" name="calInfo" property="recurDayNamesAdjusted">
35       <val><bean:write name="recurDayName"/></val>
36     </logic:iterate>
37   </recurdayvals>
38   <monthlabels>
39     <logic:iterate id="monthLabel" name="calInfo" property="monthLabels">
40       <val><bean:write name="monthLabel"/></val>
41     </logic:iterate>
42   </monthlabels>
43   <monthvalues>
44     <logic:iterate id="monthVal" name="calInfo" property="monthVals">
45       <val><bean:write name="monthVal"/></val>
46     </logic:iterate>
47     <start><bean:write name="calForm" property="viewStartDate.month"/></start>
48   </monthvalues>
49   <yearvalues>
50     <logic:iterate id="yearVals" name="calForm" property="yearVals">
51       <val><bean:write name="yearVals"/></val>
52     </logic:iterate>
53     <start><bean:write name="calForm" property="viewStartDate.year"/></start>
54   </yearvalues>
55   <hourlabels>
56     <logic:iterate id="hourLabel" name="calForm" property="forLabels.hourLabels">
57       <val><bean:write name="hourLabel"/></val>
58     </logic:iterate>
59   </hourlabels>
60   <hourvalues>
61     <logic:iterate id="hourVal" name="calForm" property="forLabels.hourVals">
62       <val><bean:write name="hourVal"/></val>
63     </logic:iterate>
64     <start><bean:write name="calForm" property="viewStartDate.hour"/></start>
65   </hourvalues>
66   <minvalues>
67     <logic:iterate id="minuteVals" name="calForm" property="forLabels.minuteLabels">
68       <val><bean:write name="minuteVals"/></val>
69     </logic:iterate>
70     <start><bean:write name="calForm" property="viewStartDate.minute"/></start>
71 <%--    <logic:iterate id="minuteVals" name="calForm" property="forLabels.minuteLabels">
72  --%>
73   </minvalues>
74   <ampmvalues>
75     <logic:iterate id="ampmVals" name="calForm" property="forLabels.ampmLabels">
76       <val><bean:write name="ampmVals"/></val>
77     </logic:iterate>
78     <start><bean:write name="calForm" property="viewStartDate.ampm"/></start>
79   </ampmvalues>
80 </bedework>
81 <%
82 } catch (Throwable t) {
83   t.printStackTrace();
84 }
85 %>
86
87 <%-- Required to force write in portal-struts bridge --%>
88 <% pageContext.getOut().flush(); %>
89
Note: See TracBrowser for help on using the browser.