On Dec 5, 2007 9:51 PM, Felix Meschberger <[EMAIL PROTECTED]> wrote:

> 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.


yep !


>
>
> > > 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.
>

Ok. In the first time I will make a copy but you are right. this is
important to solve this issue.
Why not a common place to put those classes ?


> Regards
> Felix
>
>

Reply via email to