日期:2014-05-16  浏览次数:20386 次

在comm.js中的使用某个function中,增加json格式的传送
<td class="ct">
<a href="javascript:FollowUp(${follow.id},{'info.clientId':${follow.lazyLoader.client.id}}).remove();">删除</a>
<a href="javascript:FollowUp(${follow.id},{'info.clientId':${follow.lazyLoader.client.id}}).edit();">编辑</a>
</td>




<a href="javascript:BillEdit(${bill.id},{'info.contractId':${bill.contractId},'handler':'xxx.handler.BillListener'}).remove();">作废</a>
1 楼 rich8w 2010-07-14  
ActionForward转回到某个路径



ActionMessages msgs = new ActionMessages();
msgs.add("__MSG", new ActionMessage("message.success", "数据删除"));
saveMessages(request.getSession(), msgs);

String dotDoPath = StringUtils.chomp(mapping.getPath(), ".do") + ".do";
return new ActionForward(dotDoPath + "?processCategory=info&info.id="
		+ BeanUtils.getProperty(form, "info.id"), true);
2 楼 rich8w 2010-07-14  
return new ActionForward("", "/b010Info.do?processCategory=info&info.id="
            + client.getId(), true, "/b");