I am trying to get the space name from my custom form for creation of space
Can you provide some more information of what you currently have? Where and what is your custom form? Is it in a plugin, rendered in a macro or what? Is it then trying to create a space?
this is my velocity file
<u><u></u></u>
<html>
<head>
<title>publishing a space</title>
<meta name="decorator" content="atl.admin" />
$webResourceManager.requireResource("com.atlassian.auiplugin:ajs")
</head>
<body>
<form name="myForm" action="com/atlassian/plugins/vanderlande/publishspace/myaction.action" method="GET">
$action.inputText: <input type="text" name="myInput">
<div class="field-group">
<label for="name">Name</label>
<input id="spacename" type="text" name="name" >
</div>
<input type="submit" value="ok" class="text">
<input type="submit" value="cancel" class="button">
</form>
</body>
</html>
this is my ijs file
<font><font><font></font></font></font>
AJS.toInit(
<font><font><font></font>function<font>() {</font></font></font>
var baseUrl = AJS.$("meta[name='application-base-url']").attr("content"<font>);</font>
AJS.$.ajax({
url: baseUrl +
dataType:
success:
AJS.$(
} });
type:
contentType:
data:
processData:
populateForm();});
e.preventDefault();
updateConfig();
});
my form display but i alway get error. rest does not work. so i cann't retrieve data from the form I want to create a space from java and reference the copyspace
it is a plugin
It looks like you're new here. Sign in or register to get started.