----- Original Message ----- From: "Flo�mann Christoph" <[EMAIL PROTECTED]> To: "Jetspeed Users List" <[EMAIL PROTECTED]> Sent: Monday, June 21, 2004 4:09 PM Subject: RE: Shoutbox Portlet Action doesn't work
> Yes I can add my portlet with the costumizer. And finds the class. Otherwise where should the results of my query come form (I created some shoutings in the database which are displayed in the portlet) Ok > > This is what I get from the logging after pushing the submit button but I don't know what I can do now: > > ================================================= > > 2004-06-21 16:04:55,444 [http8080-Processor25] DEBUG GenericMVCPortlet - GenericMVCPortlet: Executing action [portlets.ShoutBox] for portlet [Shoutbox] Ok, this line clearly indicates that your portlet is succesfully found. > 2004-06-21 16:04:55,444 [http8080-Processor25] DEBUG GenericMVCAction - Action: try executing events GenericMVCAction is now executing it's perform() method. It is looking for all parameters that were send with the request to find one that starts with 'eventSubmit_'. If it finds one, it takes the piece of the name after the underscore, does some conversion on it and then uses that as the name of the method to call. If your function is called doSubmit, you should have a parameter in the quest named 'eventSubmit_doSubmit' with as value the caption of your button... > 2004-06-21 16:04:55,444 [http8080-Processor25] DEBUG GenericMVCAction - Action: calling doPerform This indicates that GenericMVCAction could not find a parameter with the correct name, or that calling the method failed for some reason. Are you building jetspeed from the source? In that case, I would advise you to put some logging in GenericMVCAction, to find out just what happens between the 'try executing events' and the 'calling doPerform'. My bet is that it is something really little, and you'll be saying 'was that all?!!'. I have had that A LOT with Jetspeed. Hope it helps, and let me know if it did! :) -Stijn > 2004-06-21 16:04:55,444 [http8080-Processor25] DEBUG GenericMVCAction - GenericMVCAction: retrieved context: [EMAIL PROTECTED] > 2004-06-21 16:04:55,444 [http8080-Processor25] DEBUG GenericMVCAction - GenericMVCAction: retrieved portlet: [EMAIL PROTECTED] > 2004-06-21 16:04:55,444 [http8080-Processor25] DEBUG GenericMVCAction - GenericMVCAction: building normal > 2004-06-21 16:04:55,444 [http8080-Processor25] INFO GenericMVCPortlet - GenericMVCPortlet - calling processView on processor > 2004-06-21 16:04:55,444 [http8080-Processor25] INFO JSPViewProcessor - JSPViewProcessor - processing template ShoutBox.jsp > 2004-06-21 16:04:55,444 [http8080-Processor25] INFO JSPViewProcessor - JSPViewProcessor - locating template - [EMAIL PROTECTED] - ShoutBox.jsp > 2004-06-21 16:04:55,444 [http8080-Processor25] INFO JSPViewProcessor - JSPViewProcessor - located template: /portlets/html/ShoutBox.jsp > 2004-06-21 16:04:55,444 [http8080-Processor25] INFO ShoutBox - ShoutBox Created. > > ================================================= > > -----Original Message----- > From: Stijn de Witt [mailto:[EMAIL PROTECTED] > Sent: Monday, June 21, 2004 4:02 PM > To: Jetspeed Users List > Subject: Re: Shoutbox Portlet Action doesn't work > > > ----- Original Message ----- > From: "Flo�mann Christoph" <[EMAIL PROTECTED]> > To: "Jetspeed Users List" <[EMAIL PROTECTED]> > Sent: Monday, June 21, 2004 3:06 PM > Subject: RE: Shoutbox Portlet Action doesn't work > > > Where do I get BitSubmitCvPortletAction form? > > Sorry, that was a copy-paste error. My action is named > BitSubmitCvPortletAction. You have to fill in the name of your action here, > so that's > > private static final JetspeedLogger logger = JetspeedLogFactoryService. > getLogger(ShoutBox.class.getName()); > > > 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 am guessing that your whole action, so the whole ShoutBox class, cannot be > found by jetspeed. This happens because of various reasons. If your class > cannot be found, then Jetspeed cannot call your doUpdate() function and > instead the standard doPerform() of the standard action is called. This is > most probably just some setting somewhere that prevents jetspeed from > finding it. > > Can you add your portlet with the customizer? (If you 'customize page' and > you click Add Portlet button, is your portlet available in the list?) > If you cannot add it with the customizer, you should try to fix that first. > > -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] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
