Re: [Zope] How: /foo?var=bar equiv to /foo/bar

2000-10-23 Thread ethan mindlace fremen

Heymann William wrote:
> 
> I am trying to get rid of those question marks in my urls since it
> seems to confuse the users but I am not sure really how to do that. I have
> heard that it can but done but so far I have not found out how it can be
> done. I want for the last piece of the url to be assigned to the varialbe
> if a valid object can not by found. I don't really have a problem if this
> involves python coding I just need a place to start.

You're looking for the DirArg product:

http://www.zope.org/Members/itsafire/releases/DirArg

Found in http://www.zope.org/Products/Helpers
-- 
-mindlace-
Zopatista Community Liason

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] How: /foo?var=bar equiv to /foo/bar

2000-10-16 Thread Manuel Amador (Rudd-O)


Question marks are used for GET methods.  I think that if you're
trying to make a form send you to another page without question marks,
you'd have to use POST method in the form.
Heymann William wrote:
I am trying to get rid of those question marks in
my urls since it
seems to confuse the users but I am not sure really how to do that.
I have
heard that it can but done but so far I have not found out how it can
be
done. I want for the last piece of the url to be assigned to the varialbe
if a valid object can not by found. I don't really have a problem if
this
involves python coding I just need a place to start.
Thanks
___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev
)

-- 
Manuel Amador (Rudd-O)
 


Re: [Zope] How: /foo?var=bar equiv to /foo/bar

2000-10-10 Thread Andy McKay

ZSQLMethods does exactly that, have a look at that.
Look at michel's wiki.

- Original Message -
From: "Chris Withers" <[EMAIL PROTECTED]>
To: "Heymann William" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, October 10, 2000 3:56 AM
Subject: Re: [Zope] How: /foo?var=bar equiv to /foo/bar


> Heymann William wrote:
> >
> > I am trying to get rid of those question marks in my urls since it
> > seems to confuse the users but I am not sure really how to do that. I
have
> > heard that it can but done but so far I have not found out how it can be
> > done. I want for the last piece of the url to be assigned to the
varialbe
> > if a valid object can not by found. I don't really have a problem if
this
> > involves python coding I just need a place to start.
>
> Looks at SiteAccess and the traversal interface in the itnerfaces wiki:
> http://www.zope.org/Members/michel/Projects/Interfaces/Traversal
>
> I was going to write a product to do just this, but sadly time is
> lacking :-S
>
> cheers,
>
> Chris
>
> ___
> Zope maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] How: /foo?var=bar equiv to /foo/bar

2000-10-10 Thread Chris Withers

Heymann William wrote:
> 
> I am trying to get rid of those question marks in my urls since it
> seems to confuse the users but I am not sure really how to do that. I have
> heard that it can but done but so far I have not found out how it can be
> done. I want for the last piece of the url to be assigned to the varialbe
> if a valid object can not by found. I don't really have a problem if this
> involves python coding I just need a place to start.

Looks at SiteAccess and the traversal interface in the itnerfaces wiki:
http://www.zope.org/Members/michel/Projects/Interfaces/Traversal

I was going to write a product to do just this, but sadly time is
lacking :-S

cheers,

Chris

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )