Author: fmeschbe
Date: Fri Jan  9 06:20:53 2009
New Revision: 733044

URL: http://svn.apache.org/viewvc?rev=733044&view=rev
Log:
SLING-822 add text and jcr:text to candidate properties of
the default configuration for the node name generation

Modified:
    
incubator/sling/trunk/servlets/post/src/main/java/org/apache/sling/servlets/post/impl/SlingPostServlet.java
    
incubator/sling/trunk/servlets/post/src/main/resources/OSGI-INF/metatype/metatype.properties

Modified: 
incubator/sling/trunk/servlets/post/src/main/java/org/apache/sling/servlets/post/impl/SlingPostServlet.java
URL: 
http://svn.apache.org/viewvc/incubator/sling/trunk/servlets/post/src/main/java/org/apache/sling/servlets/post/impl/SlingPostServlet.java?rev=733044&r1=733043&r2=733044&view=diff
==============================================================================
--- 
incubator/sling/trunk/servlets/post/src/main/java/org/apache/sling/servlets/post/impl/SlingPostServlet.java
 (original)
+++ 
incubator/sling/trunk/servlets/post/src/main/java/org/apache/sling/servlets/post/impl/SlingPostServlet.java
 Fri Jan  9 06:20:53 2009
@@ -88,7 +88,7 @@
     /**
      * @scr.property values.0="title" values.1="jcr:title" values.2="name"
      *               values.3="description" values.4="jcr:description"
-     *               values.5="abstract"
+     *               values.5="abstract" values.6="text" values.7="jcr:text"
      */
     private static final String PROP_NODE_NAME_HINT_PROPERTIES = 
"servlet.post.nodeNameHints";
 

Modified: 
incubator/sling/trunk/servlets/post/src/main/resources/OSGI-INF/metatype/metatype.properties
URL: 
http://svn.apache.org/viewvc/incubator/sling/trunk/servlets/post/src/main/resources/OSGI-INF/metatype/metatype.properties?rev=733044&r1=733043&r2=733044&view=diff
==============================================================================
--- 
incubator/sling/trunk/servlets/post/src/main/resources/OSGI-INF/metatype/metatype.properties
 (original)
+++ 
incubator/sling/trunk/servlets/post/src/main/resources/OSGI-INF/metatype/metatype.properties
 Fri Jan  9 06:20:53 2009
@@ -38,7 +38,7 @@
  request URL ends with a star ("*") or a slash ("/"). In this case the request 
\
  parameters listed in this configuration value may be used to create the name. 
\
  Default value is [ "title", "jcr:title", "name", "description", \
- "jcr:description", "abstract" ].
+ "jcr:description", "abstract", "text", "jcr:text" ].
 servlet.post.nodeNameMaxLength.name = Maximum Node Name Length 
 servlet.post.nodeNameMaxLength.description = Maximum number of characters to \
  use for automatically generated node names. The default value is 20. Note, \


Reply via email to