Changeset 16054 for gsdl/trunk
- Timestamp:
- 2008-06-18T15:47:16+12:00 (16 years ago)
- Location:
- gsdl/trunk/src/recpt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/src/recpt/dynamicclassifieraction.cpp
r16053 r16054 168 168 if (args["dcn"] == selected_grouping_node_OID) 169 169 { 170 text_t classifier_node_OID = selected_grouping_node_OID;171 text_t metadata_value_filter = selected_grouping_node_OID + "*";172 output_top_level_node s (classifier_node_OID, metadata_value_filter, classifier_options, args, collectproto, browsers, disp, outconvert, textout, logout);170 text_t classifier_node_OID = args["dcn"]; 171 text_t classifier_node_metadata_value = args["dcn"]; 172 output_top_level_node (classifier_node_OID, classifier_node_metadata_value, classifier_options, args, collectproto, browsers, disp, outconvert, textout, logout); 173 173 } 174 174 else … … 296 296 297 297 298 void dynamicclassifieraction::output_top_level_nodes (text_t classifier_node_OID, text_t metadata_value_filter, 299 text_tmap classifier_options, cgiargsclass &args, 300 recptproto *collectproto, browsermapclass *browsers, 301 displayclass &disp, outconvertclass &outconvert, 302 ostream &textout, ostream &logout) 303 { 304 // Get all the metadata values for the specified element (these become the classifier nodes at the top level) 298 void dynamicclassifieraction::output_top_level_node (text_t classifier_node_OID, 299 text_t classifier_node_metadata_value, 300 text_tmap classifier_options, cgiargsclass &args, 301 recptproto *collectproto, browsermapclass *browsers, 302 displayclass &disp, outconvertclass &outconvert, 303 ostream &textout, ostream &logout) 304 { 305 // Get all the metadata values for the specified element that match the filter 305 306 text_t metadata_element_name = classifier_options["metadata_element_name"]; 307 text_t metadata_value_filter = classifier_node_metadata_value + "*"; 306 308 FilterResponse_t metadata_values_response; 307 309 bool request_success = get_metadata_values (metadata_element_name, metadata_value_filter, "", args["c"], collectproto, metadata_values_response, logout); -
gsdl/trunk/src/recpt/dynamicclassifieraction.h
r16048 r16054 70 70 ostream &textout, ostream &logout); 71 71 72 void output_top_level_nodes (text_t classifier_node_OID, text_t metadata_value_filter, 73 text_tmap classifier_options, cgiargsclass &args, 74 recptproto *collectproto, browsermapclass *browsers, 75 displayclass &disp, outconvertclass &outconvert, 76 ostream &textout, ostream &logout); 72 void output_top_level_node (text_t classifier_node_OID, 73 text_t classifier_node_metadata_value, 74 text_tmap classifier_options, cgiargsclass &args, 75 recptproto *collectproto, browsermapclass *browsers, 76 displayclass &disp, outconvertclass &outconvert, 77 ostream &textout, ostream &logout); 77 78 78 void output_internal_page (text_tmap classifier_options, cgiargsclass &args, 79 void output_internal_node (text_t classifier_node_OID, 80 text_t classifier_node_metadata_value, 81 text_tmap classifier_options, cgiargsclass &args, 79 82 recptproto *collectproto, browsermapclass *browsers, 80 83 displayclass &disp, outconvertclass &outconvert,
Note:
See TracChangeset
for help on using the changeset viewer.