Changeset 1392

Show
Ignore:
Timestamp:
05/29/07 09:52:52
Author:
douglm
Message:

Export changes

To try to get this working in a portal switched to writing directly to output stream. Requires

  1. a code change to UtilAbstractAction - not handling null action
  2. Change ExportAction
  3. Change style sheet so we don't set contentType and skinName (number of these in webuser, 2 in maincampus, 2 in soe)
  4. Remove ical.xsl from each app
  5. Remove export code from FreeBusyAction? (FreeBusyPublish? does it)
  6. Remove vcal property from form
  7. Remove showExportData action from struts-config
  8. Ensure other data export actions don't forward
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/default/default.xsl

    r1349 r1392  
    1313 
    1414              DEMONSTRATION CALENDAR STYLESHEET 
    15                
     15 
    1616                  MainCampus Calendar Suite 
    1717 
     
    729729            </xsl:if> 
    730730            <xsl:variable name="eventIcalName" select="concat($guid,'.ics')"/> 
    731             <a href="{$export}&amp;subid={$subscriptionId}&amp;calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}&amp;nocache=no&amp;skinName=ical&amp;contentType=text/calendar&amp;contentName={$eventIcalName}" title="Download event as ical - for Outlook, PDAs, iCal, and other desktop calendars"> 
     731            <a href="{$export}&amp;subid={$subscriptionId}&amp;calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}&amp;nocache=no&amp;contentName={$eventIcalName}" title="Download event as ical - for Outlook, PDAs, iCal, and other desktop calendars"> 
    732732              <img src="{$resourcesRoot}/images/std-ical_icon.gif" width="20" height="26" border="0" alt="Download this event"/> 
    733733             download</a> 
     
    10121012                  </xsl:if> 
    10131013                  <xsl:variable name="eventIcalName" select="concat($id,'.ics')"/> 
    1014                   <a href="{$export}&amp;subid={$subscriptionId}&amp;calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}&amp;nocache=no&amp;skinName=ical&amp;contentType=text/calendar&amp;contentName={$eventIcalName}" title="Download event as ical - for Outlook, PDAs, iCal, and other desktop calendars"> 
     1014                  <a href="{$export}&amp;subid={$subscriptionId}&amp;calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}&amp;nocache=no&amp;contentName={$eventIcalName}" title="Download event as ical - for Outlook, PDAs, iCal, and other desktop calendars"> 
    10151015                    <img src="{$resourcesRoot}/images/std-ical_icon_small.gif" width="12" height="16" border="0" alt="Download event as ical - for Outlook, PDAs, iCal, and other desktop calendars"/> 
    10161016                  </a> 
  • trunk/deployment/webpublic/webapp/resources/demoskins/SoEDepartmental/default/default/default.xsl

    r1349 r1392  
    1313 
    1414        DEMONSTRATION "DEPARTMENTAL" CALENDAR STYLESHEET 
    15          
     15 
    1616                  SoEDepartmental Calendar Suite 
    1717 
     
    731731            </xsl:if> 
    732732            <xsl:variable name="eventIcalName" select="concat($guid,'.ics')"/> 
    733             <a href="{$export}&amp;subid={$subscriptionId}&amp;calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}&amp;nocache=no&amp;skinName=ical&amp;contentType=text/calendar&amp;contentName={$eventIcalName}" title="Download event as ical - for Outlook, PDAs, iCal, and other desktop calendars"> 
     733            <a href="{$export}&amp;subid={$subscriptionId}&amp;calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}&amp;nocache=no&amp;contentName={$eventIcalName}" title="Download event as ical - for Outlook, PDAs, iCal, and other desktop calendars"> 
    734734              <img src="{$resourcesRoot}/images/std-ical_icon.gif" width="20" height="26" border="0" alt="Download this event"/> 
    735735             download</a> 
     
    10141014                  </xsl:if> 
    10151015                  <xsl:variable name="eventIcalName" select="concat($id,'.ics')"/> 
    1016                   <a href="{$export}&amp;subid={$subscriptionId}&amp;calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}&amp;nocache=no&amp;skinName=ical&amp;contentType=text/calendar&amp;contentName={$eventIcalName}" title="Download event as ical - for Outlook, PDAs, iCal, and other desktop calendars"> 
     1016                  <a href="{$export}&amp;subid={$subscriptionId}&amp;calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}&amp;nocache=no&amp;contentName={$eventIcalName}" title="Download event as ical - for Outlook, PDAs, iCal, and other desktop calendars"> 
    10171017                    <img src="{$resourcesRoot}/images/std-ical_icon_small.gif" width="12" height="16" border="0" alt="Download event as ical - for Outlook, PDAs, iCal, and other desktop calendars"/> 
    10181018                  </a> 
  • trunk/deployment/webuser/webapp/resources/demoskins/default/default/default.xsl

    r1380 r1392  
    135135  <xsl:variable name="schedule-processAttendeeReply" select="/bedework/urlPrefixes/schedule/processAttendeeReply/a/@href"/> 
    136136  <!-- misc (mostly import and export) --> 
    137   <xsl:variable name="export" select="/bedework/urlPrefixes/misc/export/a/@href"/> 
     137  <xsl:variable name="export" select="/bedework/urlPrefixes/misc/export"/> 
    138138  <xsl:variable name="initUpload" select="/bedework/urlPrefixes/misc/initUpload/a/@href"/> 
    139139  <xsl:variable name="upload" select="/bedework/urlPrefixes/misc/upload/a/@href"/> 
     
    10061006                <td class="smallIcon"> 
    10071007                  <xsl:variable name="eventIcalName" select="concat($guid,'.ics')"/> 
    1008                   <a href="{$export}&amp;subid={$subscriptionId}&amp;calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}&amp;nocache=no&amp;skinName=ical&amp;contentType=text/calendar&amp;contentName={$eventIcalName}" title="Download event as ical - for Outlook, PDAs, iCal, and other desktop calendars"> 
     1008                  <a href="{$export}&amp;subid={$subscriptionId}&amp;calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}&amp;nocache=no&amp;contentName={$eventIcalName}" title="Download event as ical - for Outlook, PDAs, iCal, and other desktop calendars"> 
    10091009                    <img src="{$resourcesRoot}/resources/std-ical_icon_small.gif" width="12" height="16" border="0" alt="Download event as ical - for Outlook, PDAs, iCal, and other desktop calendars"/> 
    10101010                  </a> 
     
    13811381            <!-- download --> 
    13821382            <xsl:variable name="eventIcalName" select="concat($guid,'.ics')"/> 
    1383             <a href="{$export}&amp;subid={$subscriptionId}&amp;calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}&amp;nocache=no&amp;skinName=ical&amp;contentType=text/calendar&amp;contentName={$eventIcalName}" title="Download event as ical - for Outlook, PDAs, iCal, and other desktop calendars"> 
     1383            <a href="{$export}&amp;subid={$subscriptionId}&amp;calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}&amp;nocache=no&amp;contentName={$eventIcalName}" title="Download event as ical - for Outlook, PDAs, iCal, and other desktop calendars"> 
    13841384              <img src="{$resourcesRoot}/resources/std-icalDownload-icon-small.gif" width="12" height="16" border="0" alt="Download event as ical - for Outlook, PDAs, iCal, and other desktop calendars"/> 
    13851385              Download 
     
    16041604        <!--<th class="icon" rowspan="2"> 
    16051605          <xsl:variable name="eventIcalName" select="concat($guid,'.ics')"/> 
    1606           <a href="{$export}&amp;subid={$subscriptionId}&amp;calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}&amp;nocache=no&amp;skinName=ical&amp;contentType=text/calendar&amp;contentName={$eventIcalName}" title="Download event as ical - for Outlook, PDAs, iCal, and other desktop calendars"> 
     1606          <a href="{$export}&amp;subid={$subscriptionId}&amp;calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}&amp;nocache=no&amp;contentName={$eventIcalName}" title="Download event as ical - for Outlook, PDAs, iCal, and other desktop calendars"> 
    16071607            <img src="{$resourcesRoot}/resources/std-ical-icon.gif" width="20" height="26" border="0" align="left" alt="Download this event"/> 
    16081608          </a> 
     
    35183518        <td>&#160;</td> 
    35193519        <td> 
    3520           <form name="calendarShareForm" action="{$freeBusy-fetch}"> 
     3520          <form name="calendarShareForm" method="post" action="{$freeBusy-fetch}"> 
    35213521            View user's free/busy:<br/> 
    35223522            <input type="text" name="userid" size="20"/> 
     
    39363936  <xsl:template name="selectCalForEvent"> 
    39373937    <h2>Select a calendar</h2> 
    3938     <form name="toggleCals" action="{$event-selectCalForEvent}"> 
     3938    <form name="toggleCals" method="post" action="{$event-selectCalForEvent}"> 
    39393939      <xsl:choose> 
    39403940        <xsl:when test="/bedework/appvar[key='showAllCalsForEvent']/value = 'true'"> 
     
    40524052  <xsl:template match="currentCalendar" mode="addCalendar"> 
    40534053    <h3>Add Calendar / Folder</h3> 
    4054     <form name="addCalForm" action="{$calendar-update}"> 
     4054    <form name="addCalForm" method="post" action="{$calendar-update}"> 
    40554055      <table class="common"> 
    40564056        <tr> 
     
    41194119      </xsl:otherwise> 
    41204120    </xsl:choose> 
    4121     <form name="modCalForm" action="{$calendar-update}"> 
     4121    <form name="modCalForm" method="post" action="{$calendar-update}"> 
    41224122      <table class="common"> 
    41234123        <tr> 
     
    42074207        <xsl:with-param name="calPathEncoded" select="$calPathEncoded"/> 
    42084208      </xsl:apply-templates> 
    4209       <form name="calendarShareForm" action="{$calendar-setAccess}" id="shareForm" onsubmit="setAccessHow(this)"> 
     4209      <form name="calendarShareForm" method="post" action="{$calendar-setAccess}" id="shareForm" onsubmit="setAccessHow(this)"> 
    42104210        <input type="hidden" name="calPath" value="{$calPath}"/> 
    42114211        <xsl:call-template name="entityAccessForm"> 
     
    43234323    </xsl:choose> 
    43244324 
    4325     <form name="delCalForm" action="{$calendar-delete}"> 
     4325    <form name="delCalForm" method="post" action="{$calendar-delete}"> 
    43264326      <table class="common"> 
    43274327        <tr> 
     
    43774377      <input type="hidden" name="calPath" value=""/> 
    43784378      <input type="hidden" name="nocache" value="no"/> 
    4379       <input type="hidden" name="skinName" value="ical"/> 
    4380       <input type="hidden" name="contentType" value="text/calendar"/> 
    43814379      <input type="hidden" name="contentName" value="calendar.ics"/> 
    43824380 
     
    53895387          <td> 
    53905388            <xsl:variable name="eventIcalName" select="concat($guid,'.ics')"/> 
    5391             <a href="{$export}&amp;subid={$subscriptionId}&amp;calPath={$calPath}&amp;&amp;eventName={$eventName}&amp;recurrenceId={$recurrenceId}&amp;nocache=no&amp;skinName=ical&amp;contentType=text/calendar&amp;contentName={$eventIcalName}" title="download"> 
     5389            <a href="{$export}&amp;subid={$subscriptionId}&amp;calPath={$calPath}&amp;&amp;eventName={$eventName}&amp;recurrenceId={$recurrenceId}&amp;nocache=no&amp;contentName={$eventIcalName}" title="download"> 
    53925390              <img src="{$resourcesRoot}/resources/std-ical_icon_small.gif" width="12" height="16" border="0" alt="download"/> 
    53935391            </a> 
     
    54885486          <td> 
    54895487            <xsl:variable name="eventIcalName" select="concat($guid,'.ics')"/> 
    5490             <a href="{$export}&amp;subid={$subscriptionId}&amp;calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}&amp;nocache=no&amp;skinName=ical&amp;contentType=text/calendar&amp;contentName={$eventIcalName}" title="download"> 
     5488            <a href="{$export}&amp;subid={$subscriptionId}&amp;calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}&amp;nocache=no&amp;contentName={$eventIcalName}" title="download"> 
    54915489              <img src="{$resourcesRoot}/resources/std-ical_icon_small.gif" width="12" height="16" border="0" alt="download"/> 
    54925490            </a> 
     
    59995997        </td> 
    60005998        <td class="fieldval scheduleActions"> 
    6001           <form name="processReply" action="{$schedule-processAttendeeReply}"> 
     5999          <form name="processReply" method="post" action="{$schedule-processAttendeeReply}"> 
    60026000            <input type="submit" value="ok" name="update"/> 
    60036001            <input type="submit" value="cancel" name="cancelled"/> 
     
    60526050        <!--<th class="icon" rowspan="2"> 
    60536051          <xsl:variable name="eventIcalName" select="concat($guid,'.ics')"/> 
    6054           <a href="{$export}&amp;subid={$subscriptionId}&amp;calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}&amp;nocache=no&amp;skinName=ical&amp;contentType=text/calendar&amp;contentName={$eventIcalName}" title="Download event as ical - for Outlook, PDAs, iCal, and other desktop calendars"> 
     6052          <a href="{$export}&amp;subid={$subscriptionId}&amp;calPath={$calPath}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}&amp;nocache=no&amp;contentName={$eventIcalName}" title="Download event as ical - for Outlook, PDAs, iCal, and other desktop calendars"> 
    60556053            <img src="{$resourcesRoot}/resources/std-ical-icon.gif" width="20" height="26" border="0" align="left" alt="Download this event"/> 
    60566054          </a> 
     
    65486546          <xsl:with-param name="recurrenceId" select="$recurrenceId"/> 
    65496547        </xsl:apply-templates> 
    6550         <form name="eventShareForm" action="{$event-setAccess}" id="shareForm" onsubmit="setAccessHow(this)"> 
     6548        <form name="eventShareForm" method="post" action="{$event-setAccess}" id="shareForm" onsubmit="setAccessHow(this)"> 
    65516549          <input type="hidden" name="calPath" value="{$calPath}"/> 
    65526550          <input type="hidden" name="guid" value="{$guid}"/>