Here is a example:
------------------------------------
<%cpp>

std::vector<std::string> names;
qparam.getNames(std::back_inserter(names));

reply.out() << "<table>\n";
for (std::vector<std::string>::iterator n = names.begin(); n != names.end(); 
++n)
{
  std::vector<std::string> values;
  qparam.getValues(*n, std::back_inserter(values));

  for (std::vector<std::string>::iterator v = values.begin(); v != 
values.end(); ++v)
  {
</%cpp>
    <tr>
     <th><$ *n $></th>
     <td><$ *v $></td>
    </tr>
<%cpp>
  }
}

reply.out() << "</table>\n";

</%cpp>
----------------------------------------

I've never needed to access all the parameters. Normally I have a html form 
and I know which values to expect, so I can put them into a <%args>-section. 
But for dojo it may well be different. And as you can see, it is possible.

Tommi

------------------------------------------------------------------------------
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
_______________________________________________
Tntnet-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tntnet-general

Reply via email to