Rogier Schaaf wrote:

> Hi all, Trying to configure the number of items that is displayed for
> a channel that is fed from a RSS portlet I noticed that changing the
> <parameter value="5" type="int" name="itemDisplayed" /> tag didn't
> influence anything. After examining the the associated stylesheet
> (rss.xsl) I noticed the following entry:<xsl:param
> name="itemdisplayed" select="number(15)"/>Am I correct in assuming
> that the number of items displayed by the portlet is controlled by the
> stylesheet and not by the PSML configuration files (I think this is a
> valid assumption)? If so, that leaves me with the following
> questions:
>
>  - what purpose do the entries in the PSML files serve?- wouldn't it
> be a nice feature if the number of items displayed in the portlet can
> be maximized when the porlet is in a maximized view? Regards, Rogier
> Schaaf

The parameter in psml should be itemdisplayed (small d), as turbine
changes case of parameters in requests. The parameter defined in the
style sheet is only a default value. It will be used if no parameter
called itemdisplayed is sent to the style sheet. If you change the name
and value in PSML it should work.

With regard to your second question, it could probably be a good idea.
If psml had the notion of portlet "states" (closed, minimised, etc.), it
should probably have different metainfos for these states, with a common
part for those not further specified..







--
--------------------------------------------------------------
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]

Reply via email to