[Zope] default values in forms

2000-12-13 Thread Olaf Zanger

hi there,

i'd like to send default values for an data update with the link to the
form

like
c

unfortunately name may contain spaces.

i found out that spaces may be replaced by "+" in the link, 
but how do i get the "+" into the  statement?

thanks for help

olaf


-- 
soli-con Engineering Zanger
Dipl.-Ing. (FH) Olaf Zanger Nusch
Lorrainestrasse 23
3013 Bern / Switzerland
Fon: +41-31-332 9782
Mob: +41-76-572 9782
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
http://www.soli-con.com

begin:vcard 
n:Zanger;Olaf Marc
tel;cell:+41-76-572 9782
tel;work:+41-31-332 9782
x-mozilla-html:FALSE
url:www.soli-con.com
org:soli-con Engineering Zanger
adr:;;Lorrainestrasse 23;Bern;BE;3013;Switzerland
version:2.1
email;internet:[EMAIL PROTECTED]
title:Dipl.-Ing.
note;quoted-printable:IT-Consulting=0D=0AEmbedded Systems=0D=0AEnergy Systems=0D=0AOpen Source Solutions=0D=0A
x-mozilla-cpt:;-32176
fn:Olaf Zanger
end:vcard



Re: [Zope] default values in forms

2000-12-13 Thread Andy McKay

An ugly solution is &f_name=">c

Be careful that other none url compliant characters dont slip into your
variables.

--
  Andy McKay, Developer.
  ActiveState.

- Original Message -
From: "Olaf Zanger" <[EMAIL PROTECTED]>
To: "Zope Mailinglist" <[EMAIL PROTECTED]>
Sent: Wednesday, December 13, 2000 6:55 AM
Subject: [Zope] default values in forms


> hi there,
>
> i'd like to send default values for an data update with the link to the
> form
>
> like
> c
>
> unfortunately name may contain spaces.
>
> i found out that spaces may be replaced by "+" in the link,
> but how do i get the "+" into the  statement?
>
> thanks for help
>
> olaf
>
>
> --
> soli-con Engineering Zanger
> Dipl.-Ing. (FH) Olaf Zanger Nusch
> Lorrainestrasse 23
> 3013 Bern / Switzerland
> Fon: +41-31-332 9782
> Mob: +41-76-572 9782
> mailto:[EMAIL PROTECTED]
> mailto:[EMAIL PROTECTED]
> http://www.soli-con.com


___
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] default values in forms

2000-12-13 Thread Stefan H. Holek

On Wed, 13 Dec 2000, Olaf Zanger wrote:

> i found out that spaces may be replaced by "+" in the link, 
> but how do i get the "+" into the  statement?

what you want is 

see the DTML guide:
http://www.zope.org/Documentation/Guides/DTML-HTML/DTML.5.html

HTH
Stefan


___
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] default values in forms

2000-12-13 Thread Andy McKay

Oops forgot about that. Yep use that. That's it I'll stop answering
questions until at least 3 cups of tea in the morning.

--
  Andy McKay, Developer.
  ActiveState.

- Original Message -
From: "Stefan H. Holek" <[EMAIL PROTECTED]>
To: "Olaf Zanger" <[EMAIL PROTECTED]>
Cc: "Zope Mailinglist" <[EMAIL PROTECTED]>
Sent: Wednesday, December 13, 2000 9:04 AM
Subject: Re: [Zope] default values in forms


> On Wed, 13 Dec 2000, Olaf Zanger wrote:
>
> > i found out that spaces may be replaced by "+" in the link,
> > but how do i get the "+" into the  statement?
>
> what you want is 
>
> see the DTML guide:
> http://www.zope.org/Documentation/Guides/DTML-HTML/DTML.5.html
>
> HTH
> Stefan
>
>
> ___
> 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] default values in forms

2000-12-13 Thread Ivan Cornell

Olaf Zanger wrote:

> hi there,
>
> i'd like to send default values for an data update with the link to the
> form
>
> like
> c
>
> unfortunately name may contain spaces.
>
> i found out that spaces may be replaced by "+" in the link,
> but how do i get the "+" into the  statement?
>

Try
c

Ivan


___
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] default values in forms

2000-12-13 Thread peter bengtson



> i found out that spaces may be replaced by "+" in the link,
> but how do i get the "+" into the  statement?
>


Can't honestly remember where the word "plus" is supposed to be, but search
the DTML Reference documentation.

> thanks for help
>
> olaf
>
>
> --
> soli-con Engineering Zanger
> Dipl.-Ing. (FH) Olaf Zanger Nusch
> Lorrainestrasse 23
> 3013 Bern / Switzerland
> Fon: +41-31-332 9782
> Mob: +41-76-572 9782
> mailto:[EMAIL PROTECTED]
> mailto:[EMAIL PROTECTED]
> http://www.soli-con.com


___
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] default values in forms

2000-12-14 Thread Curtis Maloney

On Thursday 14 December 2000 04:52, Ivan Cornell wrote:
> Olaf Zanger wrote:
> > hi there,
> >
> > i'd like to send default values for an data update with the link to the
> > form
> >
> > like
> > c
> >
> > unfortunately name may contain spaces.
> >
> > i found out that spaces may be replaced by "+" in the link,
> > but how do i get the "+" into the  statement?
>
> Try
> c
>

I don't know about you, but this looks messy  Yes, It will work, but...


c

at least, to me, is a fair bit clearer  However, the url_quote might not 
like & or ?... but I'm sure this is working in one of my sites currently.

> Ivan

Curtis.

___
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] default values in forms

2000-12-15 Thread Dieter Maurer

Curtis Maloney writes:
 >  fmt=url_quote>c
Be careful:

  In general, the part after "?" must be quoted differently
  from the part before.
  After "?", a blank must be coded as '+',
  before "?", is must be unchanged.

Quoting with '+' conversion is done by "url_quote_plus".


Dieter

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