Wiki source code of Design Proposals

Version 22.1 by Vincent Massol on 2010/12/06 09:34

Show last authors
1 1 Design Proposals
2
3 This space is dedicated to new design proposals. The process is the following:
4
5 * First, discuss the idea on the [mailing lists>Community.MailingLists]
6 * Once a first conclusion is reached document it on this wiki here
7 * Create a JIRA issue so that it's not forgotten and reference the page on the wiki
8 * Continue improving the design implementation on the wiki
9 * When the proposal is finalized, send a mail on the dev list for approval
10 * Once approved implement it and document it properly in the final location in the wiki
11 * Once the JIRA issue is implemented mark the Design proposal as "Completed" and move it to the [Design Archive space>DesignArchive.WebHome]
12
13 ## ---------------------------------------------------
14 ## Let the user add a new Design proposal
15 ## ---------------------------------------------------
16
17 <form action="" id="newdesign">
18 <input type="hidden" name="parent" value="Design.WebHome" />
19 <input type="hidden" name="template" value="XWiki.DesignClassTemplate" />
20 <input type="hidden" name="sheet" value="1" />
21 <input type="hidden" name="webname" value="Design"/>
22 <input type="hidden" name="name" value=""/>
23 <table>
24 <tr>
25 <td>
26 <input type="text" name="design" value="" size="30"/>
27 </td>
28 <td>
29 <input type="submit" value="Add this Design proposal" onclick='if (updateName(this.form.design,this.form.name)) { action="../../inline/" + this.form.webname.value + "/" + this.form.name.value; this.form.submit(); }' />
30 </td>
31 </tr>
32 </table>
33 </form>
34
35 1.1 List of open Design proposals
36
37 #set ($sql = ", BaseObject as obj where obj.name=doc.fullName and obj.className='XWiki.DesignClass' and obj.name<>'XWiki.DesignClassTemplate' and doc.space='${doc.space}' order by doc.name asc")
38 #set ($designs= $xwiki.searchDocuments($sql))
39
40 There are $designs.size() open design proposals on this page.
41
42 Completed or Dead proposals can be found in the [Design Archive space>DesignArchive.WebHome].
43
44 <table id="designTable" class="grid sortable filterable doOddEven" cellpadding="0" cellspacing="0" border="0">
45 <tr class="sortHeader">
46 <th>Title</th>
47 <th class="selectFilter">Status</th>
48 <th>Lead</th>
49 <th>JIRA</th>
50 <th class="noFilter">Creation date</th>
51 </tr>
52 #foreach ($design in $designs)
53 #set ($designDoc = $xwiki.getDocument($design))
54 <tr>
55 <td>
56 <a href='$xwiki.getURL($design)'>*$designDoc.display("Title")*</a>
57 </td>
58 <td>
59 $designDoc.display("Status")
60 </td>
61 <td>
62 $designDoc.getRenderedContent($designDoc.getValue("Lead"), $designDoc.syntaxId)
63 </td>
64 <td>
65 $designDoc.display("JIRAIssueReference")
66 </td>
67 <td>
68 $xwiki.formatDate($designDoc.creationDate, "yyyy/MM/dd")
69 </td>
70 </tr>
71 #end
72 </table>

Get Connected