This was a bad idea and it does not work with recent web2py. Should be

URL('default','index')==URL()

Is basically check  whether /app/default/index is the current
requested path.

On Apr 15, 8:07 pm, 黄祥 <[email protected]> wrote:
> hi,
>
> pardon me, i want to ask what's the meaning of this :
> URL('default','index').xml()==URL().xml()
>
> here's the complete code:
>
> response.menu = [
>
> (T('Index'),URL('default','index').xml()==URL().xml(),URL('default','index' ),
> []),
> ]
>
> i mean it is convert the url into xml format page?
>
> thanks and best regards,
>
> steve van christie

Reply via email to