I have a partial answer about cocoon-reload.
In my transformer, I initialized a parser like this :
public void compose( ComponentManager manager ) {
super.compose(manager);
try {
this.parser = (Parser) manager.lookup(Parser.ROLE);
} catch ( ComponentException cme ) {
getLogger().warn( "Could not get the DataSource Selector", cme );
}
}
Then, I invoke the recycle method :
public void recycle()
{
super.recycle();
this.inputStringSource = null;
this.url = null;
this.domain = null;
this.server = null;
this.base = null;
this.login = null;
this.password = null;
this.request = null;
this.manager.release(this.parser);
// this.parser = null;
I have commented this line above, so I do not empty the parser.
Now I don't have to use "cocoon-reload" parameter and when I relod the page
I still have my data.
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>