[Zope] Putting a variable in a redirect call

2001-01-17 Thread Yvonne Totty



All,

I 
need to replace the URL below to a partial dtml-var and and an address, 
like so:

dtml-call 
"RESPONSE.redirect('https://www.mysite.com/scripts/zope.pcgi/Anywhere/COMTemp/'+LUserOut+'.doc')"
to:
dtml-call "RESPONSE.redirect('dtml-var 
baserefW/COMTemp...blah, blah)"

where baserefW contains the information replaced in the 
second sentence to make the address
easily changeable site-wide.

How 
can I acheive this?
TIA,

-y
~~~Yvonne TottyDatabase Engineer, x2198-Maximus: What we do in life, echoes in 
eternity. -- Gladiator



Re: [Zope] Putting a variable in a redirect call

2001-01-17 Thread Andy McKay

Please dont post in html BTW.
--
  Andy McKay.


- Original Message -
From: "Yvonne Totty" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 17, 2001 3:11 PM
Subject: [Zope] Putting a variable in a redirect call


 All,

 I need to replace the URL below to a partial dtml-var and and an
address, like so:

 dtml-call

"RESPONSE.redirect('https://www.mysite.com/scripts/zope.pcgi/Anywhere/COMTem
p/'+LUserOut+'
 .doc')"
 to:
 dtml-call "RESPONSE.redirect('dtml-var baserefW/COMTemp...blah, blah)"

 where baserefW contains the information replaced in the second sentence to
make the
 address
 easily changeable site-wide.

 How can I acheive this?
 TIA,

 -y
 ~~~
 Yvonne Totty
 Database Engineer, x2198
 -
 Maximus: What we do in life, echoes in eternity.
 -- Gladiator






___
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] Putting a variable in a redirect call

2001-01-17 Thread Andy McKay

Exactly as per your first example:

dtml-call "RESPONSE.redirect(baserefW + '/COMTemp')"
--
  Andy McKay.


- Original Message -
From: "Yvonne Totty" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 17, 2001 3:11 PM
Subject: [Zope] Putting a variable in a redirect call


 All,

 I need to replace the URL below to a partial dtml-var and and an
address, like so:

 dtml-call

"RESPONSE.redirect('https://www.mysite.com/scripts/zope.pcgi/Anywhere/COMTem
p/'+LUserOut+'
 .doc')"
 to:
 dtml-call "RESPONSE.redirect('dtml-var baserefW/COMTemp...blah, blah)"

 where baserefW contains the information replaced in the second sentence to
make the
 address
 easily changeable site-wide.

 How can I acheive this?
 TIA,

 -y
 ~~~
 Yvonne Totty
 Database Engineer, x2198
 -
 Maximus: What we do in life, echoes in eternity.
 -- Gladiator






___
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] Putting a variable in a redirect call

2001-01-17 Thread Yvonne Totty

Gosh darn it, it didn't work 8(

~~~
Yvonne Totty
Database Engineer, x2198
-
Maximus: What we do in life, echoes in eternity.
-- Gladiator

 
 Exactly as per your first example:
 
 dtml-call "RESPONSE.redirect(baserefW + '/COMTemp')"
 --
   Andy McKay.
 
 
 - Original Message -
 From: "Yvonne Totty" [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, January 17, 2001 3:11 PM
 Subject: [Zope] Putting a variable in a redirect call
 
 
  All,
 
  I need to replace the URL below to a partial dtml-var and and an
 address, like so:
 
  dtml-call
 
 "RESPONSE.redirect('https://www.mysite.com/scripts/zope.pcgi/Anywh
 ere/COMTem
 p/'+LUserOut+'
  .doc')"
  to:
  dtml-call "RESPONSE.redirect('dtml-var 
 baserefW/COMTemp...blah, blah)"
 
  where baserefW contains the information replaced in the second 
 sentence to
 make the
  address
  easily changeable site-wide.
 
  How can I acheive this?
  TIA,
 
  -y
  ~~~
  Yvonne Totty
  Database Engineer, x2198
  -
  Maximus: What we do in life, echoes in eternity.
  -- Gladiator
 
 
 
 
 
 

___
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] Putting a variable in a redirect call

2001-01-17 Thread Max M

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Yvonne
Totty

I need to replace the URL below to a partial dtml-var and and an address,
like so:

dtml-call "RESPONSE.redirect
('https://www.mysite.com/scripts/zope.pcgi/Anywhere/COMTemp/'+LUserOut+'.do
c')"
to:
dtml-call "RESPONSE.redirect('dtml-var baserefW/COMTemp...blah, blah)"

Actually you are allmost doing it right yourself:

dtml-call "RESPONSE.redirect(baserefW + '/COMTemp' + LUserOut + '.doc')"

Regards MaxM


___
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] Putting a variable in a redirect call

2001-01-17 Thread Andy McKay

Whats the error?
--
  Andy McKay.


- Original Message - 
From: "Yvonne Totty" [EMAIL PROTECTED]
To: "Andy McKay" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, January 17, 2001 3:57 PM
Subject: RE: [Zope] Putting a variable in a redirect call


 Gosh darn it, it didn't work 8(
 
 ~~~
 Yvonne Totty
 Database Engineer, x2198
 -
 Maximus: What we do in life, echoes in eternity.
 -- Gladiator
 
  
  Exactly as per your first example:
  
  dtml-call "RESPONSE.redirect(baserefW + '/COMTemp')"
  --
Andy McKay.
  
  
  - Original Message -
  From: "Yvonne Totty" [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Wednesday, January 17, 2001 3:11 PM
  Subject: [Zope] Putting a variable in a redirect call
  
  
   All,
  
   I need to replace the URL below to a partial dtml-var and and an
  address, like so:
  
   dtml-call
  
  "RESPONSE.redirect('https://www.mysite.com/scripts/zope.pcgi/Anywh
  ere/COMTem
  p/'+LUserOut+'
   .doc')"
   to:
   dtml-call "RESPONSE.redirect('dtml-var 
  baserefW/COMTemp...blah, blah)"
  
   where baserefW contains the information replaced in the second 
  sentence to
  make the
   address
   easily changeable site-wide.
  
   How can I acheive this?
   TIA,
  
   -y
   ~~~
   Yvonne Totty
   Database Engineer, x2198
   -
   Maximus: What we do in life, echoes in eternity.
   -- Gladiator
  
  
  
  
  
  
 


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