public override NoModalPage set(string pEntityId, string pParentId) { Console.WriteLine("PositionPageClass"); CurPage.goToClasses(); ClassTabPage page = new ClassTabPage(); if (pEntityId.Length > 0) { page.selectClassInTree(pEntityId); } else { page.selectClassInTree(ClassTabPage.C_CLASS_FOLDER_ID); } return(page); }
public override NoModalPage set(string pEntityId, string pParentId) { Console.WriteLine("PositionPageClassAttr"); if (pParentId.Length > 0) { PositionPageClass ClassPos = new PositionPageClass(CurPage); ClassPos.set(pParentId, ""); ClassTabPage page = new ClassTabPage(); page.clkAttrClassTab(); return(page); } else { //throw new Exception("Null value in pParentId"); CurPage.SearchByIdGuid(pEntityId); return(new ClassTabPage()); } }