Steven, I had taken the code out of context so maybe is influenced you
answer...below is the BASE CODE for the default template.  It runs fine. but
when I enter MY ENTRY to to list of entries it gives an error.  Is it
because I don't have a feed daemon configured for the url?  The syntax
parent = URL , I don't understand...


FROM THE jetspeed-config file:

        <portlet-entry type="ref" parent="RSS" name="Commodities">
            <parameter name="itemdisplayed" value="10" type="int"/>

<url>http://p.moreover.com/cgi-local/page?c=Commodities%20news&amp;o=rss</ur
l>
            <meta-info>
                <title>Commodities News</title>
            </meta-info>
        </portlet-entry>

MY ENTRY FOLLOWS

                        <entry type="ref"
parent="http://p.moreover.com/cgi-local/page?c=Commodities%20news&amp;o=rss"
>
                                <control
name="org.apache.jetspeed.portal.controls.ClearPortletControl"/>
                        </entry>


BASE CODE FOLLOWS

<portlets> <!-- 3 -->
                        <controller
name="org.apache.jetspeed.portal.controllers.CardPortletController">
                                <parameter name="defaultcard" value="0"/>
                                <parameter name="parameter" value="channel"/>
                                <parameter name="ruler-size" value="0"/>
                        </controller>

                        <control
name="org.apache.jetspeed.portal.controls.PanedPortletControl"/>

                        <layout>
                                <property name="row" value="0"/>
                                <property name="column" value="0"/>
                        </layout>

                        <entry type="ref"
parent="http://java.apache.org/jetspeed/channels/jetspeed.rss">
                                <control
name="org.apache.jetspeed.portal.controls.ClearPortletControl"/>
                        </entry>

                        <entry type="ref"
parent="http://java.apache.org/jetspeed/channels/turbine.rss">
                                <control
name="org.apache.jetspeed.portal.controls.ClearPortletControl"/>
                        </entry>




                        <entry type="ref" parent="http://www.mozilla.org/news.rdf">
                                <control
name="org.apache.jetspeed.portal.controls.ClearPortletControl"/>
                                <parameter name="itemdisplayed" value="5"/>
                        </entry>

                        <entry type="ref"
parent="http://www.apacheweek.com/issues/apacheweek-headlines.xml">
                                <control
name="org.apache.jetspeed.portal.controls.ClearPortletControl"/>
                                <parameter name="showtitle" value="false"/>
                                <parameter name="showdescription" value="false"/>
                        </entry>

                        <entry type="ref" parent="http://www.xmlhack.com/rsscat.php">
                                <control
name="org.apache.jetspeed.portal.controls.ClearPortletControl"/>
                        </entry>

                 </portlets> <!-- 3 -->

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Stephan Hesmer
> Sent: Wednesday, February 07, 2001 4:06 AM
> To: JetSpeed
> Subject: Re: parent attribute in entry : was newbie portlet entry
>
>
> John,
>
> the ClearPortletControl is designed to show NO content. It is
> just a helper
> control that was introduced due to the customizer. If you for example
> deselect all portlets on your page, then you would get an error
> because the
> portlets tree (your psml file) contains no portlet resp. portlet
> control. In
> this case, the customizer inserts the ClearPortletControl to avoid this
> error.
>
> Instead use an other control, e.g. TitlePortletControl.
>
> Stephan
>
> ----- Original Message -----
> From: "John Menke" <[EMAIL PROTECTED]>
> To: "Jetspeed" <[EMAIL PROTECTED]>
> Sent: Tuesday, February 06, 2001 8:37 PM
> Subject: parent attribute in entry : was newbie portlet entry
>
>
> > First, I would like to thank Rapheal and David for their help.  The
> previous
> > advice worked for encoding & in the url :)
> >
> >
> > I am trying to alter the default.psml file and I'm having problems with
> > getting the ClearPortletControl to display my content.  The
> portlet works
> > great in the top the default.psml but below... it doesn't work
> when I try
> to
> > include it in the RSS sources pane...
> >
> >
> > I have the following coded in my jetspeed-config.jcfg file:
> >
> >
> > <portlet-entry type="ref" parent="RSS" name="Commodities">
> >             <parameter name="itemdisplayed" value="10" type="int"/>
> >
> >
> <url>http://p.moreover.com/cgi-local/page?c=Commodities%20news&amp
> ;o=rss</ur
> > l>
> >             <meta-info>
> >                 <title>Commodities</title>
> >             </meta-info>
> >         </portlet-entry>
> >
> > I am trying to alter the default.psml file and I'm having problems with
> > getting the ClearPortletControl to display my content when I use the
> parent
> > = url syntax
> >
> > From the default.psml file:  this part works
> >
> >
> >     <portlets>
> >       <controller
> >
> name="org.apache.jetspeed.portal.controllers.RowColumnPortletController"/>
> >
> >       <entry type="ref" parent="Jetspeed"/>
> >       <entry type="ref" parent="Welcome"/>
> >       <entry type="ref" parent="Commodities"/>
> >     </portlets>
> >
> >   </portlets>
> >
> >   From the default.psml file:  this part does not work
> >
> >
> > BELOW DOES NOT WORK....
> >
> >       <entry type="ref"
> >
> parent="http://p.moreover.com/cgi-local/page?c=Commodities%20news&;
> amp;o=rss"
> > >
> >         <control
> > name="org.apache.jetspeed.portal.controls.ClearPortletControl"/>
> >       </entry>
> >
> >
> > Is there any entry I'm missing in the config file?  It doesn't appear I
> need
> > one... How do you use a url as parent reference in a portlet entry.
> >
> >
> >
> >
> >
> >
> > --
> > --------------------------------------------------------------
> > To subscribe:        [EMAIL PROTECTED]
> > To unsubscribe:      [EMAIL PROTECTED]
> > Search: <http://www.mail-archive.com/[email protected]/>
> > List Help?:          [EMAIL PROTECTED]
> >
> >
> >
>
>
>
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/[email protected]/>
> List Help?:          [EMAIL PROTECTED]
>



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/[email protected]/>
List Help?:          [EMAIL PROTECTED]

Reply via email to