Changeset 674

Show
Ignore:
Timestamp:
07/01/06 01:57:22
Author:
douglm
Message:

Fix more freebusy aggregator bugs

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freebusy/trunk/webclient/build.xml

    r671 r674  
    5050    </path> 
    5151 
    52     <property name="build.jar.file" location="${org.bedework.fbwebclient.jar}" /> 
     52    <property name="build.jar.file" location="${org.bedework.fbaggregator.jar}" /> 
    5353 
    5454    <ant antfile="${buildjar}" inheritRefs="true" target="build" /> 
  • freebusy/trunk/webclient/src/org/bedework/fbaggregator/FBAggAction.java

    r671 r674  
    8383    FbAggForm form = (FbAggForm)frm; 
    8484 
     85    setConfig(request, form); 
     86 
    8587    FbAggSession s = getState(request); 
    8688    if (s != null) { 
     
    112114    } 
    113115 
    114     setConfig(request, form); 
    115  
    116116    forward = doAction(request, response, s, form); 
    117117 
  • freebusy/trunk/webclient/src/org/bedework/fbaggregator/FBInfoSet.java

    r666 r674  
    5959                         "/ucaldav/user/testuser02")); 
    6060                         */ 
    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                           */ 
    7275  } 
    7376 
  • freebusy/trunk/webclient/war/WEB-INF/struts-config.xml

    r672 r674  
    3434    <action    path="/showMain" 
    3535               type="org.bedework.fbaggregator.RenderAction" 
    36                name="configForm" 
     36               name="bwForm" 
    3737               scope="session" 
    3838               validate="false"> 
     
    4343               type="org.bedework.fbaggregator.RenderAction" 
    4444               unknown="true" 
    45                name="configForm" 
     45               name="bwForm" 
    4646               scope="session" 
    4747               validate="false"> 
     
    5050    <action    path="/showFreeBusy" 
    5151               type="org.bedework.fbaggregator.RenderAction" 
    52                name="configForm" 
     52               name="bwForm" 
    5353               scope="session" 
    5454               validate="false"> 
     
    6262    <action    path="/getFreeBusy" 
    6363               type="org.bedework.fbaggregator.GetFreeBusy" 
    64                name="configForm" 
     64               name="bwForm" 
    6565               scope="session" 
    6666               validate="false"> 
     
    7070    <action    path="/addUser" 
    7171               type="org.bedework.fbaggregator.AddUser" 
    72                name="configForm" 
     72               name="bwForm" 
    7373               scope="session" 
    7474               validate="false"> 
  • freebusy/trunk/webclient/war/WEB-INF/web.xml

    r669 r674  
    3434      <param-value>@DIRECTORY-BROWSING-DISALLOWED@</param-value> 
    3535    </init-param> 
     36    <init-param> 
     37      <param-name>ignoreContentType</param-name> 
     38      <param-value>@IGNORE-CONTENT-TYPE@</param-value> 
     39    </init-param> 
    3640  </filter> 
    3741 
     
    5155    <servlet-name>action</servlet-name> 
    5256    <servlet-class> 
    53       org.apache.struts.action.ActionServlet 
     57      @SERVLET-CLASS@ 
    5458    </servlet-class> 
    5559 
    5660    <load-on-startup>1</load-on-startup> 
    5761  </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> 
    5882 
    5983  <servlet-mapping> 
     
    6690    <url-pattern>*.do</url-pattern> 
    6791  </servlet-mapping> 
     92 
     93  <!-- uPortal2 portlet servlet mapping here --> 
    6894 
    6995  <session-config> 
     
    79105 
    80106  <jsp-config> 
    81     <!-- Reference a taglib in the jsp like this: 
     107    <!-- Reference a taglib in the jsp like this: 
    82108      <%@ taglib uri="struts-bean" prefix="bean" %> 
    83109     --> 
     
    91117      <taglib-location>/WEB-INF/tlds/struts-html.tld</taglib-location> 
    92118    </taglib> 
    93     <!-- use html struts tag library for genurl --> 
     119 
    94120    <taglib> 
    95121      <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> 
    97123    </taglib> 
     124 
    98125    <taglib> 
    99126      <taglib-uri>struts-logic</taglib-uri> 
     
    104131      <taglib-location>/WEB-INF/tlds/struts-template.tld</taglib-location> 
    105132    </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> 
    106144  </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> 
    107153 
    108154  <!-- Insert ejb-ref here --> 
  • freebusy/trunk/webclient/war/docs/error.jsp

    r671 r674  
    1010  </head> 
    1111  <body> 
    12     <logic:notEmpty name="configForm" property="err.msgList"> 
     12    <logic:notEmpty name="bwForm" property="err.msgList"> 
    1313      <p>The following errors occurred:</p> 
    1414      <ul> 
    15       <logic:iterate id="errBean" name="configForm" property="err.msgList"> 
     15      <logic:iterate id="errBean" name="bwForm" property="err.msgList"> 
    1616        <li><bean:write name="errBean" property="msg" filter="no" /></li> 
    1717      </logic:iterate> 
     
    1919    </logic:notEmpty> 
    2020 
    21     <logic:notEmpty name="configForm" property="msg.msgList"> 
     21    <logic:notEmpty name="bwForm" property="msg.msgList"> 
    2222      <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"> 
    2424        <li><bean:write name="msgBean" property="msg" filter="no" /></li> 
    2525      </logic:iterate>