I took this code from the example you posted (that comes from one I
posted). If you need to customize this you can return the items in a
dict
return dict(items=items)
and create a view default/bg_find.html where you are explicit about
the presentation.
Massimo
On Aug 28, 10:14 am, Jose <[email protected]> wrote:
> On 28 ago, 14:06, mdipierro <[email protected]> wrote:
>
> > If bg_find returns
>
> > return UL(*items).xml()
>
> > this is not rendered by a view because it is not a dictionary. If an
> > action retrurns a string, as in this case, there is no view.
>
> It works well, but this way aspects related to the presentation (or
> view) is to be performed on the controller.
> I was trying to DIV (), these get more or less the result, but
> finished loading and dirtying the controller.
>
> Jose
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---