portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Sean Taylor (JIRA)" <jetspeed-...@portals.apache.org>
Subject [jira] Resolved: (JS2-688) Unable to use Jetspeed services
Date Tue, 08 May 2007 16:41:15 GMT

     [ https://issues.apache.org/jira/browse/JS2-688?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

David Sean Taylor resolved JS2-688.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.1

I needed to add an API for the JetspeedPowerToolFactory, then you must use this interface
in your portlet code, not the implementation from the jetspeed-portal jar.
In your portlet you can now safely request the JetspeedPowerToolFactory as:

import org.apache.jetspeed.layout.JetspeedPowerToolFactory;
...
JetspeedPowerToolFactory powerToolFactory = 
              (JetspeedPowerToolFactory;)getPortletContext().getAttribute(CommonPortletServices.CPS_JETSPEED_POWERTOOL_FACTORY);


> Unable to use Jetspeed services
> -------------------------------
>
>                 Key: JS2-688
>                 URL: https://issues.apache.org/jira/browse/JS2-688
>             Project: Jetspeed 2
>          Issue Type: Bug
>          Components: Assembly/Configuration
>    Affects Versions: 2.2
>         Environment: WINXP
> MYSQL
> Jetspeed-2.2-dev
>            Reporter: Vivek
>         Assigned To: David Sean Taylor
>             Fix For: 2.1.1
>
>
> Hi 
> I am unable to use the "CommonPortletServices.CPS_JETSPEED_POWERTOOL_FACTORY"
> When ever i try to use this service Class cast exception occurred.
> I have already made a entry in jetspeed-portlet.xml as <js:service name='Powertools'/>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


Mime
View raw message