Changeset 16

Show
Ignore:
Timestamp:
01/22/06 23:23:24
Author:
johnsa
Message:

modified nosuchuserid error messages to be consistent with newest code; modified errors.xsl to trap the messages

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/calendar3/deployment/webadmin/webapp/resources/en_US/default/errors.xsl

    r2 r16  
    99        Please correct your data input for <em><xsl:value-of select="param"/></em> 
    1010      </xsl:when> 
    11  
    1211      <xsl:when test="id='org.bedework.client.error.nosuchsponsor'"> 
    1312        Not found: there is no contact identified by that id. 
    1413      </xsl:when> 
    15  
    1614      <xsl:when test="id='org.bedework.client.error.nosuchlocation'"> 
    1715        Not found: there is no location identified by that id. 
     16      </xsl:when> 
     17      <xsl:when test="id='org.bedework.client.error.nosuchuserid'"> 
     18        Not found: there is no user identified by the id <em><xsl:value-of select="param"/></em>. 
    1819      </xsl:when> 
    1920      <xsl:otherwise> 
  • trunk/calendar3/webadmin/src/org/bedework/webadmin/authuser/PEFetchAuthAction.java

    r15 r16  
    9797 
    9898    if (au == null) { 
    99       form.getErr().emit("org.bedework.userid.notfound", userid); 
     99      form.getErr().emit("org.bedework.client.error.nosuchuserid", userid); 
    100100      return "notFound"; 
    101101    } 
  • trunk/calendar3/webcommon/src/org/bedework/webcommon/pref/FetchPrefsAction.java

    r15 r16  
    103103      BwUser user = svc.findUser(str); 
    104104      if (user == null) { 
    105         form.getErr().emit("org.bedework.userid.notfound", str); 
     105        form.getErr().emit("org.bedework.client.error.nosuchuserid", str); 
    106106        return "notFound"; 
    107107      }