It looks ok, however note that you'll also inherit the content-type
specific stylesheet definitions from the parent entry and these will take
precedence or your generic stylesheet.

Thus if you want to ensure that your stylesheet is used for HTML, you'll
also need
to define the "stylesheet.text/html" parameter with the same stylesheet.

--
Raphaėl Luta - [EMAIL PROTECTED]
Principal Consultant - Technology and New Initiatives
Vivendi Universal Networks - Paris

> -----Message d'origine-----
> De : Carlos Orrego [mailto:[EMAIL PROTECTED]]
> Envoyé : lundi 20 janvier 2003 21:45
> Ą : Jetspeed User List
> Objet : RSS Portlet and a new StyleSheet
> 
> 
> Hola,
> 
> acording to the user guide, we should be able to change the 
> stylesheet of an rss portlet, throught the stylesheet parameter. This
> does not seem to work, at least in 1.4b3.
> Any idea on how to do it?
> here is my xreg portlet entry:
> <portlet-entry name="XMLHamdvbjgfjck" hidden="false" type="ref"
>         parent="RSS" application="false">
>         <meta-info>
>             <title>Roller Content Porltet</title>
>         </meta-info>
>         
> <classname>org.apache.jetspeed.portal.portlets.NewRSSPortlet</
> classname>
>         <parameter name="stylesheet" 
> value="/inflexa/xml/rss-filter.xsl"
>             hidden="false" cachedOnName="true" cachedOnValue="true"/>
>         <media-type ref="html"/>
>         <url cachedOnURL="true">http://localhost/roller/rss/cris</url>
>     </portlet-entry>
> 
> am i doing somehtig wrong?
> 
> Carlos Orrego
> www.inflexa.com
> 
> "Salve un įrbol. No imprima."
> "Save a tree. Do not print."
> 
> 
> 
> --
> To unsubscribe, e-mail:   
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

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

Reply via email to