Re: usage of cocoon.createObject

2008-01-15 Thread Antonio Gallardo

Hi Carlos,

Thanks for spotting the issue, people might get this code as a best 
practices. Would you file the issue and include a patch in scarab? I 
will be glad to commit the fix. Thank you in advance.


Best Regards,

Antonio Gallardo.

Carlos Chávez escribió:

Hello All,

About the usage of the cocoon.createObject, i notice that on two 
cocoon sample we did not call the method cocoon.disposeObject for the 
object created before, is this right ?


The sample code is on:

1. src/blocks/lucene/samples/flow.js
2. src/blocks/portal/samples/coplets/basket/basket.js

We create the objects: 
org.apache.cocoon.components.flow.util.PipelineUtil and 
org.apache.cocoon.samples.LuceneUtil.


Cheers,
Carlos Chávez.




usage of cocoon.createObject

2008-01-14 Thread Carlos Chávez

Hello All,

About the usage of the cocoon.createObject, i notice that on two cocoon 
sample we did not call the method cocoon.disposeObject for the object 
created before, is this right ?


The sample code is on:

1. src/blocks/lucene/samples/flow.js
2. src/blocks/portal/samples/coplets/basket/basket.js

We create the objects: 
org.apache.cocoon.components.flow.util.PipelineUtil and 
org.apache.cocoon.samples.LuceneUtil.


Cheers,
Carlos Chávez.