Where do I get BitSubmitCvPortletAction form?
I already tried the following things:
System.println.out("Hello world!");
in my doUpdate-Action, but nothing was shown after pushing the submitbutton.
I renamed the doUpdate-Action to something else, but no exception or error occured.
I'm using jetspeed 1.4 but I tried this stuff in jetspeed 1.5 also - no difference.
-----Original Message-----
From: Stijn de Witt [mailto:[EMAIL PROTECTED]
Sent: Monday, June 21, 2004 3:01 PM
To: Jetspeed Users List
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]