Panels
AddObject
en
0
Panels.WebHome
XWiki.Admin
xwiki:XWiki.msladek
xwiki:XWiki.msladek
1154195460000
1539796404000
1539796404000
1.1

#

Imported from XAR
false
xwiki/1.0
false
Panels.PanelClass
0
0
select
0
category
5
Category
0
,|
1
0
Information|Navigation|Tools|Administration|Other
com.xpn.xwiki.objects.classes.StaticListClass
0
Text
content
4
Content
25
60
0
com.xpn.xwiki.objects.classes.TextAreaClass
0
Text
description
3
Description
5
40
0
com.xpn.xwiki.objects.classes.TextAreaClass
0
name
1
Name
40
0
com.xpn.xwiki.objects.classes.StringClass
0 0 select 0 type 2 Panel type 0 ,| 1 0 view|edit com.xpn.xwiki.objects.classes.StaticListClass
Panels.AddObject
0
Panels.PanelClass
5573abfe-8fad-437a-ba73-b03531d77d98
Tools #largepanelheader($msg.get("addobject")) <form id="objectadd" method="post" action="$doc.getURL("objectadd")" onsubmit="cancelCancelEdit()"> <p> <input type="hidden" name="xredirect" value="$doc.getURL("edit", "editor=object")" /> <select name="classname" size="1"> <option value="---">$msg.get("selectclass")</option> ## ## Existing classes are enumerated, grouped by space name. ## The list is already sorted alphabetically ## #set($prevSpace = "") #set($optGroupOpen = false) #foreach ($classname in $xwiki.classList) #set($classdoc = $xwiki.getDocument($classname)) #if($classdoc.space != $prevSpace) #if($optGroupOpen) </optgroup> #else #set($optGroupOpen = true) #end <optgroup label="$classdoc.space"> #set($prevSpace = $classdoc.space) #end <option value="$classdoc.fullName">$classdoc.name</option> #end #if($optGroupOpen) </optgroup> #end </select> </p> <p> <span class="buttonwrapper"><input type="submit" value="$msg.get("addobjectfromclass")" class="button"/></span> </p> </form> #panelfooter() Form which allows adding an object to a document. Add Object edit
#includeForm("Panels.PanelSheet")