its expected if you don't pass the request argument (as the URL() was 
originally written).
basically, URL() "behaves" with a,c,f consistently only if you pass 
r=request, else, a c and f are just "positional", and missing pieces are 
set on current request.


On Friday, March 28, 2014 5:15:59 PM UTC+1, villas wrote:
>
> @Massimo,  Regarding
>
>> *>>> URL(a='a')*
>> *'/APPNAME/a'*
>>
> *>>> URL(a='a',c='c')*
>> *'/APPNAME/a/c'*
>>
>
> ... may be 'unspecified',  but it is still unexpected and confusing.  In 
> the latter case,  the 'a' becomes the controller and the 'c' the function.
>
> @Jonathan,  Re: external urls.  I see,  thanks.
>

-- 
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