Ignore:
Timestamp:
02/13/14 16:38:34 (6 years ago)
Author:
jls17
Message:
  • changed some of the still existent calls to CARInside::GetSchemaInsideId? and replaced them by lookups via CARSchema
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/work_304/doc/DocCharMenuDetails.cpp

    r307 r405  
    359359 
    360360                        const ARCharMenuQueryStruct& menu = this->menu.GetDefinition().u.menuQuery; 
     361                        CARSchema querySchema(menu.schema); 
     362 
    361363                        strm << "Server: " << this->pInside->LinkToServerInfo(menu.server, rootLevel) << "<br/>" << endl; 
    362                         strm << "Schema: " << this->pInside->LinkToSchema(menu.schema, rootLevel) << "<br/>" << endl;    
     364                        strm << "Schema: " << this->pInside->LinkToSchema(querySchema.GetInsideId(), rootLevel) << "<br/>" << endl;      
    363365 
    364366                        //Label Fields 
     
    371373 
    372374                                        CRefItem refItem(this->menu, REFM_CHARMENU_LABELFIELD); 
    373                                         pInside->AddFieldReference(pInside->SchemaGetInsideId(menu.schema), menu.labelField[i], refItem); 
     375                                        pInside->AddFieldReference(querySchema.GetInsideId(), menu.labelField[i], refItem); 
    374376                                } 
    375377                        } 
     
    383385 
    384386                        //Value Field 
    385                         strm << "Value Field: " << this->pInside->LinkToField(menu.schema, menu.valueField, rootLevel) << "<br/>"; 
     387                        strm << "Value Field: " << this->pInside->LinkToField(querySchema.GetInsideId(), menu.valueField, rootLevel) << "<br/>"; 
    386388                        CRefItem refItemValue(this->menu, REFM_CHARMENU_VALUE); 
    387                         pInside->AddFieldReference(pInside->SchemaGetInsideId(menu.schema), menu.valueField, refItemValue); 
     389                        pInside->AddFieldReference(querySchema.GetInsideId(), menu.valueField, refItemValue); 
    388390 
    389391                        //Query 
     
    394396 
    395397                        CARQualification arQual(*this->pInside); 
    396                         int pFormId = this->pInside->SchemaGetInsideId(menu.schema); 
    397                         int sFormId = this->pInside->SchemaGetInsideId(menu.schema); 
    398398                        arQual.arsStructItemType = AR_STRUCT_ITEM_XML_CHAR_MENU; 
    399  
    400                         arQual.CheckQuery(&menu.qualifier, refItemQuery, 0, schema.GetInsideId(), sFormId, strmQuery, rootLevel); 
     399                        arQual.CheckQuery(&menu.qualifier, refItemQuery, 0, schema.GetInsideId(), querySchema.GetInsideId(), strmQuery, rootLevel); 
    401400 
    402401                        if(strmQuery.str().length() > 0) 
Note: See TracChangeset for help on using the changeset viewer.