This is version . It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]

Salient Features:

  • Clean layout with improved usability
  • Consistent placement of page actions
  • Clear separation of page-level and application-level actions
  • Skins can be changed on the fly
  • All styling done through CSS
  • Same CSS for IE and Firefox
  • XHTML complaint html
  • Works with JSPWiki version 2.3.x and later
  • Tested against JSPWiki version 2.3.72-alpha

Steps to Configure Skins:

  • JSPWiki is used to denote the location of you wiki
  • Unzip the contents of to a temporary location
  • Copy ButtonMenu2 dir to the JSPWiki/templates dir
  • Edit JSPWiki/WEB-INF/ to set templateDir to ButtonMenu2 e.g. 'jspwiki.templateDir = ButtonMenu2'
  • To change wiki skins modify JSPWiki/templates/ButtonMenu2/commonheader.jsp and choose one the following CSS files. ** jspwiki_blue.css ** jspwiki_copper.css ** jspwiki_cream.css ** jspwiki_gray.css
  • Start your JSPWiki and add button menus on the left menu by clicking the 'Edit page' button and adding wiki links inside a list. Here is sample code to do that. * Main page * About * News * Baldeep Hira * Recent Changes * WikiEtiquette

This is an updated version of the original ButtonMenu template. The original ButtonMenu template worked with JSPWiki version 2.0.54 and stopped working with some changes that were introduced in JSPWiki 2.1.x. ButtonMenu2 template has been created and tested against version 2.3.72-alpha.

The ButtonMenu2 template skin overrides the style for unordered list (UL) tag inside the left menu so that all the list items appear as buttons. Hence, you can easily create buttons by adding list items to your left menu as shown in the above example.

The ButtonMenu2 template skins are CSS based and use a standard layout for all the skins. The layout for the wiki pages is defined in the JSP files under templates/ButtonMenu2 directory. The JSP files have no styling information; all the styles are governed by the CSS files. All the pages in the wiki include the commonheader.jsp which embeds the link to the correct CSS file. There are 4 pre-packaged CSS files namely: jspwiki_blue.css, jspwiki_copper.css, jspwiki_cream.css and jspwiki_gray.css. The CSS files work fine both for IE and Firefox and there is no need for separate CSS implementations for different browsers. Just make sure that whenever you modify the CSS files you test it for both IE and Firefox.

This template is released under a LGPL License.

Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
zip 202.5 kB 2 21-Nov-2006 19:49
ButtonMenu2_Blue.png 42.9 kB 1 06-Feb-2006 01:05 Baldeep Hira
ButtonMenu2_Copper.png 43.0 kB 1 06-Feb-2006 01:06 Baldeep Hira
ButtonMenu2_Cream.png 41.3 kB 1 06-Feb-2006 01:06 Baldeep Hira
ButtonMenu2_Gray.png 40.8 kB 1 06-Feb-2006 01:06 Baldeep Hira
Desktop.rar 17.9 kB 1 20-Nov-2009 07:30 Pilar ViƱuela
« This particular version was published on 06-Feb-2006 00:45 by Baldeep Hira.