Consultor Eletrônico



Kbase P54612: Dyn 2.1A : Custom Super proc are not run / UseThinRendering
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   11/07/2005
Status: Unverified

FACT(s) (Environment):

Dynamics 2.1A
Dynamics 2.1B
OpenEdge 10.0B

SYMPTOM(s):

Class Custom Super procedures are not run

AppServer thin client Session

Run Time session

CAUSE:

A new 'Thin SmartObject Rendering' feature was implemented in 2.1A.
For more information, see Chapter 3.8 'Thin SmartObject Rendering' of the Progress Dynamics?2.1A Performance White Paper available on PSDN.

A new property UseThinRendering was introduced to enable thin rendering.
UseThinRendering defaults to TRUE for DynASClient and Default session types and defaults to FALSE for all other session types.

FIX:

Thin rendering can be turned off for all objects with the UseThinRendering session property (set it to FALSE), or it can be turned off for a class of objects or for individual object masters or object instances with the ThinRenderingProcedure attribute.

Alternatively, to enable the use of custom super procedures in combination with Thin Rendering one can build and compile a new Thin Rendering procedure as explained in the white paper. For example:

/* MyDynSDOThinRenderingProcedure.p (my comment, not in the white paper) */
&GLOBAL-DEFINE ADM-EXCLUDE-PROTOTYPES
/*comment that preprocessor out to let class super procedure come
&GLOBAL-DEFINE ADM-EXCLUDE-STATIC */
&SCOPED-DEFINE exclude-start-super-proc
{adm2/dynsdo.w}