using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace WebForm.Platform.WorkFlowFormDesigner { /// /// Getsubtable 的摘要说明 /// public class Getsubtable : IHttpHandler { public void ProcessRequest(HttpContext context) { context.Response.ContentType = "text/plain"; string id = context.Request["id"]; Guid gid; if (!id.IsGuid(out gid)) { context.Response.Write(""); return; } var wff = new RoadFlow.Platform.WorkFlowForm().Get(gid); if (wff == null) { context.Response.Write(""); } else { context.Response.Write(wff.SubTableJson); } } public bool IsReusable { get { return false; } } } }