Add new attachment

Only authorized users are allowed to upload new attachments.

This page (revision-30) was last changed on 26-Aug-2009 09:44 by 59.163.27.32  

This page was created on 21-Oct-2002 14:52 by Mortena

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 1 changed one line
This is an example of how a user page can look like:
A WikiPage is simply a page on a Wiki. In the case of JSPWiki, a WikiPage follows the
[Text Formatting Rules]....
At line 3 changed 27 lines
||Name||Before @||After @
|Morten Andersen|mortena|mip.sdu.dk
The information can then be picked up by a method, that takes the table headings and uses them as the keys to a mapping:
{{{
/**Reads in table number=tableNumber on page=wikiPage.*/
public Collection readInTable(String wikiPage, int tableNumber){
}}}
# Read in the names of the headings: ("Name", "Before @", "After @")
# For each row in the table make a map with a key for each of the heading names.
# Add the value of the coloumn in the row to the map.
# Add the map to a collection.
# return the collection of Maps.
{{{
}
}}}
One map would look like this:
||Key:|Name|Before @|After @
||Value:|Morten Andersen|mortena|mip.sdu.dk
The method could be used for all types of applications (EmailGenerator etc.), and it would be independend of how the coloumns were arranged.
----
Version Date Modified Size Author Changes ... Change note
30 26-Aug-2009 09:44 0.124 kB 59.163.27.32 to previous
29 11-Jun-2008 15:57 0.121 kB JanneJalkanen to previous | to last
28 11-Jun-2008 10:03 0.419 kB 59.162.46.194 to previous | to last
27 12-Oct-2007 21:18 0.121 kB JanneJalkanen to previous | to last
26 12-Oct-2007 14:10 0.138 kB 87.101.244.8 to previous | to last
25 11-Oct-2007 08:24 0.121 kB JanneJalkanen to previous | to last
24 10-Oct-2007 19:01 0.135 kB 201.12.178.33 to previous | to last
23 22-Sep-2007 18:54 0.121 kB 89.77.42.242 to previous | to last
22 22-Sep-2007 18:53 0.145 kB 89.77.42.242 to previous | to last
21 13-Dec-2006 00:16 0.123 kB MurrayAltheim to previous | to last removed dirt
« This page (revision-30) was last changed on 26-Aug-2009 09:44 by 59.163.27.32