• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Base PageFlow Controller Class ?

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi :

I have a mess of pageflows that are all pretty much the same. I'm hoping to make a base class for the pageFlow controllers that we're going to use.

I'm having trouble because it seems that I need to declare my controllers in
the lower class. When I have it in the parent class, I get a null pointer error.

public class BaseController extends PageFlowController
{
/**
* @common:control
*/
protected control.AttachmentHelper attachmentHelper ;
}


public class FaqsController extends BaseController
{
// class that inherits from the baseController
// when I put the definition of control.AttachmentHelper here
// everything is OK
// when it's up in the parent class, I get
// null pointer errors referencing the control in
// this class's methods.

// is there some funky bug in the way weblogic uses it' pageflow controller ???
}

Thanks,

Jim

Weblogic 8.1 SP 3
reply
    Bookmark Topic Watch Topic
  • New Topic