Hi,

   I have usecase added to my Lenya 2.0, it works good. Then I do following:

1) edit $LENYA_HOME/build/lenya/webapp/WEB-INF/cocoon.xconf and delete
usecase component-instance:

...

<usecases>

...

<!-- deleted -->
<!--<component-instance
class="org.apache.lenya.cms.editors.ginnewsgroup.Banners"
logger="lenya.site.ginnewsgroup" name="ginnewsgroup.banners">
    <view
customFlow="fallback://lenya/modules/ginnewsgroup/flow/bannersFlow.js"
uri="modules/ginnewsgroup/usecases/banners_dynamicrepeater_template.xml"/>
    <event id="edit"/>
  </component-instance>-->

</usecases>

...

  2) not do server restart
  3) refresh browser with Lenya application
  4) the usecase "ginnewsgroup.banners" still works perfectly.

Why after deletion in biuld/../cocoon.xconf the module still works ok?

Thaks,
Gintarė

Reply via email to