Integrating Lightbox into Tapestry 5
This show a basic way of using Lightbox 2.03 (wiki) into Tapestry 5. First step Just copy the css, images and js/lightbox.js into the web directory. Note: the scriptaculous.js, effects.js and prototype.js are not required as they are already included in T5. Modify the .tml file <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>My app</title> <link rel="stylesheet" href="${context:css/style.css}" type="text/css" media="screen" /> <script type="text/javascript" src="${context:js/lightbox.js}"></script> <link rel="stylesheet" href="${context:css/lightbox.css}" type="text/css" media="screen" /> </head> …...