Changeset 16112
- Timestamp:
- 2008-06-24T10:28:55+12:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/src/recpt/dynamicclassifieraction.cpp
r16108 r16112 296 296 } 297 297 298 // Add the necessary metadata to the grouping nodes 298 299 text_t selected_grouping_node_OID = ""; 299 300 ResultDocInfo_tarray::iterator grouping_node_iterator = grouping_nodes_response.docInfo.begin(); … … 314 315 } 315 316 316 // Get the format statement for this classifier if there is one, or use the browser's default otherwise317 text_t formatstring;318 text_t classifier_type = "HList";319 browserclass *bptr = browsers->getbrowser (classifier_type);320 ColInfoResponse_t *cinfo = recpt->get_collectinfo_ptr (collectproto, args["c"], logout);321 if (!get_formatstring (args["dcl"], classifier_type, cinfo->format, formatstring))322 {323 formatstring = bptr->get_default_formatstring();324 }325 format_t *formatlistptr = new format_t();326 text_tset metadata;327 bool getParents = false;328 parse_formatstring (formatstring, formatlistptr, metadata, getParents);329 bool use_table = is_table_content (formatlistptr);330 331 317 // Display the grouping nodes 332 bptr->output_section_group (grouping_nodes_response, args, args["c"], 0, formatlistptr, use_table, metadata, getParents, collectproto, disp, outconvert, textout, logout);318 display_classifier_nodes (grouping_nodes_response, "HList", 0, args, collectproto, browsers, disp, outconvert, textout, logout); 333 319 334 320 return selected_grouping_node_OID; … … 423 409 } 424 410 425 // Displaythe child classifier nodes411 // Add the necessary metadata to the child classifier nodes 426 412 FilterResponse_t child_classifier_nodes_response; 427 413 map<text_t, int, lttext_t>::iterator child_classifier_nodes_iterator = child_classifier_nodes.begin(); … … 445 431 } 446 432 433 // Display the child classifier nodes 447 434 display_classifier_nodes (child_classifier_nodes_response, "VList", classifier_node_indent, args, collectproto, browsers, disp, outconvert, textout, logout); 448 435 }
Note:
See TracChangeset
for help on using the changeset viewer.