You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2007/12/07 16:20:43 UTC

[jira] Created: (SLING-128) MicrojaxPostServlet: generate nicer content-based node names when creating nodes

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.


[jira] Resolved: (SLING-128) MicrojaxPostServlet: generate nicer content-based node names when creating nodes

Posted by "Bertrand Delacretaz (JIRA)" <ji...@apache.org>.
     [ 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.