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 Sateesh Kumar <sa...@semanticspace.com> on 2002/05/27 11:50:27 UTC

Unable to deploy JspPortlet?

My portlets registry is  local-portlets.xreg.  It has the following
definition of the jsp portlet.

	<portlet-entry name="SampleJsp" hidden="false" type="ref"
parent="JSP" application="false">
		<meta-info>
			<title>SampleJSP Portlet</title>
			<description>SampleJSP Portlet</description>
		</meta-info>
		<parameter name="template" value="samplejsp.jsp"
hidden="false"> </parameter>
	</portlet-entry>

And my "samplejsp.jsp" file is in
C:\TomCat\webapps\jetspeed\WEB-INF\templates\jsp\portlets\html\samplejsp.jsp

It is not displayed in the portlets list... for adding...

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Unable to deploy JspPortlet?

Posted by Paul Spencer <pa...@apache.org>.
The tag <media-type> is missing.
See 
http://jakarta.apache.org/jetspeed/site/portlet_config_common.html#Element:%20media-type

and
http://jakarta.apache.org/jetspeed/site/portlet_config_JSP.html
   Note: The example is missing <media-type>.  I will correct this.

Paul Spencer

Sateesh Kumar wrote:

> My portlets registry is  local-portlets.xreg.  It has the following
> definition of the jsp portlet.
> 
> 	<portlet-entry name="SampleJsp" hidden="false" type="ref"
> parent="JSP" application="false">
> 		<meta-info>
> 			<title>SampleJSP Portlet</title>
> 			<description>SampleJSP Portlet</description>
> 		</meta-info>
> 		<parameter name="template" value="samplejsp.jsp"
> hidden="false"> </parameter>
> 	</portlet-entry>
> 
> And my "samplejsp.jsp" file is in
> C:\TomCat\webapps\jetspeed\WEB-INF\templates\jsp\portlets\html\samplejsp.jsp
> 
> It is not displayed in the portlets list... for adding...
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 
> 



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>