On Aug 13, 2009, at 8:08 AM, Julio wrote:

> <ul>
>    {{for obra in obras:}}
>        <li><a href="{{=URL(r=request, f='mostrar', argc=[obra.id])}}"
> title="">{{=obra.numero}} {{=obra.nome}}</a></li>
>    {{pass}}
> </ul>
>
> Why do you want to use "HTML Helpers".. well.. in HTML??, please don't
> get me wrong, I am not complaining about your code in particular, but
> in html helpers themselves, IMHO they can potentially create really
> nasty views (and don't get me started on using them in controllers :)

Calling URL() is necessary if you're rewriting with routes.py.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" 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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to