To answer my own question. I created a new entry in the application's
Spring configuration file,
In script, I used
var useful = cocoon.getComponent("com.foo.bar.Useful");
useful.someMethod(arg1, arg2);
This does not require any modification to the source code of the class
(that is, the priv
Hi,
I am dealing with the following. An extremely useful Java class provides
a static method for completing a particular task, like
class Useful {
private Useful() {}
public static void someMethod(String arg1, String arg2)
{
...
}
}
In flow, I do something like
var arg1 = "test1"
Hi,
Apologies for any typos (and the previous incomplete message) - I'm sending
this on my phone in the middle of a forest :-)
I believe the relevant code was
http://apache.org/cocoon/sitemap/1.0";>
... (various closing tags)
(can't remember why this was present, or if it's
actually need
Hi,
Apologi
On 11 Aug 2011 22:33, "Nathaniel Grove" wrote:
> Yes, I'm using Cocoon 2.1.11 and I've gotten the basic I18N mechanism to
> work, but I'm confused how to go about getting the translations from
> outside of cocoon. I tried putting a URL in the location attribute as
> well as a Cocoon r