Thanks a lot Anthony. Now it works.
Il giorno giovedì 31 ottobre 2013 00:12:43 UTC+1, Anthony ha scritto:
>
>
> {{for company_image in company_images.select():}}
>>
>
> You've already done a select, so don't call .select() again.
>
>
>> {{for company_image in company_images:}}
>> <li>{{=A(IMG(_src=URL('download',
>> args=company_image.image_file_s)), _href=URL('download',
>> args=company_image.image_file))}}>
>> <span class="ppy-extcaption">
>> <strong>{{=(company_image.title_it)}}</strong>
>>
>
> When you do a join, you can't just reference the field name -- you have to
> reference the table name and the field name. So, for example,
> company_image.image_file_s should be company_image.images.image_file_s.
>
> Anthony
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.