There's also a property in shindig.properties that lists the core features
everything must have (which is currently core and rpc)

On Tue, Sep 25, 2012 at 2:46 PM, Henry Saputra <henry.sapu...@gmail.com>wrote:

> HI Christian,
>
> You can either have custom DefaultGadgetSpecFactory.parse() and
> decorate the ModulePrefs element with your features or have custom
> Processor.process() to add default or additional feature there.
>
> Or you can have custom rewriter early in the flow and add the required
> features via call to Gadget.addFeature before other rewriters process
> the gadget
>
> Hope this helps.
>
> - Henry
>
> On Tue, Sep 25, 2012 at 11:37 AM, Christian Fischer <flyinghu...@web.de>
> wrote:
> > Hi all,
> >
> > i'm using shindig (inside Apache RAVE) for my master-thesis and need to
> > enable a default feature for all gadgets even the gadgets doesn't require
> > this feature.
> > In other words: i must inject a reference to a javascript file into each
> > gadget.
> >
> > What is the best way to acquire this goal with shindig?
> > It is possible to set a feature as "required for all"? Then i only must
> > create a new feature.
> > If not, which source files are responsible for the <script ...>
> inclusion?
> >
> > For now, the Code looks a bit confusing to me.
> >
> > Thanks,
> > Christian
>

Reply via email to