Hello!
I need to call an internal pipeline from a component that's working
in the background.
try {
String source = "cocoon://i-post-XRFC/" + conf.getAttribute("name") + "/"
+ conf.getAttribute("type") + "/" + id;
URLFactory urlFactory = (URLFactory)manager.lookup(URLFactory.ROLE);
URL url = this.urlFactory.getURL(source);
...
and then I get
java.net.MalformedURLException: unknown protocol: cocoon
at java.net.URL.<init>(URL.java:480)
at java.net.URL.<init>(URL.java:376)
at java.net.URL.<init>(URL.java:330)
at
org.apache.cocoon.components.url.URLFactoryImpl.getURL(URLFactoryImpl.java:6
6)
Is there a way to do so?
- Michael
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]