It works now, thanks! On Wed, 2009-12-09 at 20:24 +0100, Martin Edenhofer wrote: > Hi Kiffin, > > I see there is an error. "LayoutObject" is missing in the list: > > [...] > for my $Transfer ( (qw( > ParamObject DBObject ModuleReg > ConfigObject LogObject EncodeObject MainObject > )) { > [...] > > Just add it and it should work. > > It will be fixed after new auto rebuild of the online doc. > > -Martin > > On 09.12.2009, at 20:03, Kiffin Gish wrote: > > > I'm trying to write my own OTRS module based on chapter 13 of the > > Developer Manual. However, although I feel I've followed the > > instructions exactly, I still get the following error message: > > > > Can't call method "Header" on an undefined value > > at ../..//Kernel/Modules/AgentHelloWorld.pm line 38. > > > > This corresponds with the following line: > > > > sub Run { > > ... > > line 38: my $Output = $Self->{LayoutObject}->Header(Title => > > "HelloWorld"); > > > > Any ideas what I might be doing wrong? Could it be that the layout > > object isn't being initialized properly? > > > > -- > > Kiffin Gish <kiffin.g...@planet.nl> > > Gouda, The Netherlands > > > > > > --------------------------------------------------------------------- > > OTRS mailing list: otrs - Webpage: http://otrs.org/ > > Archive: http://lists.otrs.org/pipermail/otrs > > To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs > > > > NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! > > http://www.otrs.com/en/support/enterprise-subscription/ > > --------------------------------------------------------------------- > OTRS mailing list: otrs - Webpage: http://otrs.org/ > Archive: http://lists.otrs.org/pipermail/otrs > To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs > > NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! > http://www.otrs.com/en/support/enterprise-subscription/
-- Kiffin Gish <kiffin.g...@planet.nl> Gouda, The Netherlands --------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/