You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by "Cabio, Michelle (Michelle)" <ca...@avaya.com> on 2002/04/10 20:56:40 UTC

calling a portlet from a portlet

Dave,

I'm trying to call a portlet from a portlet.
However, for some reason when I do

	base.addElement(new EcsServletElement(aRunData, "NameofthePortlet"));

nothing appears...and no errors are detected on apache.

I tried adding the filePath, for instance in my avaya.xreg file
filePath = "C:/avaya"
When I do

	base.addElement(new EcsServletElement(aRunData, filePath + "/NameofPortlet"));

**NameofPortlet is in the filePath

nothing appears.

What am I doing wrong? How do you call a porlet within a portlet??


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


RE: calling a portlet from a portlet

Posted by David Sean Taylor <da...@bluesunrise.com>.
Portlet portlet = PortletFactory.getPortlet("name");


> -----Original Message-----
> From: Cabio, Michelle (Michelle) [mailto:cabio@avaya.com] 
> Sent: Wednesday, April 10, 2002 11:57 AM
> To: Jetspeed Developers List
> Subject: calling a portlet from a portlet
> 
> 
> 
> Dave,
> 
> I'm trying to call a portlet from a portlet.
> However, for some reason when I do
> 
> 	base.addElement(new EcsServletElement(aRunData, 
> "NameofthePortlet"));
> 
> nothing appears...and no errors are detected on apache.
> 
> I tried adding the filePath, for instance in my avaya.xreg 
> file filePath = "C:/avaya" When I do
> 
> 	base.addElement(new EcsServletElement(aRunData, 
> filePath + "/NameofPortlet"));
> 
> **NameofPortlet is in the filePath
> 
> nothing appears.
> 
> What am I doing wrong? How do you call a porlet within a portlet??
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:jetspeed-dev-> unsubscribe@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>