incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Murray Altheim <>
Subject Re: [jira] Commented: (JSPWIKI-100) Displaying a simple count instead of a whole list
Date Sat, 15 Dec 2007 21:27:39 GMT
Harry Metske (JIRA) wrote:
>     [
> Harry Metske commented on JSPWIKI-100:
> --------------------------------------
> I would say one new parameter called "show".
> This has a default value of  "pages", to remain compatible with the current behavior.
> It can have a value of "count", showing you the number of pages.
> It can have a value of "lastModified", showing you the count, followed by the date/time
of the most recent changed page.
> Is that what you would like ?

I have a utility method that I use in a number of the CeryleWikiPlugins
that receives a Collection and a format type parameter and generates one
of a variety of outputs, comma- or space-separated lists, HTML OL or UL
lists, counts, etc. I'd be happy to donate that to the plugin utilities
in JSPWiki if that would help.

See formatOutput() in:


Murray Altheim <murray07 at>                           ===  = =                                     = =  ===
SGML Grease Monkey, Banjo Player, Wantanabe Zen Monk               = =  = =

       Boundless wind and moon - the eye within eyes,
       Inexhaustible heaven and earth - the light beyond light,
       The willow dark, the flower bright - ten thousand houses,
       Knock at any door - there's one who will respond.
                                       -- The Blue Cliff Record

View raw message