Changeset 533
- Timestamp:
- 06/05/06 10:54:12
- Files:
-
- trunk/calendar3/deployment/webadmin/webapp/resources/default/default/default.xsl (modified) (1 diff)
- trunk/calendar3/webadmin/src/org/bedework/webadmin/system/UpdateSysparsAction.java (modified) (1 diff)
- trunk/calendar3/webadmin/war/docs/system/modSyspars.jsp (modified) (2 diffs)
- trunk/calendar3/webcommon/src/org/bedework/webcommon/taglib/NameScopePropertyTag.java (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/calendar3/deployment/webadmin/webapp/resources/default/default/default.xsl
r527 r533 2388 2388 </tr> 2389 2389 <tr> 2390 <th>Maximum length of public event description:</th> 2391 <td> 2392 <xsl:variable name="maxPublicDescriptionLength" select="/bedeworkadmin/system/maxPublicDescriptionLength"/> 2393 <input value="{$maxPublicDescriptionLength}" name="maxPublicDescriptionLength" size="20"/> 2394 </td> 2395 <td> 2396 </td> 2397 </tr> 2398 <tr> 2399 <th>Maximum length of user event description:</th> 2400 <td> 2401 <xsl:variable name="maxUserDescriptionLength" select="/bedeworkadmin/system/maxUserDescriptionLength"/> 2402 <input value="{$maxUserDescriptionLength}" name="maxUserDescriptionLength" size="20"/> 2403 </td> 2404 <td> 2405 </td> 2406 </tr> 2407 <tr> 2408 <th>Maximum size of a user entity:</th> 2409 <td> 2410 <xsl:variable name="maxUserEntitySize" select="/bedeworkadmin/system/maxUserEntitySize"/> 2411 <input value="{$maxUserEntitySize}" name="maxUserEntitySize" size="20"/> 2412 </td> 2413 <td> 2414 </td> 2415 </tr> 2416 <tr> 2390 2417 <th>Default user quota:</th> 2391 2418 <td> trunk/calendar3/webadmin/src/org/bedework/webadmin/system/UpdateSysparsAction.java
r448 r533 145 145 } 146 146 147 intVal = getIntReqPar(request, "maxPublicDescriptionLength", -1); 148 if (intVal >= 0) { 149 syspars.setMaxPublicDescriptionLength(intVal); 150 changed = true; 151 } 152 153 intVal = getIntReqPar(request, "maxUserDescriptionLength", -1); 154 if (intVal >= 0) { 155 syspars.setMaxUserDescriptionLength(intVal); 156 changed = true; 157 } 158 159 intVal = getIntReqPar(request, "maxUserEntitySize", -1); 160 if (intVal >= 0) { 161 syspars.setMaxUserEntitySize(intVal); 162 changed = true; 163 } 164 147 165 long longVal = getLongReqPar(request, "defaultUserQuota", -1); 148 166 if (longVal >= 0) { trunk/calendar3/webadmin/war/docs/system/modSyspars.jsp
r169 r533 3 3 <%@ taglib uri='struts-html' prefix='html' %> 4 4 <%@ taglib uri='struts-genurl' prefix='genurl' %> 5 <%@ taglib uri='bedework' prefix='bw' %> 5 6 <html:xhtml/> 6 7 … … 10 11 <bean:define id="systemParams" name="peForm" property="syspars"/> 11 12 <system> 12 <tzid><bean:write name="systemParams" property="tzid"/></tzid> 13 <defaultUserViewName><bean:write name="systemParams" property="defaultUserViewName"/></defaultUserViewName> 14 <httpConnectionsPerUser><bean:write name="systemParams" property="httpConnectionsPerUser"/></httpConnectionsPerUser> 15 <httpConnectionsPerHost><bean:write name="systemParams" property="httpConnectionsPerHost"/></httpConnectionsPerHost> 16 <httpConnections><bean:write name="systemParams" property="httpConnections"/></httpConnections> 17 <defaultUserQuota><bean:write name="systemParams" property="defaultUserQuota"/></defaultUserQuota> 13 <bw:emitText name="systemParams" property="tzid"/> 14 <bw:emitText name="systemParams" property="defaultUserViewName"/> 15 <bw:emitText name="systemParams" property="httpConnectionsPerUser"/> 16 <bw:emitText name="systemParams" property="httpConnectionsPerHost"/> 17 <bw:emitText name="systemParams" property="httpConnections"/> 18 <bw:emitText name="systemParams" property="maxPublicDescriptionLength"/> 19 <bw:emitText name="systemParams" property="maxUserDescriptionLength"/> 20 <bw:emitText name="systemParams" property="maxUserEntitySize"/> 21 <bw:emitText name="systemParams" property="defaultUserQuota"/> 18 22 </system> 19 23 trunk/calendar3/webcommon/src/org/bedework/webcommon/taglib/NameScopePropertyTag.java
r415 r533 99 99 */ 100 100 protected String getString(boolean required) throws JspTagException { 101 return (String)getObject(name, scope, property, required);101 return String.valueOf(getObject(name, scope, property, required)); 102 102 } 103 103 }
