Changeset 575

Show
Ignore:
Timestamp:
06/13/06 10:45:17
Author:
johnsa
Message:

personal client:

now displays event sharing information in edit event page
fixed up upload validation actions in struts config and stylesheets

Files:

Legend:

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

    r572 r575  
    21152115                <div id="sharingBox"> 
    21162116                        <h3>Sharing</h3> 
    2117                         <!--<table class="common"> 
     2117                        <table class="common"> 
    21182118                                <tr> 
    21192119                                        <th class="commonHeader" colspan="2">Current access:</th> 
    21202120                                </tr> 
    21212121                                <tr> 
    2122                                         <th>Owner:</th>--> 
    2123                                         <!-- NOTE: we are currently getting the acl information from the 
    2124                                                          calendar listing NOT from the current calendar (which does not 
    2125                                                          have the means of producing it out of the action form just now. 
    2126                                                          We'll fix this soon. --> 
    2127                                         <!--<td class="fieldval"> 
    2128                                                 <xsl:value-of select="name(acl/ace[principal/property/owner]/grant/*)"/> 
    2129                                         </td> 
    2130                                 </tr> 
    2131                                 <xsl:if test="acl/ace/principal/href"> 
     2122                                        <th>Owner:</th> 
     2123                                        <td class="fieldval"> 
     2124                                                <xsl:value-of select="name(/bedework/access/acl/ace[principal/property/owner]/grant/*)"/> 
     2125                                        </td> 
     2126                                </tr> 
     2127                                <xsl:if test="/bedework/access/acl/ace/principal/href"> 
    21322128                                        <tr> 
    21332129                                                <th>Users:</th> 
    21342130                                                <td> 
    2135                                                         <xsl:for-each select="acl/ace[principal/href]"> 
     2131                                                        <xsl:for-each select="/bedework/access/acl/ace[principal/href]"> 
    21362132                                                                <xsl:value-of select="principal/href"/> (<xsl:value-of select="name(grant/*)"/>)<br/> 
    21372133                                                        </xsl:for-each> 
     
    21392135                                        </tr> 
    21402136                                </xsl:if> 
    2141                         </table>--> 
     2137                        </table> 
    21422138                        <form name="eventShareForm" action="{$event-setAccess}" id="shareForm"> 
    21432139                                <input type="hidden" name="calPath" value="{$calPath}"/> 
  • trunk/calendar3/deployment/webuser/webapp/resources/demoskins/default/default/errors.xsl

    r473 r575  
    4848          <p>Duplicate guid: this event already exists in your calendar.</p> 
    4949      </xsl:when> 
     50      <xsl:when test="id='org.bedework.client.error.nofilename'"> 
     51          <p>You must supply a file name (required).</p> 
     52      </xsl:when> 
    5053      <xsl:when test="id='org.bedework.validation.error.missingfield'"> 
    5154          <p>You must supply the following field: <em><xsl:value-of select="param"/></em></p> 
  • trunk/calendar3/webclient/war/WEB-INF/struts-config.xml

    r567 r575  
    326326               validate="false"> 
    327327      <forward name="baddata" path="/showMain.rdo" redirect="true" /> 
     328      <forward name="retry" path="/initUpload.rdo" redirect="true" /> 
    328329      <forward name="success" path="/setup.do" redirect="true"/> 
    329330    </action> 
  • trunk/calendar3/webclient/war/docs/event/editEvent.jsp

    r440 r575  
    33<%@ taglib uri='struts-html' prefix='html' %> 
    44<%@ taglib uri='struts-genurl' prefix='genurl' %> 
     5<%@ taglib uri='bedework' prefix='bw' %> 
    56<html:xhtml/> 
    67 
     
    135136  </genurl:form> 
    136137</formElements> 
     138<bean:define id="eventFormatter" name="calForm" property="curEventFmt"/> 
     139<bw:emitText name="eventFormatter" property="xmlAccess" tagName="access" 
     140                 filter="no"/> 
    137141 
    138142<% 
  • trunk/calendar3/webclient/war/docs/event/emitEvent.jsp

    r433 r575  
    100100          the following code should not be produced in the public client 
    101101         **************************************************************** --%> 
    102     <bw:emitCurrentPrivs name="eventInfo" property="currentAccess" /> 
     102    <logic:equal name="calForm" property="guest" value="false"> 
     103      <bw:emitCurrentPrivs name="eventInfo" property="currentAccess" /> 
     104    </logic:equal> 
    103105  </event>