[Templates] reiterating thru hashes of hashes: How? template side

JustSome person justsomename2002@yahoo.com
Mon, 18 Nov 2002 23:13:39 -0800 (PST)


hey all,

how would i reiterate thru this hash...I'm going off
memory, so my syntax will be off.

a_group => {
     '1'=>{
           '0'=>"";
           '1'=>"";
           '2'=>"";
           '3'=>"";
       }
     '2'=>{
           '4'=>"";
       }
     '3'=>{
           '6'=>"";
           '7'=>"";
       }
}

I did something like this, and I can get the 1,2,3..of
the main hash, just not the sub hashes..I just get a
ARRAY..goobly gop....

[% FOREACH u=a_group %]
    [% FOREACH y=u.keys %]
         [% y %]
    // I've tried y.key or y.value..too,,and no luck
    [% END %]
[% END %]

I don't get anything for 'y'.....why? How do I get the
0,1,2,3 of 1 ..and the 4 of 2??

thanks,
Max

__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com