|
NYCJava.net Main Page About NYCJava.net JUG Java Study Groups: Java Mobile SCJP 6 (Programmer Cert.) Design Patterns SCEA 5 (Architect Cert.) Java Enterprise Study Group Sponsor of the Skylight1 ![]() open source project Location Sponsor: ![]() A member SIG of http://nypc.org ![]() Sponsor of the NYC Java Meetup ![]() ![]() help support NYC Java: http://cafepress.com/nycjava ![]()
![]() Special thanks to: Sun Microsystems Prentice Hall O'Reilly JetBrains Apress and NYPC! Book Reviews Articles Java Links Java Jobs Humor About Duke System Info Find pages About this Wiki Wiki Quick Start WikiEtiquette
Set your name in
UserPreferences |
A simple counter that starts counting at 1 at the top of the page, and each time it is invoked, will increase its value by one. These counters are transient, and relative to the current page view only - i.e. two persons viewing the same page at the same time get their own counters. The current counter value is accessible also as a WikiVariable. The name of the variable is "counter", or "counter-<name>", if you have defined a counter name. Parameters
Example[{Counter}], [{Counter}], [{Counter}], [{Counter name='aa'}] produces 1, 2, 3, 1. The value of "counter" at the end is 3 and the value of "counter-aa" is 1. Back to JSPWikiPlugins.
|
||||||