<a href="javascript:void(0)"新增,如何把数据带入后台,通过在新增设置表单提交吗?保存的时候url是怎么调用的呢
data-toggle="topjui-menubutton"
data-options="method:'openDialog',
extend: '#userDg-toolbar',
iconCls: 'fa fa-plus',
btnCls: 'topjui-btn-green',
dialog:{
id:'userAddDialog',
width: 820,
href:'${basePath}/syUser/toUpdateOrAdd',
buttonsGroup:[
{text:'保存',url:'${basePath}/syUser/save',iconCls:'fa fa-plus',handler:'ajaxForm',btnCls:'topjui-btn-green'}
]
}">新增</a>
表单类似如下
<input type="hidden" id="uuid" name="uuid">
<table class="editTable">
<thead>
<tr>
<td colspan="4">
<div class="divider">
<span>基本信息</span>
</div>
</td>
</tr>
<tr>
<th class="label" width="12%">员工编号</th>
<td width="38%">
<input type="text" name="sysUser.account" data-toggle="topjui-textbox"
data-options="required:true,width:200">
</td>
<th class="label" width="12%">姓名</th>
<td width="38%">
<input type="text" name="sysUser.USER_NAME" data-toggle="topjui-textbox"
data-options="required:true,width:200">
</td>
</tr>
</thead>
</table>