[Gridsphere-users] portlet extension problem

Mona Wong-Barnum mona at sdsc.edu
Fri Mar 28 16:03:59 PDT 2008


	Ok I found the problem...and it makes sense now but was confusing as  
I was trying to debug this so I wanted to share it w/ others...

	If you have:

public class A extends ActionPortlet {...}

public class B extends A {...}

	while this may be fine for general Java, it will not work in  
GridSphere when both classes are in portlet.xml...I'd like to spout a  
good technical reason but I don't have one so I'll share my  
suspicion...one portlet cannot extend another because GridSphere  
calls B.init(), it will "clash" w/ A.init() and you'll get the errors  
that I got...something about GridSphere cannot initialize.

Mona

*********************************************************
     Mona Wong-Barnum
     Data Services Portal Developer
     San Diego Supercomputer Center
     http://datacentral.sdsc.edu

     Once you start to see through the myth
     of status, possessions, and unlimited
     consumption as a path to happiness,
     you'll find that you have all kinds of
     freedom and time.  It's like a deal you
     can make with the universe: I'll give up
     greed for freedom."
					David Edwards
*********************************************************




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.gridsphere.org/pipermail/gridsphere-users/attachments/20080328/ec0b579c/attachment.html


More information about the Gridsphere-users mailing list