Hello Scott, 

Thanks for your reply. I have attached my portlet.xml and default-page.psml. 
The modified default-page.psml is deployed with my jetspeed-portal.war, and 
the portlet.xml in another war file.

Note: The portlet seems to be deployed correctly, I just dont want to use the 
portlet selector to make it visible. 


Rohnny

On Wednesday 20 July 2005 16:05, Scott T Weaver wrote:
> Would you mind posting your portal.xml and your .psml file that defines
> your portlet fragment.
>
> Thanks,
> Scott
>
> > -----Original Message-----
> > From: Rohnny Moland [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, July 20, 2005 10:02 AM
> > To: Jetspeed Users List
> > Subject: Fwd: [JS2] showing portlets without using the portlet selector
> >
> > ----------  Forwarded Message  ----------
> >
> > Subject: [JS2] showing portlets without using the portlet selector
> > Date: Monday 18 July 2005 17:41
> > From: Rohnny Moland <[EMAIL PROTECTED]>
> > To: Jetspeed Users List <[email protected]>
> >
> > Hello,
> >
> > How can I make my portlets visible in JS2 without first using the portlet
> > selector? I want them to be visible after starting the container and
> > deploying the war, just like the wars in the JS distribution. I can
> > see my portlets successfully inserted in portlet_definition table, but
> > when
> > trying to show the psml file, I get "Failed to retrieve Portlet
> > Definition for ...".
> >
> > BTW I am using svn head.
> >
> >
> > Thanks and regards,
> >
> > Rohnny
> >
> > -------------------------------------------------------
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
<?xml version="1.0" encoding="UTF-8"?>
<portlet-app id="demo-portlets" version="1.0">

  <portlet id="TestStrutsPortlet">
    <init-param>
      <name>ServletContextProvider</name>
      <value>org.apache.jetspeed.portlet.ServletContextProviderImpl</value>
    </init-param>
    <init-param>
      <name>ViewPage</name>
      <value>/welcome.do</value>
    </init-param>
    <init-param>
      <name>HelpPage</name>
      <value>/welcome.do</value>
    </init-param>
    <portlet-name>TestStrutsPortlet</portlet-name>
    <display-name>Demo Test Portlet</display-name>
    <description>This is the Test Portlet Description</description>
    <portlet-class>org.apache.portals.bridges.struts.StrutsPortlet</portlet-class>
    <expiration-cache>-1</expiration-cache>
    <supports>
      <mime-type>text/html</mime-type>
      <portlet-mode>VIEW</portlet-mode>
      <portlet-mode>HELP</portlet-mode>
    </supports>
    <portlet-info>
      <title>Test Portlet</title>
      <short-title>This is the short title</short-title>
      <keywords>Struts</keywords>
    </portlet-info>
  </portlet>

</portlet-app>



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

Reply via email to