Changeset 78

Show
Ignore:
Timestamp:
02/03/06 15:00:46
Author:
douglm
Message:

Added export action to user client to display generated icalendar data

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/calendar3/webclient/war/WEB-INF/struts-config.xml

    r76 r78  
    101101    </action> 
    102102 
     103    <action    path="/showExportData" 
     104               type="org.bedework.webclient.BwRenderAction" 
     105               name="calForm" 
     106               scope="session" 
     107               validate="false"> 
     108      <forward name="success" path="/docs/exportData.jsp" /> 
     109    </action> 
     110 
    103111    <action    path="/showFreeBusy" 
    104112               type="org.bedework.webclient.BwRenderAction" 
     
    253261    </action> 
    254262 
     263    <action    path="/export" 
     264               type="org.bedework.webcommon.misc.ExportAction" 
     265               name="calForm" 
     266               scope="session" 
     267               validate="false"> 
     268      <forward name="success" path="/showExportData.rdo" redirect="true" /> 
     269    </action> 
     270 
    255271    <action    path="/showPage" 
    256272               type="org.bedework.webclient.BwAction" 
  • trunk/calendar3/webcommon/src/org/bedework/webcommon/misc/ExportAction.java

    r55 r78  
    158158    } 
    159159 
    160     IcalTranslator ical = new IcalTranslator(svci.getIcalCallback()); 
    161  
    162160    if (ev != null) { 
    163161      evs = new Vector(); 
     
    166164      evs.addAll(ev.getOverrides()); 
    167165    } 
     166 
     167    IcalTranslator ical = new IcalTranslator(svci.getIcalCallback()); 
    168168 
    169169    Calendar vcal = ical.toIcal(evs);