You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Andrew F Hall <af...@circleup.com> on 2007/09/07 20:21:09 UTC

Capabilities not being returned in the CapabilityMap object

Hi,

I'm trying to reference the capabilities from the CapabilityMap but am unsuccessful.  I've verified that the Client Table is defined correctly.  When a request comes in, the Client, Mime types, and Media types are all returned correctly.  But the list of capabilities returned from the getCapabilites in the Client interface is empty and the getAgent() on the RequestContext returns null.  I've verified in the DB that the CLIENT_TO_CAPABILITY table is all correct.

Is there perhaps a problem in the ojb definition such that the capabilities aren't being fetched from the db?

I'm running with Jetspeed 2.0.  Thanks in advance.

Andrew Hall
CircleUp
5120 West Goldleaf Circle, St 140
Los Angeles, CA 90056
voice    800.871.2314 x706
fax       310.496.0636
email:  afhall@circleup.com

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


RE: Capabilities not being returned in the CapabilityMap object

Posted by Andrew F Hall <af...@circleup.com>.
David,

>From within a portlet

Andrew Hall
CircleUp
5120 West Goldleaf Circle, St 140
Los Angeles, CA 90056
voice    800.871.2314 x706
fax       310.496.0636
email:  afhall@circleup.com

-----Original Message-----
From: David Sean Taylor [mailto:david@bluesunrise.com] 
Sent: Tuesday, September 11, 2007 5:48 PM
To: Jetspeed Users List
Subject: Re: Capabilities not being returned in the CapabilityMap object


On Sep 7, 2007, at 11:21 AM, Andrew F Hall wrote:

> Hi,
>
> I'm trying to reference the capabilities from the CapabilityMap but  
> am unsuccessful.  I've verified that the Client Table is defined  
> correctly.  When a request comes in, the Client, Mime types, and  
> Media types are all returned correctly.  But the list of  
> capabilities returned from the getCapabilites in the Client  
> interface is empty and the getAgent() on the RequestContext returns  
> null.  I've verified in the DB that the CLIENT_TO_CAPABILITY table  
> is all correct.
>
> Is there perhaps a problem in the ojb definition such that the  
> capabilities aren't being fetched from the db?
>
> I'm running with Jetspeed 2.0.  Thanks in advance.
>

Are you trying to access the capabilities from inside a portlet or  
are you hooked into the Jetspeed Pipeline ?


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


Re: Capabilities not being returned in the CapabilityMap object

Posted by David Sean Taylor <da...@bluesunrise.com>.
On Sep 7, 2007, at 11:21 AM, Andrew F Hall wrote:

> Hi,
>
> I'm trying to reference the capabilities from the CapabilityMap but  
> am unsuccessful.  I've verified that the Client Table is defined  
> correctly.  When a request comes in, the Client, Mime types, and  
> Media types are all returned correctly.  But the list of  
> capabilities returned from the getCapabilites in the Client  
> interface is empty and the getAgent() on the RequestContext returns  
> null.  I've verified in the DB that the CLIENT_TO_CAPABILITY table  
> is all correct.
>
> Is there perhaps a problem in the ojb definition such that the  
> capabilities aren't being fetched from the db?
>
> I'm running with Jetspeed 2.0.  Thanks in advance.
>

Are you trying to access the capabilities from inside a portlet or  
are you hooked into the Jetspeed Pipeline ?


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org