|
|||
|
Inserts a diff between two pages. The "Diff.jsp" places two variables into the JSP PageContext:
These have been parsed from the HTTP parameters by "Diff.jsp". The resulting HTML uses a few CSS styles:
Usage<wiki:InsertDiff page="<page name>" />
Parameters
Example<wiki:InsertDiff /> Might result into something like this: <table class="diff" border=0 cellspacing=0 cellpadding=0> <tr><td class="diff">Line 16 was replaced by line 16</td></tr> <tr><td bgcolor=#FF9933 class="diffrem">- [Sandbox/cens7.gif]</td></tr> <tr><td bgcolor=#99FF99 class="diffadd">+ Foobar.</td></tr> </table>
|
This material is based upon work supported by the National Science Foundation under award 0225676. Any opinions, findings and conclusions or recomendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation (NSF). Copyright 2004 Partnership for Biodiversity Informatics, University of New Mexico, The Regents of the University of California, and University of Kansas |