Ignore:
Timestamp:
08/16/14 08:10:21 (5 years ago)
Author:
jls17
Message:
  • resolving open-window-schema actions was done twice (1st; while documenting the action itself and 2nd; during schema documentation to show open-window-actions) and not in the same way, which did lead to divergent results; now a ref-item is created during action-documentation and the schema-documentation does just look for/list the ref-items. As a result open-window actions using $SCHEMA$ (with sample data) on multiple attached forms do create a reference on every attached form.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/work_311/doc/actions/DocOpenWindowAction.cpp

    r606 r607  
    135135                LookupFormContext openWindowContext(context, openWindowSchemaName); 
    136136                CARSchema openWindowSchema(openWindowContext.getLookupSchemaId()); 
     137 
     138                // add a used-as-open-window-schema reference to the detected schema 
     139                CRefItem openWindowSchemaRef(context, REFM_OPENWINDOW_FORM); 
     140                if (!openWindowSchema.ReferenceExists(openWindowSchemaRef)) 
     141                        openWindowSchema.AddReference(openWindowSchemaRef); 
    137142 
    138143                strm << "<br/>View Name: "; 
Note: See TracChangeset for help on using the changeset viewer.