i have created dailogbox using restendpoint and fragment . i want to update selected value of Dailog'sBox cascade list (Servicedeskteam) on view issue screen after click on submit button .
how can i do that .?
here is my code,
testeasybi() { MultivaluedMap queryParams ->
def cfm = ComponentAccessor.getCustomFieldManager()
def cfServiceDeskTeam = cfm.getCustomFieldObjectByName("ServiceDeskTeam")
def dialog =
"""<section role="dialog" id="sr-dialog" class="aui-layer aui-dialog2 aui-dialog2-medium" aria-hidden="true" data-aui-remove-on-hide="true">
<header class="aui-dialog2-header">
<h2 class="aui-dialog2-header-main">Show Test Dailog</h2>
<a class="aui-dialog2-header-close">
<span class="aui-icon aui-icon-small aui-iconfont-close-dialog">Close</span>
</a>
</header>
<div class="aui-dialog2-content">
<form id="cloneCubesForm" class="aui">
<div class="field-group">
<label for="accountNames">Account Names <span class="aui-icon icon-required"></span></label>
<input class="text medium-field" type="text"id="accountNames" name="accountNames" placeholder="Cubo 1, Cubo 2...">
</div>
<div class="field-group">
<label for="projectKeys">Project Keys <span class="aui-icon icon-required"></span></label>
<input class="text medium-field" type="text"id="projectKeys" name="projectKeys" placeholder="JESC, JEBACK....">
</div>
<div class="field-group">
<label for="model">ServiceDeskTeam <span class="aui-icon icon-required"></span></label>
<select class="select" id="model" name="model">
<option value="Geos">GEOS</option>
<option value="IT">IT</option>
<option value="Analytics">Analytics</option>
<option value="EDS">EDS</option>
<option value="Others">Others</option>
</select>
</div>
<div class="buttons-container">
<div class="buttons">
<input class="button submit"onclick="submit()" type="submit" value="submit" id="submit">
</div>
</div>
</form>
</div>
<footer class="aui-dialog2-footer">
<div class="aui-dialog2-footer-hint"></div>
</footer>
</section>
<script>
function submit() {
}
</script>
"""
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.