Re: [web2py] using URL() inside a component view

2010-08-10 Thread Jonathan Lundell
On Aug 10, 2010, at 7:59 PM, Bruno Rocha wrote: > I thought your explanation is very well written, > we need always maintain the practice of looking for something relevant to be > documented when a new thread emerges, and document as quickly as possible, so > soon web2py will be the framework w

Re: [web2py] using URL() inside a component view

2010-08-10 Thread Bruno Rocha
I thought your explanation is very well written, we need always maintain the practice of looking for something relevant to be documented when a new thread emerges, and document as quickly as possible, so soon web2py will be the framework with the best online documentation (if not already) Massimo,

Re: [web2py] using URL() inside a component view

2010-08-10 Thread Jonathan Lundell
On Aug 10, 2010, at 7:37 PM, Bruno Rocha wrote: > Thank you agains 4 the explanation, > > now, this should be documented anywhere, as this is not on the book ( > http://web2py.com/book/default/search?search=extension ) also not in AlterEgo > ( http://www.web2py.com/AlterEgo/default/search?searc

Re: [web2py] using URL() inside a component view

2010-08-10 Thread Bruno Rocha
Thank you agains 4 the explanation, now, this should be documented anywhere, as this is not on the book ( http://web2py.com/book/default/search?search=extension ) also not in AlterEgo ( http://www.web2py.com/AlterEgo/default/search?search=extension ) 2010/8/10 Jonathan Lundell > On Aug 10, 20

Re: [web2py] using URL() inside a component view

2010-08-10 Thread Jonathan Lundell
On Aug 10, 2010, at 7:11 PM, Bruno Rocha wrote: > "extension=False" is new to me, Thats not covered by the Book > > I found and reported that before : > http://groups.google.com/group/web2py/browse_thread/thread/99c2f5b8db562fba/8b82a682dff3fc58?lnk=gst&q=URL+changed#8b82a682dff3fc58 > It's a

Re: [web2py] using URL() inside a component view

2010-08-10 Thread Bruno Rocha
"extension=False" is new to me, Thats not covered by the Book I found and reported that before : http://groups.google.com/group/web2py/browse_thread/thread/99c2f5b8db562fba/8b82a682dff3fc58?lnk=gst&q=URL+changed#8b82a682dff3fc58 Tks Jonathan 2010/8/10 Jonathan Lundell > On Aug 10, 2010, at 5:4

Re: [web2py] using URL() inside a component view

2010-08-10 Thread Jonathan Lundell
On Aug 10, 2010, at 5:48 PM, Miguel Lopes wrote: > I'm pretty sure this as been asked, but I can't find it anywhere. > > I would like to use the URL function to construct a link inside a component > view (i.e. views/components/view_x.load). This would be a link to a > completely new page, to be

Re: [web2py] using URL() inside a component view

2010-08-10 Thread Miguel Lopes
Txs! I see the inclusion of request.application makes the URL being rendered with a .load extension or not. This seems a bit strange. I wonder if the solution will be stable! Miguel On Wed, Aug 11, 2010 at 2:03 AM, Bruno Rocha wrote: > I Solved using this way: > > URL(request.application,'defau

Re: [web2py] using URL() inside a component view

2010-08-10 Thread Bruno Rocha
I Solved using this way: URL(request.application,'default','view_detail',args=[rec.contact.id]) .load is not appended to the link. 2010/8/10 Miguel Lopes > I'm pretty sure this as been asked, but I can't find it anywhere. > > I would like to use the URL function to construct a link inside > a

[web2py] using URL() inside a component view

2010-08-10 Thread Miguel Lopes
I'm pretty sure this as been asked, but I can't find it anywhere. I would like to use the URL function to construct a link inside a component view (i.e. views/components/view_x.load). This would be a link to a completely new page, to be loaded in the browser and not in the component div. However,