Changeset 524

Show
Ignore:
Timestamp:
06/01/06 23:59:19
Author:
douglm
Message:

Fixes to stylesheet and action for calsuite

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/calendar3/calsvc/src/org/bedework/calsvc/CalSvc.java

    r520 r524  
    578578  public void changeAccess(BwShareableDbentity ent, 
    579579                           Collection aces) throws CalFacadeException { 
     580    if (ent instanceof BwCalSuiteWrapper) { 
     581      ent = (BwShareableDbentity)((BwCalSuiteWrapper)ent).fetchEntity(); 
     582    } 
    580583    getCal().changeAccess(ent, aces); 
    581584  } 
  • trunk/calendar3/deployment/webadmin/webapp/resources/default/default/default.xsl

    r523 r524  
    7979  <xsl:variable name="calendar-fetchForUpdate" select="/bedeworkadmin/urlPrefixes/calendar/fetchForUpdate/a/@href"/><!-- used --> 
    8080  <xsl:variable name="calendar-update" select="/bedeworkadmin/urlPrefixes/calendar/update/a/@href"/><!-- used --> 
    81   <xsl:variable name="calendar-setAccess" select="/bedework/urlPrefixes/calendar/setAccess/a/@href"/> 
     81  <xsl:variable name="calendar-setAccess" select="/bedeworkadmin/urlPrefixes/calendar/setAccess/a/@href"/> 
    8282  <!-- all good - no need to clean any of these out  --> 
    8383  <xsl:variable name="subscriptions-fetch" select="/bedeworkadmin/urlPrefixes/subscriptions/fetch/a/@href"/> 
     
    17811781        </xsl:if> 
    17821782      </table> 
    1783       <form name="calendarShareForm" action="{$calendar-setAccess}" id="shareForm"
     1783      <form name="calendarShareForm" action="{$calendar-setAccess}" id="shareForm" method="post"
    17841784        <input type="hidden" name="calPath" value="{$calPath}"/> 
    17851785        <p> 
     
    25292529        </xsl:if> 
    25302530      </table> 
    2531       <form name="calendarShareForm" action="{$calendar-setAccess}" id="shareForm"> 
    2532         <input type="hidden" name="calSuite" value="{$calSuiteName}"/> 
     2531      <form name="calsuiteShareForm" action="{$calsuite-setAccess}" id="shareForm" method="post"> 
     2532        <input type="hidden" name="calSuiteName" value="{$calSuiteName}"/> 
    25332533        <p> 
    25342534          Share with:<br/> 
     
    25402540          Access rights:<br/> 
    25412541          <input type="radio" value="R" name="how" checked="checked"/> read<br/> 
     2542          <input type="radio" value="RW" name="how"/> read/write<br/> 
    25422543          <input type="radio" value="Rc" name="how"/> read/write content<br/> 
    25432544          <input type="radio" value="f" name="how"/> read free/busy only<br/> 
  • trunk/calendar3/webcommon/src/org/bedework/webcommon/access/AccessAction.java

    r514 r524  
    8181 *      <li>  calPath alone:         path (or url) of calendar or...</li>. 
    8282 *      <li>  calPath+guid+recurid:  event or ...</li>. 
    83  *      <li>  calSuite:              name of calendar suite</li>. 
     83 *      <li>  calSuiteName:          name of calendar suite</li>. 
    8484 *      <li>  how:                   concatenated String of desired access rights 
    8585 *                               @see edu.rpi.cct.uwcal.access.PrivilegeDefs </li>. 
     
    137137      } 
    138138    } else { 
    139       String calSuiteName = getReqPar(request, "calSuite"); 
     139      String calSuiteName = getReqPar(request, "calSuiteName"); 
    140140 
    141141      if (calSuiteName == null) {