Re: [web2py] Represent - redirect

2012-01-17 Thread Mathias Van Daele
Thanks !! Op 17 januari 2012 00:44 schreef Anthony het volgende: > On Monday, January 16, 2012 4:47:01 PM UTC-5, Mathias Van Daele wrote: >> >> Thanks for answer Johann. >> >> But how can I catch the value of args in the concerned function ? >> > > args from the URL are always in request.args, s

Re: [web2py] Represent - redirect

2012-01-16 Thread Anthony
On Monday, January 16, 2012 4:47:01 PM UTC-5, Mathias Van Daele wrote: > > Thanks for answer Johann. > > But how can I catch the value of args in the concerned function ? > args from the URL are always in request.args, so in the edit_akb_country() function, the id would be in request.args(0). Se

Re: [web2py] Represent - redirect

2012-01-16 Thread Mathias Van Daele
Thanks for answer Johann. But how can I catch the value of args in the concerned function ? Thanks Op 16 januari 2012 13:15 schreef Johann Spies het volgende: > On 15 January 2012 22:49, Mathias Van Daele wrote: > >> Hello, >> >> I have a select crud, with a URL in the column id. >> >> If I c

Re: [web2py] Represent - redirect

2012-01-16 Thread Johann Spies
On 15 January 2012 22:49, Mathias Van Daele wrote: > Hello, > > I have a select crud, with a URL in the column id. > > If I click 'edit', I should be redirected to a page, where I can > update the concerned contact_part record. > (as in a grid) > > What should I put between the URL brackets ? _hr

[web2py] Represent - redirect

2012-01-15 Thread Mathias Van Daele
Hello, I have a select crud, with a URL in the column id. If I click 'edit', I should be redirected to a page, where I can update the concerned contact_part record. (as in a grid) What should I put between the URL brackets ? _href=URL() How do I pass the selected record ? My code : tabl