Changeset 674
- Timestamp:
- 07/01/06 01:57:22
- Files:
-
- freebusy/trunk/webclient/build.xml (modified) (1 diff)
- freebusy/trunk/webclient/src/org/bedework/fbaggregator/FBAggAction.java (modified) (2 diffs)
- freebusy/trunk/webclient/src/org/bedework/fbaggregator/FBInfoSet.java (modified) (1 diff)
- freebusy/trunk/webclient/war/WEB-INF/struts-config.xml (modified) (5 diffs)
- freebusy/trunk/webclient/war/WEB-INF/web.xml (modified) (6 diffs)
- freebusy/trunk/webclient/war/docs/error.jsp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
freebusy/trunk/webclient/build.xml
r671 r674 50 50 </path> 51 51 52 <property name="build.jar.file" location="${org.bedework.fb webclient.jar}" />52 <property name="build.jar.file" location="${org.bedework.fbaggregator.jar}" /> 53 53 54 54 <ant antfile="${buildjar}" inheritRefs="true" target="build" /> freebusy/trunk/webclient/src/org/bedework/fbaggregator/FBAggAction.java
r671 r674 83 83 FbAggForm form = (FbAggForm)frm; 84 84 85 setConfig(request, form); 86 85 87 FbAggSession s = getState(request); 86 88 if (s != null) { … … 112 114 } 113 115 114 setConfig(request, form);115 116 116 forward = doAction(request, response, s, form); 117 117 freebusy/trunk/webclient/src/org/bedework/fbaggregator/FBInfoSet.java
r666 r674 59 59 "/ucaldav/user/testuser02")); 60 60 */ 61 addInfo(new FBUserInfo("douglm", "douglm", "bedework", 62 "localhost", 8080, false, 63 "/ucaldav/user/douglm")); 64 /* 65 addInfo(new UserInfo("testuser02", "testuser02", "bedework", 66 "www.bedework.org", 80, false, 67 "/ucaldav/user/testuser02")); 68 addInfo(new UserInfo("testuser08", "testuser08", "bedework", 69 "www.bedework.org", 80, false, 70 "/ucaldav/user/testuser08")); 71 */ 61 addInfo(new FBUserInfo("douglm@rpi.edu", "douglm", "bedework", 62 "localhost", 8080, false, 63 "/ucaldav/user/douglm")); 64 addInfo(new FBUserInfo("johnsa@rpi.edu", "johnsa", "bedework", 65 "localhost", 8080, false, 66 "/ucaldav/user/johnsa")); 67 /* 68 addInfo(new FBUserInfo("testuser02", "testuser02", "bedework", 69 "www.bedework.org", 80, false, 70 "/ucaldav/user/testuser02")); 71 addInfo(new FBUserInfo("testuser08", "testuser08", "bedework", 72 "www.bedework.org", 80, false, 73 "/ucaldav/user/testuser08")); 74 */ 72 75 } 73 76 freebusy/trunk/webclient/war/WEB-INF/struts-config.xml
r672 r674 34 34 <action path="/showMain" 35 35 type="org.bedework.fbaggregator.RenderAction" 36 name=" configForm"36 name="bwForm" 37 37 scope="session" 38 38 validate="false"> … … 43 43 type="org.bedework.fbaggregator.RenderAction" 44 44 unknown="true" 45 name=" configForm"45 name="bwForm" 46 46 scope="session" 47 47 validate="false"> … … 50 50 <action path="/showFreeBusy" 51 51 type="org.bedework.fbaggregator.RenderAction" 52 name=" configForm"52 name="bwForm" 53 53 scope="session" 54 54 validate="false"> … … 62 62 <action path="/getFreeBusy" 63 63 type="org.bedework.fbaggregator.GetFreeBusy" 64 name=" configForm"64 name="bwForm" 65 65 scope="session" 66 66 validate="false"> … … 70 70 <action path="/addUser" 71 71 type="org.bedework.fbaggregator.AddUser" 72 name=" configForm"72 name="bwForm" 73 73 scope="session" 74 74 validate="false"> freebusy/trunk/webclient/war/WEB-INF/web.xml
r669 r674 34 34 <param-value>@DIRECTORY-BROWSING-DISALLOWED@</param-value> 35 35 </init-param> 36 <init-param> 37 <param-name>ignoreContentType</param-name> 38 <param-value>@IGNORE-CONTENT-TYPE@</param-value> 39 </init-param> 36 40 </filter> 37 41 … … 51 55 <servlet-name>action</servlet-name> 52 56 <servlet-class> 53 org.apache.struts.action.ActionServlet57 @SERVLET-CLASS@ 54 58 </servlet-class> 55 59 56 60 <load-on-startup>1</load-on-startup> 57 61 </servlet> 62 63 <!-- Servlet definition for portlet use. uportal only at the moment --> 64 <servlet> 65 <servlet-name>@PORTLET-NAME@</servlet-name> 66 <display-name>@PORTLET-NAME@ Wrapper</display-name> 67 <servlet-class>org.apache.pluto.core.PortletServlet</servlet-class> 68 <init-param> 69 <param-name>portlet-class</param-name> 70 <param-value>org.apache.portals.bridges.struts.StrutsPortlet</param-value> 71 </init-param> 72 <init-param> 73 <param-name>portlet-guid</param-name> 74 <param-value>@CONTEXT-ROOT@.@PORTLET-NAME@</param-value> 75 </init-param> 76 </servlet> 77 78 <servlet-mapping> 79 <servlet-name>action</servlet-name> 80 <url-pattern>*.gdo</url-pattern> 81 </servlet-mapping> 58 82 59 83 <servlet-mapping> … … 66 90 <url-pattern>*.do</url-pattern> 67 91 </servlet-mapping> 92 93 <!-- uPortal2 portlet servlet mapping here --> 68 94 69 95 <session-config> … … 79 105 80 106 <jsp-config> 81 <!-- Reference a taglib in the jsp like this:107 <!-- Reference a taglib in the jsp like this: 82 108 <%@ taglib uri="struts-bean" prefix="bean" %> 83 109 --> … … 91 117 <taglib-location>/WEB-INF/tlds/struts-html.tld</taglib-location> 92 118 </taglib> 93 <!-- use html struts tag library for genurl --> 119 94 120 <taglib> 95 121 <taglib-uri>struts-genurl</taglib-uri> 96 <taglib-location>/WEB-INF/tlds/ struts-html.tld</taglib-location>122 <taglib-location>/WEB-INF/tlds/@GENURL-TAGLIB-TLD@</taglib-location> 97 123 </taglib> 124 98 125 <taglib> 99 126 <taglib-uri>struts-logic</taglib-uri> … … 104 131 <taglib-location>/WEB-INF/tlds/struts-template.tld</taglib-location> 105 132 </taglib> 133 134 <taglib> 135 <taglib-uri>bedework</taglib-uri> 136 <taglib-location>/WEB-INF/tlds/bedework.tld</taglib-location> 137 </taglib> 138 139 <!-- Only used for portlet --> 140 <taglib> 141 <taglib-uri>http://java.sun.com/portlet</taglib-uri> 142 <taglib-location>/WEB-INF/tlds/pluto-portlet.tld</taglib-location> 143 </taglib> 106 144 </jsp-config> 145 146 <!-- JDBC DataSources (java:comp/env/jdbc) --> 147 <resource-ref> 148 <description>The calendar DS</description> 149 <res-ref-name>jdbc/calDB</res-ref-name> 150 <res-type>javax.sql.DataSource</res-type> 151 <res-auth>Container</res-auth> 152 </resource-ref> 107 153 108 154 <!-- Insert ejb-ref here --> freebusy/trunk/webclient/war/docs/error.jsp
r671 r674 10 10 </head> 11 11 <body> 12 <logic:notEmpty name=" configForm" property="err.msgList">12 <logic:notEmpty name="bwForm" property="err.msgList"> 13 13 <p>The following errors occurred:</p> 14 14 <ul> 15 <logic:iterate id="errBean" name=" configForm" property="err.msgList">15 <logic:iterate id="errBean" name="bwForm" property="err.msgList"> 16 16 <li><bean:write name="errBean" property="msg" filter="no" /></li> 17 17 </logic:iterate> … … 19 19 </logic:notEmpty> 20 20 21 <logic:notEmpty name=" configForm" property="msg.msgList">21 <logic:notEmpty name="bwForm" property="msg.msgList"> 22 22 <bean:message key="messages.header" /> 23 <logic:iterate id="msgBean" name=" configForm" property="msg.msgList">23 <logic:iterate id="msgBean" name="bwForm" property="msg.msgList"> 24 24 <li><bean:write name="msgBean" property="msg" filter="no" /></li> 25 25 </logic:iterate>
