<%def .subcomp>
% if ($count < 5) {
<& $m->current_comp, count=>$count+1 &>
% } else {
<& support/display_req_obj &>
% }
<%args>
$count
</%args>
</%def>

<% '-' x 60 %>

One level request:
<& support/display_req_obj &>

<% '-' x 60 %>

Many level request:
<& .subcomp, count=>0 &>

<% '-' x 60 %>
