Rapha�l Luta wrote:
>
> "Kevin A. Burton" wrote:
<snip>
> > > - bulk download all URLs
> > > - implement a security feature
> >
> > What security feature? I am not sure users should be able to define
> > Portlets.
> >
>
> Agreed, but some channels may be restricted to some users, so these channels
> should be referenced in the registry and properly tagged as restricted.
Yup.
> > > - browse the available portlets
> >
> > The FeedDaemon should just be able to add a entry like:
> >
> > <entry type="ref" name="http://www.cnn.com/cnn.rss">
> > <url>http://www.cnn.com/cnn.rss</url>
> > <entry>
> >
> > This should solve any namespace/browsing concerns :)
> >
>
> Yes, but he should do it in the registry so that this channel is available
> for any user. Remember that there's only 1 registry file used currently,
> but 1 / user psml file.
> I think the psml should concentrate on describing the screen organisation
> for the user and the registry should be used to describe what is available
> in the system.
+1
> > Also. We should have FileServer and RSSPortlet setup like <entry
> > type="abstract"> so that they don't get instantiated directly. I can
> > handle this too.
> >
>
> Yes, I agree that we need this kind of scheme.
> Now that the branch is committed, I planned to tweak the registry markup in
> the following fashion:
>
> - allow entry templates (or types or prototypes I'm not yet decided on the name)
> with the following markup
>
> <template name="RSS">
> <classname>org.apache.jetspeed.portal.portlets.RSSPortlet</classname>
> <url/>
> <parameter name="itemDisplayed" value="10"/>
> </template>
How about just:
<entry name="RSS" isTemplate="true">
</entry>
I personally like isAbstract="true
" but I don't care.
What I do think is important is that we keep the <entry> tag so that
other portions of Jetspeed don't break.
So i guess when we are done we will have 3 types of entry declarations:
<entry ref="">
<entry name="">
<entry name="" isAbstract="true">
I am wondering if we shouldn't just have a type attribute:
<entry type="ref" name="RSS">
<entry type="instance" name="RSS">
<entry type="abstract" name="RSS">
That might be a little cleaner.
--
Kevin A Burton ([EMAIL PROTECTED])
http://relativity.yi.org
Message to SUN: "Please Open Source Java!"
The house of the unbelievers shall be razed and they shall be
scorched to the earth. Their code will be open until the end of days.
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]