Wiki Home » Panels » AddClassProperty

AddClassProperty

Last modified by Administrator on 2006/12/15 10:10
Name
Add Class Property
Panel type
edit
Category
Tools
Description

Form which allows adding a class property.

Content

#largepanelheader($msg.get("addproperty"))
<form id="propadd" method="post" action="$doc.getURL("propadd")" onsubmit="cancelCancelEdit()">
<div class="padded">
<input type="hidden" name="xredirect" value="$doc.getURL("edit", "editor=class")"/>
<table>
<tr><td class="label"><label for="propname">$msg.get("propname"):</label></td><td><input type="text" id="propname" name="propname" value="" size="20" />
</td></tr>
<tr><td class="label"><label for="proptype">$msg.get("proptype"):</label></td><td>
<select id="proptype" name="proptype" size="1">
<option value="-">$msg.get("selectproptype")</option>
#foreach($prop in $xwiki.metaclass.properties)
<option value="$prop.name">$prop.prettyName</option>
#end
</select></td></tr>
<tr><td colspan="2" class="padded center"><input type="submit" class="button" value="$msg.get("addproperty")"/></td></tr>
</table>
</div>
</form>
#panelfooter()

Tags:
Created by Administrator on 2006/07/28 08:41

Copyright 2004-2025 XWiki
4.0-milestone-1