Hi,
I have a question about passing parameters between portlets.
I want to pass some JSP generated HTML form parameters from the portal
it is in to another portal for processing. I cant see how to do this.
When I forward to the next portal and check the portalparams there is
nothing.
I have a form in a portlet that is created using JSP and the JSPPortlet
definition in the xreg.
XREG
?xml version="1.0" encoding="UTF-8"?>
<registry>
<portlet-entry name="GMO Form" hidden="false" type="ref"
parent="JSP" application="false">
<meta-info>
<title>GMO Form</title>
<description>GMO Form</description>
</meta-info>
<classname>org.apache.jetspeed.portal.portlets.JspPortlet</classname>
<parameter name="template" value="form1.jsp" hidden="true"
cachedOnName="true" cachedOnValue="true"/>
<media-type ref="html"/>
<url cachedOnURL="true"/>
<category group="gmo.dynamic">GMO REGEX Dynamic Content
Porlets</category>
</portlet-entry>
</registry>
FORWARD XML
<?xml version="1.0" encoding="UTF-8"?>
<forwards-configuration>
<forward name='CreateDossierForward'>
<pane id='P-f8ef4c6266-10007'/>
</forward>
</forwards-configuration>
JSP
<[EMAIL PROTECTED] contentType="text/html"%>
<%@ taglib uri='/WEB-INF/templates/jsp/tld/template.tld'
prefix='jetspeed'%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN"
"http://www.w3.org/TR/REC-html40/frame.dtd">
<html>
<head>
<title>Document Handling</title>
</head>
<body>
<form action="<jetspeed:forward name='CreateDossierForward'/>"
method="post">
<p>
<br>
<table>
<tr>
<td> Dossier Type </td>
<td> <input type="text" name="dossiertype" value="bsnif_gmp">
</td>
</tr>
<table>
<br>
<input type="submit" name="eventSubmit_doUpdate" value="Update">
<input type="reset" value="Reset">
</p>
</form>
</body>
</html>
What I want to do is on submission of the form, pass the form created
arguments to portlet 2
<?xml version="1.0" encoding="UTF-8"?>
<registry>
<portlet-entry name="GMO-CreateDossier" hidden="false" type="ref"
parent="HTML" application="false">
<meta-info>
<title>GMO Create Dossier</title>
<description>GMO Create Dossier</description>
<image></image>
</meta-info>
<classname>com.terma.ddp.dht.portlets.RequestProcessor</classname>
<parameter name="method" value="createDossier" hidden="false"
cachedOnName="true" cachedOnValue="true"/>
<parameter name="dossiertype" hidden="false"
cachedOnName="true" cachedOnValue="true"/>
<category group="gmo.dynamic">GMO Regex Dynamic Content
Portlets</category>
</portlet-entry>
</registry>
which is extended from AbstractPorlet.
The JSP has a forwards tag ( as above ).
If anyone can help me, I would appreciate it.
regards
Paul.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]