El vie, 22-05-2009 a las 17:06 +0200, Ferran Fontcuberta escribió:
> Now i'm trying to do this:
> 
> index.html
> 
> $def with (content)
> <ul>
> $for seccio in menu:
>         <li>$seccio</li>
>         $if len(menu[seccio]) > 2:
>                 <ul>
>                 $for sub in menu[seccio]:
>                         <li><a href="$menu[seccio][sub]">$sub</a></li>
>                 </ul>
> </ul>
> <div>$:content</div>

menu must be content.menu, but still does not work :/


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to