Beispiel #1
0
 protected void STRUP010( )
 {
     /* Before Start, stand alone formulas. */
     context.Gx_err = 0;
     /* Execute Start event if defined. */
     context.wbGlbDoneStart = 0;
     /* Execute user event: E11012 */
     E11012();
     context.wbGlbDoneStart = 1;
     /* After Start, stand alone formulas. */
     if (StringUtil.StrCmp(context.GetRequestMethod( ), "POST") == 0)
     {
         /* Read saved SDTs. */
         /* Read variables values. */
         /* Read saved values. */
         OldWcrecentlinks = cgiGet("MPW0035");
         if (String.IsNullOrEmpty(StringUtil.RTrim(WebComp_Wcrecentlinks_Component)) && !String.IsNullOrEmpty(StringUtil.RTrim(OldWcrecentlinks)))
         {
             WebComp_Wcrecentlinks = getWebComponent(GetType(), "GeneXus.Programs", OldWcrecentlinks, new Object[] { context });
             WebComp_Wcrecentlinks.ComponentInit();
             WebComp_Wcrecentlinks.Name      = "OldWcrecentlinks";
             WebComp_Wcrecentlinks_Component = OldWcrecentlinks;
             WebComp_Wcrecentlinks.componentrestorestate("MPW0035", "");
         }
         /* Read subfile selected row values. */
         /* Read hidden variables. */
     }
     else
     {
         dynload_actions( );
     }
 }
Beispiel #2
0
 protected void START012( )
 {
     wbLoad              = false;
     wbEnd               = 0;
     wbStart             = 0;
     context.wjLoc       = "";
     context.nUserReturn = 0;
     context.wbHandled   = 0;
     if (StringUtil.StrCmp(context.GetRequestMethod( ), "POST") == 0)
     {
         OldWcrecentlinks = cgiGet("MPW0035");
         if (String.IsNullOrEmpty(StringUtil.RTrim(WebComp_Wcrecentlinks_Component)) && !String.IsNullOrEmpty(StringUtil.RTrim(OldWcrecentlinks)))
         {
             WebComp_Wcrecentlinks = getWebComponent(GetType(), "GeneXus.Programs", OldWcrecentlinks, new Object[] { context });
             WebComp_Wcrecentlinks.ComponentInit();
             WebComp_Wcrecentlinks.Name      = "OldWcrecentlinks";
             WebComp_Wcrecentlinks_Component = OldWcrecentlinks;
             WebComp_Wcrecentlinks.componentrestorestate("MPW0035", "");
         }
     }
     wbErr = false;
     STRUP010( );
     if (String.IsNullOrEmpty(StringUtil.RTrim(context.wjLoc)) && (context.nUserReturn != 1))
     {
         if (getDataAreaObject().ExecuteStartEvent() != 0)
         {
             setAjaxCallMode();
         }
     }
 }