----- Original Message ----- 
From: "Flo�mann Christoph" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[EMAIL PROTECTED]>
Sent: Monday, June 21, 2004 1:35 PM
Subject: RE: Shoutbox Portlet Action doesn't work


> I already wrote my xreg definition
> Here I copied it once again:
>

Sorry about that, I overlooked it.
Your .xreg looks fine. Can you select your portlet with Add Portlet in the
customizer?

Try adding some logging, it gives you a better view of what's going on.

Add the imports

import org.apache.jetspeed.services.logging.JetspeedLogFactoryService;
import org.apache.jetspeed.services.logging.JetspeedLogger;

and the private static class field logger:

private static final JetspeedLogger logger = JetspeedLogFactoryService.
            getLogger(BitSubmitCvPortletAction.class.getName());

(right below public class ShoutBox extends JspPortletAction { )

And then create a constructor and log something:

public ShoutBox()
{
    logger.info("ShoutBox Created.");
}

Your logging messages should appear in Jetspeed.log

If the message in the constructor does not appear, then your Action could
not be found. If it does appear, then it must be something else.

-Stijn




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to