/*
               File: XpoWCNoticiasResenhaUltimas
        Description: Notícias - Últimas
             Author: GeneXus C# Generator version 9_0_7-910
       Generated on: 6/7/2011 18:50:48.77
       Program type: Callable routine
          Main DBMS: sqlserver
*/
{gxsetDateFormat( "DMY" );
gxsetTimeFormat( 24 );
gxsetFirstYearCentury( 40 );
this.gxDecPoint =  "," ;
this.gxThSep =  "." ;}
 bGXAutoskip = false;
this.hxpowcnoticiasresenhaultimasSetStandaloneVars=function()
{
   A189XpoNot = GXgetIntegerValue("XPONOTICIAXPOCATEGORIACODIGO")
   A737XpoCat = GXgetIntegerValue("XPOCATEGORIAXPOUSUARIONIVEL")
}
this.hxpowcnoticiasresenhaultimasStandaloneModal=function()
{
   if ( AnyError == 0 && ( A64XpoNoti != gxOldKey("A64XpoNotiA1273XpoTo") || A65XpoNoti != gxOldKey("A65XpoNotiA1273XpoTo") || A187XpoNot != gxOldKey("A187XpoNotA1273XpoTo") ) )
   {
      gxajaxloadCrl('gxLoad_7',new Array("A64XpoNoti","A65XpoNoti","A187XpoNot"),new Array("A1273XpoTo","A385XpoTop"));
      if ( GXLastAjaxSt == 101 )
      {
         gxballoon.setError(gxFormat("Não existe %1", "Tópico"));
         AnyError = 1 ;
         gxUnsetSetKey("A64XpoNotiA1273XpoTo");
         gxUnsetSetKey("A65XpoNotiA1273XpoTo");
         gxUnsetSetKey("A187XpoNotA1273XpoTo");
      }
      else
      {
         gxSetKey("A64XpoNotiA1273XpoTo","A64XpoNoti");
         gxSetKey("A65XpoNotiA1273XpoTo","A65XpoNoti");
         gxSetKey("A187XpoNotA1273XpoTo","A187XpoNot");
      }
   }
   if ( AnyError == 0 && ( A64XpoNoti != gxOldKey("A64XpoNotiA737XpoCat") || A65XpoNoti != gxOldKey("A65XpoNotiA737XpoCat") || A187XpoNot != gxOldKey("A187XpoNotA737XpoCat") || A189XpoNot != gxOldKey("A189XpoNotA737XpoCat") ) )
   {
      gxajaxloadCrl('gxLoad_8',new Array("A64XpoNoti","A65XpoNoti","A187XpoNot","A189XpoNot"),new Array("A737XpoCat"));
      if ( GXLastAjaxSt == 101 )
      {
         gxballoon.setError(gxFormat("Não existe %1", "Categoria"));
         AnyError = 1 ;
         gxUnsetSetKey("A64XpoNotiA737XpoCat");
         gxUnsetSetKey("A65XpoNotiA737XpoCat");
         gxUnsetSetKey("A187XpoNotA737XpoCat");
         gxUnsetSetKey("A189XpoNotA737XpoCat");
      }
      else
      {
         gxSetKey("A64XpoNotiA737XpoCat","A64XpoNoti");
         gxSetKey("A65XpoNotiA737XpoCat","A65XpoNoti");
         gxSetKey("A187XpoNotA737XpoCat","A187XpoNot");
         gxSetKey("A189XpoNotA737XpoCat","A189XpoNot");
      }
   }
}
this.hxpowcnoticiasresenhaultimasxpowcnoticiasresenhaultimas=function()
{
}
this.hxpowcnoticiasresenhaultimasinit=function()
{
}
hxpowcnoticiasresenhaultimasGXValidFnc = new Array();

