I'm a bit of a noob myself, though you should be able to access your
keywords like so:

kw['action']
kw['state']

I don't know anything about vpath or param.

On 12/14/05, icylamb <[EMAIL PROTECTED]> wrote:
>
>   Hi all,
>   I'm trying to implement a url parser for my own wiki system. Then
> when I came to an url as following:
>   http://localhost:8080/MyWiki/FrontPage?action=view&state=view
>
> my def default(self, *args, **kw): funtion will break this url to:
>
> args[0] -> MyWiki
> args[1] ->FrontPage
>
> however, I don't know how to access each element of **kw but use
> %str(kw) to produce {'action': 'view', 'state': 'view'}. If you know
> how to, please advise.
>
> The main question is that I also found vpath and param are similar to
> args and kw. Can anyone explain to me what the differences between
> them? When and where should we use these pairs accordingly?
>
> Cheers,
>
>


--
[EMAIL PROTECTED]

Reply via email to