public void ajax_rspStartCmp(String CmpId)
 {
     if (isJsOutputEnabled)
     {
         try
         {
             WebComponents.Put(CmpId, "");
         }
         catch (JsonException)
         {
         }
     }
     context.CmpDrawLvl++;
     cmpContents.Push(new GXCmpContent(CmpId));
 }
Пример #2
0
 public void ajax_rspStartCmp(String CmpId)
 {
     if (isJsOutputEnabled)
     {
         try
         {
             WebComponents.Put(CmpId, "");
         }
         catch (Exception ex)
         {
             GXLogging.Error(log, "ajax_rspStartCmp error", ex);
         }
     }
     context.CmpDrawLvl++;
     cmpContents.Push(new GXCmpContent(CmpId));
 }
 public void ajax_rspEndCmp()
 {
     context.CmpDrawLvl--;
     try
     {
         GXCmpContent cmp = (GXCmpContent)cmpContents.Pop();
         WebComponents.Put(cmp.Id, cmp.Content);
         if (context.isSpaRequest())
         {
             if (context.CmpDrawLvl > 0)
             {
                 ((GXCmpContent)cmpContents.Peek()).Content += cmp.Content;
             }
         }
     }
     catch (JsonException)
     {
     }
 }
Пример #4
0
 public void ajax_rspEndCmp()
 {
     context.CmpDrawLvl--;
     try
     {
         GXCmpContent cmp = (GXCmpContent)cmpContents.Pop();
         WebComponents.Put(cmp.Id, cmp.Content);
         if (context.isSpaRequest())
         {
             if (context.CmpDrawLvl > 0)
             {
                 ((GXCmpContent)cmpContents.Peek()).Content += cmp.Content;
             }
         }
     }
     catch (Exception ex)
     {
         GXLogging.Error(log, "ajax_rspEndCmp error", ex);
     }
 }