incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Murray Altheim <murra...@altheim.com>
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:
>     [ https://issues.apache.org/jira/browse/JSPWIKI-100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12552103
] 
> 
> 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:

   http://www.altheim.com/ceryle/api/org/ceryle/wiki/plugin/util/PluginTextUtils.html

Murray

...........................................................................
Murray Altheim <murray07 at altheim.com>                           ===  = =
http://www.altheim.com/murray/                                     = =  ===
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

Mime
View raw message