hei
I am trying to display a pre-generated PDF file in Cocoon; so I am not
using the FOP stuff. I have a Java generator that loads the PDFs from a
database and holds it as a byte array (byte[]).
Question is : how do I pass a byte array back to Cocoon from the
generator; and how does the
I've been using Cocoon 2.1.5.1 successfully on JBoss 4 RC1 and RC2 for a
while. Very few issues at all actually. I just had to swap the Castor
versions and put commons-logging into jboss/server/default/lib and it
worked fine.
However, on JBoss 4. final release I get some more serious
Personally I made a Generator that generates the XML used in the portal
to identify users and roles. It authenticates against a DB inside a
session bean, and this method returns the role of the user sent back
again into the portal framework through the authentication XML.
public class
Laurent Trillaud wrote:
Hi
Try this :
var sessionManager = cocoon.getComponent(
Packages.org.apache.cocoon.webapps.session.SessionManager.ROLE);
var userLogin = sessionManager.getContextFragment( authentication,
/authentication/ID).getFirstChild().getNodeValue();
Laurent Trillaud
Great, this
();
SessionManager sessionManager = (SessionManager)cm.lookup(
org.apache.cocoon.webapps.session.SessionManager.ROLE);
String userLogin = sessionManager.getContextFragment( authentication,
/authentication/ID).getFirstChild().getNodeValue();
return userLogin;
}
Steinar Rune Eriksen wrote
I am writing XML generators for the new portal framework. In order to do
something useful I need in Java code to access the authentication/ID in
order to get the name of the person currently logged into the session.
How can I do that?
I am trying to link a form into a coplet, and I am very confused about
the difference between the attributes: uri and
temporary:application-uri in portal.xml.
It does not work if I only use temporary:application-uri, I have to add
my application into the uri section. What is
references uri and
temporary:application-uri. I currently have them both pointing to the
same uri.
Steinar Rune Eriksen wrote:
I am trying to link a form into a coplet, and I am very confused about
the difference between the attributes: uri and
temporary:application-uri in portal.xml.
It does
Hi
I have used Cocoon a bit before but I am new to the portal. I would like to
have a list of icons in the top of my portal-page.xsl which may be clicked
to alter the contents of one of the coplets in the bottom of the screen.
Is this possible and what would be the best approach? I have heard