Do I understand correctly? When you submit a new db.whoelse. you want
to be redirected to a page in the list that shows it.
But messages are timestamped. When you submit a new now don't you get
redirected to page 1 which shows the last message?

Perhaps I do not understand what you mean.

Massimo





On May 26, 11:28 pm, NoNoNo <[email protected]> wrote:
> Hi Massimo,
>
> Thanks for the reply. I tried your codes and the Previous and Next
> works well, however the self-submitting form is still not functioning.
> Input any page number and submit, still on the current page.
> I'm not sure about the mechanism how the progrom respond to a form
> submission, because you mentioned actions are not needed. Now the case
> is, there is no response. Which part of code is supposed to receive
> and process the submitted content?  I also tried to move input form
> clause from VIEW to CONTROLLER to see if it would work, and it didn't.
>
> BTW, for this line:> 
> messages=db(db.whoelse.id>0).select(orderby=~db.whoelse.created_on,limitby=­limitby)
>
> an error was raise saying 'invalid sytax' which pionts to 'l' after
> '='. After inserting a space inbetween, it's ok.

Reply via email to