Hi Christophe, Am Mittwoch, den 05.12.2007, 21:37 +0100 schrieb Christophe Lombart: > Thanks for the info. I will make a try with those methods. > I would like to add a search example in the MicroSling application. What do > you think ?
Sounds good. I would suggest you use the ResourceResolver.findResources/queryResources method to implement this. > > The easiest way is probably to create this /search node, and set its > > sling:resourceType to point to a specific script (or servlet). > > > > Is it possible to avoid the creation of this node in the repo ? Is it not > possible to create a SyntheticResource in this case ? Not sure if > SyntheticResource is available in MicroSling. There is no SyntheticResource in microsling at the moment. But if you need it, you can simply copy it over from the Sling jcr/resource project. It is in fact rather a simple class. This gives raise to another unresolved issue: We have a series (not that many, though) of classes, which are shared by microsling and Sling, but currently these classes exist twice. Regards Felix
