Changeset 524
- Timestamp:
- 06/01/06 23:59:19
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/calendar3/calsvc/src/org/bedework/calsvc/CalSvc.java
r520 r524 578 578 public void changeAccess(BwShareableDbentity ent, 579 579 Collection aces) throws CalFacadeException { 580 if (ent instanceof BwCalSuiteWrapper) { 581 ent = (BwShareableDbentity)((BwCalSuiteWrapper)ent).fetchEntity(); 582 } 580 583 getCal().changeAccess(ent, aces); 581 584 } trunk/calendar3/deployment/webadmin/webapp/resources/default/default/default.xsl
r523 r524 79 79 <xsl:variable name="calendar-fetchForUpdate" select="/bedeworkadmin/urlPrefixes/calendar/fetchForUpdate/a/@href"/><!-- used --> 80 80 <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"/> 82 82 <!-- all good - no need to clean any of these out --> 83 83 <xsl:variable name="subscriptions-fetch" select="/bedeworkadmin/urlPrefixes/subscriptions/fetch/a/@href"/> … … 1781 1781 </xsl:if> 1782 1782 </table> 1783 <form name="calendarShareForm" action="{$calendar-setAccess}" id="shareForm" >1783 <form name="calendarShareForm" action="{$calendar-setAccess}" id="shareForm" method="post"> 1784 1784 <input type="hidden" name="calPath" value="{$calPath}"/> 1785 1785 <p> … … 2529 2529 </xsl:if> 2530 2530 </table> 2531 <form name="cal endarShareForm" 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}"/> 2533 2533 <p> 2534 2534 Share with:<br/> … … 2540 2540 Access rights:<br/> 2541 2541 <input type="radio" value="R" name="how" checked="checked"/> read<br/> 2542 <input type="radio" value="RW" name="how"/> read/write<br/> 2542 2543 <input type="radio" value="Rc" name="how"/> read/write content<br/> 2543 2544 <input type="radio" value="f" name="how"/> read free/busy only<br/> trunk/calendar3/webcommon/src/org/bedework/webcommon/access/AccessAction.java
r514 r524 81 81 * <li> calPath alone: path (or url) of calendar or...</li>. 82 82 * <li> calPath+guid+recurid: event or ...</li>. 83 * <li> calSuite :name of calendar suite</li>.83 * <li> calSuiteName: name of calendar suite</li>. 84 84 * <li> how: concatenated String of desired access rights 85 85 * @see edu.rpi.cct.uwcal.access.PrivilegeDefs </li>. … … 137 137 } 138 138 } else { 139 String calSuiteName = getReqPar(request, "calSuite ");139 String calSuiteName = getReqPar(request, "calSuiteName"); 140 140 141 141 if (calSuiteName == null) {
