I managed to do it this way:
Invoke the action explicitly from JSP page.

ActionLoader.getInstance().exec(rundata, "MyActionClass");  

This solves my issue.....It is not very neat but it is OK.
Is there any other solution to this?
-Raje

-----Original Message-----
From: Rajeswari Venkatachalam
To: '[EMAIL PROTECTED]'
Sent: 8/23/01 8:01 AM
Subject: JSP Portlet question. Please Help!!

So far I have been using JSP and actions as defined in turbine
documentation. So these were shown as screens instead of a portlet. Now
I
want to display the JSP content inside a portlet. I defined something
like
this:

<portlet-entry name="VSecurity" hidden="false" type="ref" parent="JSP"
application="false">
        <meta-info>
            <title>TEST</title>
            <description>TEST portlet</description>
        </meta-info>
        <parameter name="template"
            value="/WEB-INF/templates/jsp/portlets/html/vsGlance.jsp"
hidden="false"/>
         <media-type ref="html"/>
        </portlet-entry>

But I want to invoke an action that creates the data to be displayed by
this
JSP. I used to do it like this:.../template/myjspName/action/myAction.
This
worked very well. I dont know how to do this with JSP portlet.
Displaying a
simple hello.jsp as a portlet works fine. Please help me. 

thanks,
-Raje

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to