"Kevin A. Burton" wrote:
>
> ( Within Portlet Markup )
>
> So I was thinking that this looks cleaner:
>
> <entry
> classname="org.apache.jetspeed.portal.portlets.RSSPortlet"
> url="http://freshmeat.net/backend/fm.rdf"/>
>
> -- instead of:
>
> <entry>
> <url>http://freshmeat.net/backend/fm.rdf</url>
>
> <classname>org.apache.jetspeed.portal.portlets.RSSPortlet</classname>
> </entry>
>
> 1. This fixes a bug in Castor 0.8.0
> 2. I think it is nicer.
>
> Thoughts?
>
-1 for the url attribute, because I can see some cases where multiple URLs may
be specified in the same portlet (any broker type portlet actually).
Also it makes the URL even more different than other parameters which IMO
is not good. RSSPortlet may require one but a lot of possible portlets don't
care about URLs.
+0 for the classname attribute since it's necessarily unique and mandatory
per entry so is elligible for attribute status but it don't see any compelling
reason for the change.
Is the Castor bug resolved by moving only classname as an attribute ?
--
Rapha�l Luta - [EMAIL PROTECTED]
--
--------------------------------------------------------------
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]