[ 
https://issues.apache.org/jira/browse/SLING-128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bertrand Delacretaz resolved SLING-128.
---------------------------------------

    Resolution: Fixed

Implemented in revision 602141

See GeneratedNodeNameTest and NodeNameGeneratorTest for examples

> MicrojaxPostServlet: generate nicer content-based node names when creating 
> nodes
> --------------------------------------------------------------------------------
>
>                 Key: SLING-128
>                 URL: https://issues.apache.org/jira/browse/SLING-128
>             Project: Sling
>          Issue Type: Improvement
>          Components: microsling
>            Reporter: Bertrand Delacretaz
>            Priority: Minor
>
> Currently, when posting to a URL ending in /*, MicrojaxPostServlet generates 
> a numeric node name based on a counter and System.currentTimeMillis().
> In our r-jax prototype we used well-known request parameters to generate the 
> name of the node instead (with fallback to numeric name).
> This allows node names like "microsling_is_cool" for a content node with 
> title="Microsling is cool!", for example.
> I'll port this utility over, hardwired in microsling, and we can make it 
> pluggable in Sling if needed.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to