[Zope] Limited File object size?

2001-01-11 Thread Stuart Foster

When uploading a file to Zope I am getting an error about commit_sub. 
I uploaded some other files to the same folder but am having problems 
with two in particular.
He only difference I can see is that the others where 10k to 60k and the 
two problem files are 100k and higher. 

Is there a limit on the file size that can be uploaded or is there 
another explanation?


TIA
Stuart


___
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] Limited File object size?

2001-01-11 Thread Stuart Foster

Zope version: Zope 2.2.2 (source release, python 1.5.2, linux2)
Python version: 1.5.2 (#1, Sep 30 2000, 18:08:36) [GCC 2.95.3 19991030 
(prerelease)]
System Platform: linux-i386

I should mention I was able to ftp the files to the folder.

 Original Message 

On 1/11/01, 10:27:00 AM, Chris Withers [EMAIL PROTECTED] wrote regarding 
Re: [Zope] Limited File object size?:


 What version of Zope are you using?

 Stuart Foster wrote:
 
  When uploading a file to Zope I am getting an error about commit_sub.
  I uploaded some other files to the same folder but am having problems
  with two in particular.
  He only difference I can see is that the others where 10k to 60k and the
  two problem files are 100k and higher.
 
  Is there a limit on the file size that can be uploaded or is there
  another explanation?
 
  TIA
  Stuart
 
  ___
  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 )

___
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] Z2 Log question

2001-01-05 Thread Stuart Foster

I was looking at my Z2 log and notice an entry that repeats itself over 
and over and was wondering if anyone could tell me how to trace it down.

The message is

 [20/Nov/2000:13:00:11 -0700] "HEAD /opnix/portal HTTP/1.0" 401 1906 "" 
"" 
 [20/Nov/2000:13:00:17 -0700] "HEAD /opnix/portal HTTP/1.0" 401 1906 "" 
"" 

and as you can see it happens about every 5-6 seconds and there are many 
entries for it. 

Where would I start to back track this. 
We are running Zope behind Apache using proxy pass.

Any thoughts.

TIA Stuart 

___
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] SQL editing

2001-01-05 Thread Stuart Foster

We use the Znolk wizard. It's good for creating the initial entry, edit, 
list forms as well as the queries to add, edit and delete.

 Original Message 

On 1/5/01, 10:47:14 AM, Alex Burton [EMAIL PROTECTED] wrote regarding 
[Zope] SQL "editing":


   Hello All,

   I'm quite happy, got MySQL + the necessary adapters running in no
 time. Imported tab-delimited text and enjoying Zsearches... Zope
 kicks ass!

   Now, i'm wondering if there's anyone who've done some work as to
 permit easy editing of records in SQL tables? What i have in kind is
 something like:

   - do a search - a list of matches come up;
   - select a match - a form comes up filled with the data, and a
 "submit" button
   - press submit - SQL gets altered

   A bit like the "edit this page" philosophy, but for SQL records...

   Thanks!

   Alex.


 ___
 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] dtml-tree stuff

2000-11-30 Thread Stuart Foster

I have a similar need and have found the How-To's cryptic also. I too get 
company1 over and over.

Original Message dated 11/30/00, 3:12:00 PM
Author: Mike Kelland [EMAIL PROTECTED]
Re: [Zope] dtml-tree stuff:


I think I may not have asked a specific enough question last time round.  
I'll try it again.  I've been looking through the How-To's and the 
documentation and the dtml-tree stuff that I have found seems exceedingly 
cryptic.  The closest that I've come to a solution is the following code:
 
dtml-in "getAllClientNames(REQUEST)"
dtml-tree id=clientID 
branches_expr="getClientsForProjects(get_clientID=clientID)" 
dtml-var company_name
/dtml-tree
/dtml-in
 
where 
 
getAllClientNames looks like:
 
select company_name,clientID from client;
 
and getClientsForProjects looks like:
 
select company_name, clientID from client where deleted = 0 and clientID 
= dtml-sqlvar get_clientID type=int;
 
This gives me a tree structure which, when I expand company1 gives me 
company1 again and again 
 
(ie 
 
Company1
Company1
  Company1
Company1
  etc as deep as I care to go
Company2
Company2
etc
Company3
Company4
 
What I'm trying to do is list my company name as the tree branch and have 
the sub headings of each branch be my projects for that company.  Can 
anyone help?
 
Thanks very much
 
Mike Kelland
[EMAIL PROTECTED] 

___
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] dtml-var and Null values.

2000-09-19 Thread Stuart Foster

I am trying to use the null attribute for a btml-var tag. But it doesn't
seem to work.
The docs say if the value is an empty string you can use something like
dtml-var some_empty_value null="none" but this doesn't seem to work.
Am I missing something?

TIA
Stuart


___
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] Data date type returned by ZSQL method

2000-09-18 Thread Stuart Foster

I am trying to format a date value that is returned by a ZSQL method but
keep getting an error.
I am using the same format string where I use ZopeTime dtml-var ZopeTime
fmt="%m/%d/%Y".
Yet when I try to use it for a timestamp field from PSQL I get the following
error.

Error Type: ValueError
Error Value: unsupported format character 'm' (0x6d)

It sounds like the value being returned isn't a true date type?

Any clues?




___
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] Pluggable brains

2000-09-15 Thread Stuart Foster

I would like to understand how to do this in Zope also. I've done similar
things in Delphi and C++. But am having a little trouble seeing how to do it
in Zope.

Below is a snippet from a document that was suggested however It's not clear
how the data is "Wrapped" by the class. Can someone explain this. I would be
will to document it if I can figure this out.

-   snippet  -
Brains allow you to associate a Python or ZClass with a Record object.
Consider the example class:

  class Employee:

def fullName(self):
  """ return the full name in the form 'John Doe' """
  return self.first_name + ' ' + self.last_name

def yearlyIncome(self):
  """ calculate the employees yearlyIncome """

  return (self.weekly_hours * self.hourly_wage * 52)

This class is then mixed in the with Record class which defines the behavior
for Record objects. When a Record object with Brains is instanciated as the
result of a SQL query, those objects will have Employee as a base class,
giving the resultant Record objects behavior, as well as data:

  dtml-var standard_html_header
  dl
dtml-in Employees
  dtdtml-var employee_id/dt
  ddpdtml-var fullName makes an estimated
  dtml-var yearlyIncome fmt=dollars per year./p
  /dd
/dtml-in
  /dl

  dtml-var standard_html_footer


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
Dieter Maurer
Sent: Thursday, September 14, 2000 1:40 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [Zope] Pluggable brains


[EMAIL PROTECTED] writes:
  Is there a place where pluggable brains mechanism is described ?
I forgot where I saw a description.

But it is incredibly simple:

  You can wrap an arbitrary class instance around your database rows.
  This transforms your rows into full featured objects with
  the columns (among others) as attributes and the methods
  defined by the class as potential behaviour.


What elso do you need to know?


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 )


___
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] Logging out of Zope

2000-09-13 Thread Stuart Foster

Is there a way to allow an authenticated user to logout of Zope?
I want to allow a user to logout and someone else login.

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 )




RE: [Zope] How to Pass values to a DTML method ??

2000-09-12 Thread Stuart Foster

The first example is what I was doing. But felt it was hard to follow.
However I would be interested in why it would be considered more robust.

-Original Message-
From: Evan Simpson [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 11, 2000 8:15 PM
To: Stuart Foster; Dieter Maurer
Cc: Zope List
Subject: Re: [Zope] How to Pass values to a DTML method ??


 Dieter Maurer
 You should include two positional parameters as well:

 dtml-var "some_method(_.None,_,param=value)"

I've recently had explained to me a way that is more robust, and possibly
less confusing, than this idiotic idiom.  I think it may start appearing in
docs and training.

dtml-let param="value"dtml-var some_method/dtml-let

...or even better...

dtml-let param="value"dtml.-some_method;/dtml-let

...which allows nicely for stuff like:

dtml-let foo="sequence-item" bar="foo.objectIds()" firstbar="bar[0]"
a href="dtml-firstbar;"First!/a
/dtml-let

Cheers,

Evan @ digicool  4-am


___
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] Getting the count from dtml-in

2000-09-12 Thread Stuart Foster

How do I get the count in a sequence?

dtml-var total-rec_id

rec_id is a field from a table that is being used in the dtml-in. However
the result isn't correct.

TIA

Stuart


___
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] Never mind dtml-in

2000-09-12 Thread Stuart Foster

Oops how about count-rec_id..

Sorry for the previous message.

Stuart

___
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] Date format problems

2000-09-12 Thread Stuart Foster

I am using the following on an NT installation with no problems
dtml-var timestamp fmt='%m/%d/%Y'

However when I use it on a Linux install it get 

Error Type: ValueError
Error Value: unsupported format character 'm' (0x6d)

What am I missing here. 

___
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] How to Pass values to a DTML method ??

2000-09-11 Thread Stuart Foster

I have a DTML method that is called from a document. I need to pass a value
to it like a parameter would be passed to a function.

dtml-var some_method(param=value)

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 )




RE: [Zope] How to Pass values to a DTML method ??

2000-09-11 Thread Stuart Foster

This is the way I had to do it what's up with the two extra params?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
Dieter Maurer
Sent: Monday, September 11, 2000 2:24 PM
To: Stuart Foster
Cc: Zope List
Subject: Re: [Zope] How to Pass values to a DTML method ??


Stuart Foster writes:
  I have a DTML method that is called from a document. I need to pass a
value
  to it like a parameter would be passed to a function.
 
  dtml-var some_method(param=value)
That does not look too bad, but you forgot the "..." around the call.

You should include two positional parameters as well:

dtml-var "some_method(_.None,_,param=value)"

Otherwise, you cut the namespace propagation.


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 )


___
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] Form Validation

2000-09-06 Thread Stuart Foster

I can't answer your question but have been looking for similar information.
Where can I find out more about ":string" and so forth. I haven't been able
to locate any information on validation..

Thanks

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Andreas
Pauley
Sent: Wednesday, September 06, 2000 1:25 AM
To: Zope
Subject: [Zope] Form Validation


Hi,
I see you can let Zope do basic form validation for you by appending
":string" or ":int" to your form name.
The error messages that are displayed are not that clear, however.

How can I get more control over what happens when an error occurs?
(e.g. I'd like to be able to get back a list/ditionary of errors instead
of handling them one by one)

Where can I get documentation on all the built-in form validation
options at my disposal?
(e.g. a field may not be required, but if it is filled in it has to be
an integer)
Is Zope's built-in form validation sufficient for a complex system?
Are there better ways to do form validation?

I saw a php program on freshmeat.net the other day that supposedly
generates forms complete with client and server-side validation.
Do we have a similar product in Zope?

Thanks,
Andreas.
--
In a world without fences, who needs gates?


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




[Zope] Getting the Date from Zope

2000-09-05 Thread Stuart Foster

I know I've seen many posts about this, I just can't find one.

I need to put the current date into an input's value when a form is loaded.
Is there a way to do this with DTML.

TIA
Stuart


___
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] Creating Graphs

2000-08-18 Thread Stuart Foster

We need the ability to create multiple graphs from data that we get from
Postgres.
Currently we use a py method to call gnu plot, but we are looking for an
alternative to serve up graphs.

Any suggestions? I took a look at the Python Image Library is this the best
solution?

TIA

Stuart


___
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] How to execute multiple SQL statements in one SQL-Method ?

2000-08-18 Thread Stuart Foster

I know it can be done but forgot how. 

Stuart

___
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] Don't use relative links!

2000-08-18 Thread Stuart Foster

Where can I find more information on how this is done. I'm not familiar with
the dtml. notation?

Thanks

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Chris
Withers
Sent: Friday, August 18, 2000 11:59 AM
To: Stuart Foster; Zope List
Subject: Re: [Zope] Don't use relative links!


Chris Withers wrote:
 so, the above should actually be:

 a href="dtml.url-subfolder/index_html"

erk :S

a href="dtml.url-subfolder;/index_html"
   ^^^

sorry,

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 to use RESPONSE.redirect ?

2000-08-17 Thread Stuart Foster

Thanks for the input. I ended up putting the info I needed into the url

dtml-var "someurl?a=blah"

I put it in a method that is usuble from a couple of forms and it seems to
work.

Thanks again.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Kapil
Thangavelu
Sent: Tuesday, August 15, 2000 3:44 PM
To: Stuart Foster
Cc: Zope List
Subject: Re: [Zope] How to use RESPONSE.redirect ?


Stuart Foster Wrote:
 I want to use redirect to call another form passing the current form, how
 can I do that.

 dtml-call RESPONSE.redirect('otherform'+?)


Hi Stuart,

i ran into the same problem a little while ago. i was trying to pass the
user around to the proper displayprocess page(with inputs inplace)
after a logic page that determined where they should go based on their
inputs. IMO, The crux of the problem is that Zope as a web development
platform should include the urlparse lib from the python core more over
this problem and others like it should be remedied i believe by a
standard method of extending the modules in the _ namespace with thread
safe modules that a developer deems nesc. OK enough soap box... i ended
up reimplementing the nesc. functionality in a python method and created
another method to implement complete form insertion in much the same the
style that of some ACS(arsdigita) utiltiy methods do. here they are,
usage examples are included in the code.

of course this solution requires evan simpson's python methods product
be installed on your zope.

Cheers Kapil

method 1 note="depends on method2"
name: url_encode_form_vars
args: namespace
code
# depends on url_encode_vars

try:
vars=namespace['REQUEST'].form
method =  namespace.getitem('url_encode_vars', 0)
return method(vars)
except:
pass



#example call to above
#dtml-call "RESPONSE.redirect(URL1+'?'+url_encode_form_vars(_))"
/code

/method 1


method 2

name: url_encode_vars
args:

code

'''
Code straight from urllib minor
changes to get around assignment to sub_scripts,
access to string module, and namepace issues

expects a dictionary of key value pairs to be encoded

example call

dtml-call
"RESPONSE.redirect(URL1+'?'+url_encode_vars({vars={'squishy':1,
'bad_input':'user=root'}) )"
'''

global always_safe, quote, quote_plus
always_safe = _.string.letters + _.string.digits + '_,.-'

def quote(s, safe = '/'):
global always_safe
safe = always_safe + safe
res = []
for c in s:
if c not in safe:
res.append('%%%02x'%ord(c))
else:
res.append(c)
return _.string.joinfields(res, '')


def quote_plus(s, safe='/'):
global quote
if ' ' in s:
res = []
# replaec ' ' with '+'
l = _.string.split(s, ' ')
for i in l:
res.append(quote(i, safe))
return _.string.join(res, '+')
else:
return quote(s, safe)


def urlencode(dict):
 global quote_plus
 l = []
 for k, v in dict.items():
 k = quote_plus(str(k))
 v = quote_plus(str(v))
 l.append(k + '=' + v)
 return _.string.join(l, '')


return urlencode(vars)
/code
/method 2


___
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 to use RESPONSE.redirect ?

2000-08-17 Thread Stuart Foster

Thanks for the input.

-Original Message-
From: Curtis Maloney [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 15, 2000 5:59 PM
To: Stuart Foster; Zope List
Subject: Re: [Zope] How to use RESPONSE.redirect ?


On Wed, 16 Aug 2000, Stuart Foster wrote:
 I want to use redirect to call another form passing the current form, how
 can I do that.

 dtml-call RESPONSE.redirect('otherform'+?)

 If I do
 dtml-call RESPONSE.redirect('otherform')
 The current form isn't being passed ?

If you want to pass the form variables, you're in for a fight. (o8
otherwise, you could simply try :

dtml-var "otherform(_.None, _)" instead of a redirect.

If you want to make sure only the correct form vars are passed, you could
flub it with something like:

dtml-call "RESPONSE.redirect('otherform?var1=%svar2=%s' % (var1, var2) )"

If this doesn't help, some more detail on your part might. (o8

 Any ideas..

 TIA
 Stuart


Have a better one,
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 )




[Zope] How to use RESPONSE.redirect ?

2000-08-15 Thread Stuart Foster

I want to use redirect to call another form passing the current form, how
can I do that.

dtml-call RESPONSE.redirect('otherform'+?)

If I do
dtml-call RESPONSE.redirect('otherform')
The current form isn't being passed ?

Any ideas..

TIA
Stuart


___
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] Viewing Dependencies in the ZDB

2000-07-24 Thread Stuart Foster

I thought I saw a product that would let you view object dependencies in the
ZDB.

Is there such a product?


___
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] file upload

2000-05-30 Thread Stuart Foster

Take a look at this  product sounds like what you need.

http://yyy.zope.org/Members/jfarr/Products/LocalFS

-Original Message-
From: Oai Luong [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 30, 2000 8:40 AM
To: [EMAIL PROTECTED]
Subject: [Zope] file upload


i want to make a section in my web page where a net surfer can come to
my page and upload image files and store it in directory i created in my
linux filesystem?  I can't seem to figure out a way to do it in zope
since it cannot access a directory in my filesystem ?

Is there a way to do this ?

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 )

___
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] TimeSheet product?

2000-05-30 Thread Stuart Foster

I could use one too. 
If someone doesn't have one maybe we can work one out.

-Original Message-
From: Jean Jordaan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 30, 2000 7:25 AM
To: [EMAIL PROTECTED]
Subject: [Zope] TimeSheet product?


Hi Zopers

I'm looking for something to track the time I spend on different jobs. 
Has anyone written anything like this? I tried searching through the
products, but found only issue trackers. My main criterion is simplicity
of use .. I've never managed to use a timesheet continuously, if it's
too much trouble to keep it up to date.

-- 
[EMAIL PROTECTED]


___
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] FTP

2000-05-23 Thread Stuart Foster

When I try this I get an unauthorized user error. Can you give an example of
how to connect to port 8021 with a simple ftp program. 


-Original Message-
From: Rik Hoekstra [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 23, 2000 7:37 AM
To: David Shen
Cc: [EMAIL PROTECTED]
Subject: Re: [Zope] FTP




 David Shen wrote:
 
 Hello,
 Can Zope system be accessed by FTP? If yes, how to do so?


Yes. Assuming you have a standard Zope installation and you've not
tampered with the ftp settings of ZServer (you'd know about ftp then
wouldn't you). THe ZServer ftp is running under the (non default) 8021
port. You should point your ftp client to ftp://yoursite:8021/

That's it.

Happy ftp-ing

Rik

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