Cheers Anthony

Worked a treat...

Thanks everyone for the help...

On Friday, 25 April 2014 03:12:00 UTC+10, Anthony wrote:
>
> {{extend 'layout.html'}}
>> {{=form}}
>> {{pass}}
>> {{block right_sidebar}}
>> {{=LOAD('default','note.load',ajax=True)}}
>> {{end}}
>>
>>
> Just do:
>
> {{=LOAD('default', 'note.load', vars=dict(id=request.vars.id), ajax=True
> )}}
>
> And in the note() function:
>
> def note():
>     notes = db(db.notes.business == request.vars.id).select()
>
> Also, avoid using "current" as a variable name, as there is a web2py 
> global object called "current".
>
> 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/d/optout.

Reply via email to