Hi Juanjo,

This is a very good question, we deliberatly did not touch yet. But you
are of course right, we probably need something like this. Out of my
belly, I would think of the following:

(1) encode the requested version as part of the URL, such as

     /content/some/resource.html;v=1.0 (for the resolve(request) method)

The value of the v parameter is the version label.

(2) add getResource parameters with an additional version label
parameter:

    ResourceResolver.getResource(String path, String versionLabel);

(3) add support for a well-known HTTP header and/or parameter for the
    ResourceResolver.resolve(request) method.

WDYT ?

Regards
Felix

Am Montag, den 10.12.2007, 11:00 +0100 schrieb Juanjo Vázquez:
> Hi all,
> 
> I don´nt know if anyone has thought in this scenario: to retrieve a resource
> based on a particular version of a node instead of the head version.
> 
> WDYT?
> 
> Regards,
> 
> Juanjo.

Reply via email to