pardon me, i just follow the example that was written on the book:
http://web2py.com/book/default/chapter/03
and it works fine, but i want to make it simple, i mean create
__view(parameters), __feed(parameters), __result(parameters), and then the
other function call it and pass the arguments.
<http://web2py.com/book/default/chapter/03>i've already read the whole book,
because i'm a newbie, a lot of things that i don't understand, so i start to
test what was written on the book, any suggestion?

thank you so much

steve van christie

On Sun, Apr 10, 2011 at 11:19 AM, pbreit <[email protected]> wrote:

> That code has *lots* of problems.
>
> First, there's no db() call so you're not going to have any rows.
>
> You don't do the "onkeyup" like that. You need to do it in the view as
> shown in the book:
> http://web2py.com/book/default/chapter/10#The-ajax-Function
>
> You're going to have a problem if "len(request.args)" is True since if
> that's the case, page and items_per_page will not exist.
>
> I very strongly encourage you to start at the beginning of the book and
> work you're way through it. Don't even look at chapters 9-13 until you have
> mastered 1-8.
>
> And when you post problems here, go ahead and copy paste the exact error
> message you are receiving.
>

Reply via email to