Changeset 2464
- Timestamp:
- 2001-05-23T15:08:42+12:00 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/browseaction.cpp
r2461 r2464 98 98 99 99 bool browseaction::init (ostream &logout){ 100 cerr<<"init"<<endl;101 100 return true; 102 101 } … … 131 130 recptprotolistclass *protos, 132 131 ostream &logout){ 133 //cerr<<"define_internal_macros"<<endl;132 134 133 } 135 134 … … 142 141 143 142 bool browseaction::do_action (cgiargsclass &args, recptprotolistclass *protos, 144 browsermapclass *browsers, displayclass &disp, 145 outconvertclass &outconvert, ostream &textout, 146 ostream &logout){ 147 148 149 textout << outconvert << disp << "_browse:header_\n" <<"_browse:content_" 150 << "_browse:footer_"; 143 browsermapclass *browsers, displayclass &disp, 144 outconvertclass &outconvert, ostream &textout, 145 ostream &logout){ 146 151 147 if(args["c"].empty()) return false; 152 148 else if(get_document_list(args, protos, browsers, disp, outconvert, textout, … … 201 197 text_t bf_string = ""; 202 198 format_browsestring(args["bft"],bf_string,args.getintarg("bt")); 203 }204 205 //check that there is a querystring206 //if(!newqstring.empty()){207 199 200 set_browsefilter_options(request, bf_string, args); 201 202 colproto->filter (collection, request, response, err, logout); 203 if (err != noError) { 204 outconvertclass text_t2ascii; 205 logout << text_t2ascii 206 << "browseaction::get_document_list QueryFilter failed " 207 << "for " << collection << " collection (" 208 << get_comerror_string (err) << ")\n"; 209 return false; 210 }// if (err != noError) 211 212 }// if(!args["bft"].empty()) 213 214 textout << outconvert << disp << "_browse:header_\n" <<"_browse:content_"; 215 216 217 bool use_table = is_table_content (formatptr); 218 br_ptr->output_section_group (response, args, collection, 0, formatptr, 219 use_table, request.fields, request.getParents, 220 colproto, disp, outconvert, textout, logout); 221 222 textout << outconvert << disp << "_browse:footer_"; 223 208 224 209 225
Note:
See TracChangeset
for help on using the changeset viewer.