portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From NDinsd...@hbf.com.au
Subject ForwardService forwardDynamic not working from Action class in JetSpeed 1.5 ?
Date Wed, 06 Oct 2004 03:41:47 GMT
Hi,

I'm trying to use the following forward from an Action class :-

<forward name='ScoopResults'>
    <page name='scoop' user='anon'/>
    <pane id='Scoop_1'/>
</forward>

The forward works fine when used directly from a JSP (<jetspeed:forward 
name="ScoopResults"/>), however when called from an Action as in the 
following code, the forward is not invoked .. the page simply remains as 
is.

        public void doSend( RunData runData, Portlet portlet ) {
 
                logRequest( runData );
                getLogger().debug( "WhatsOnInWA send called" );
 
                Map map = new HashMap();

                ForwardService fs = 
(ForwardService)ServiceUtil.getServiceByName(ForwardService.SERVICE_NAME);
                fs.forwardDynamic(runData, "ScoopResults", map);

        }

Any help greatly appreciated.

Thanks,

Nigel Dinsdale
Perth
Australia============================================================
HBF Health Funds Inc. a registered organisation under the National Health Act
HBF Insurance Pty Ltd ACN  009 268 277
This email is a confidential communication intended only for the named Addressee(s). If you
are not that person any disclosure, copying, distribution or use of this email or the information
in it is prohibited. Please notify us immediately by telephone, (+61) 08 9265 6111 or return
email and delete this email.
Mime
View raw message