[Zope] Calculate values?

2000-07-06 Thread Peter Arvidsson

I am about to do


The problem is that I cant get the calculation right. a and b are text
input in my form (int's) and I want to first calculate a-b and the take
the answer times 15 before submitting the event. How can I do that??


___
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] Calculate values?

2000-07-06 Thread Peter Arvidsson

Chris Withers wrote:

> Peter Arvidsson wrote:
> >
> > I am about to do
> > 
>
> I presume that should be:
> 
> ? ;-)
>
> Anyway, two options:
>
> 1. On your form, change your input to be:
> 
>
> 2. Change your call to be:
> 
>
> cheers,
>
> Chris

At the same level, what is the easiest way to calculate the difference
(in minutes) between two given times in a form (HHMM)? Is there any easy
way to do this or do I have to do something complicate?


___
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] Error tracing...

2000-07-06 Thread Peter Arvidsson

How do I trace errors in Zope? I get the following error message:
"Empty entry when integer expected "
It gives a hint of the problem but I cant see what value is empty.. how
do I control the values? Is there some way to write out variables or do
I just have to guess???


___
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] Calculate difference between time input?

2000-07-07 Thread Peter Arvidsson

How do I calculate the difference between two times I get from a from?

Lets say time a = 09:45
and time b = 11:15

Then I want to calculate the difference. How do I calculate it? I'd also
like to know how to get the answers in differen formats. For example
caculating the input above I want to be able to get all of the following
results:
1:30 (One hour and thirty minutes)
1,5 (One and a half hour)
90 (Ninety minutes)

Help please :)


___
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-bug in properties?

2000-07-10 Thread Peter Arvidsson

When I try to add a date-property and want to leave the Value-field
empty i get the following error:

Error Type: Invalid Date-Time String
Error Value:

When I write a date in the Value-field I can add the date. Is this a
bug? Why cant I add a date with no default value? In several howtos they
just add the date with no default value, so why cant I?


___
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] Date-bug in properties?

2000-07-10 Thread Peter Arvidsson

Ah I saw that was a known bug. Forget this post :)

Peter Arvidsson skrev:

> When I try to add a date-property and want to leave the Value-field
> empty i get the following error:
>
> Error Type: Invalid Date-Time String
> Error Value:
>
> When I write a date in the Value-field I can add the date. Is this a
> bug? Why cant I add a date with no default value? In several howtos they
> just add the date with no default value, so why cant I?
>
> ___
> 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] Wizards?

2000-07-10 Thread Peter Arvidsson

I am trying to create wizards but as usual I am running into problems..

To forward input to the next step I learned in the howto "Wizards made
easy" that this was the way to do it:




When I type that code in however I get the following error message:
Error Type: TypeError
Error Value: illegal argument type for built-in operation

Is the howto wrong or did I do something wrong?

Wizards are prebuilt but where do I change how wizards should react. For
example where do I change the caption on the "next"-button or the
"title"-output?

Peter



___
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] Security problem i 2.2 final - Bug?

2000-07-19 Thread Peter Arvidsson

I have a very anoying problem...

I have created a news-product and have several news-objects. Now I want
to change the properties of a news-object. This is my code for that:




  

'newsEntries' is the folder where I store my news-objects.
'objId' is the id of the product as a string.

Everytime I try to change properties a login prompt is displayed. The
problem is that I get access denied whoever I login as. My user has the
same permissions as the superuser and even when I login as the superuser
I get access denied. I have changed so that I am the owner of both the
product 'news' and the news objects, the methods that I use and the
folders that my objects and methods are in. I really dont know what this
problem could be. I thought these problems was supposed to be resolved
for 2.2 final but maybe there are some bugs left? I dont get this
problem when I run the code in 2.1.6.

I have also tried different possibilities in the code, I have both used
changeProperties and editProperties. I have also tried to write the name
of the propertysheet instead of '[1]' but everything renders the same
problem.

Really beacause I am the owner of everything and I have the same rights
as the superuser I dont think I should be "unauthorized" to change my
objects. I have no problem to add and to delete these objects so why
cant I change them?




___
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] Broken products in 2.2 - bug?

2000-07-19 Thread Peter Arvidsson

Is products treated in a different way in 2.2 final than in 2.1.6?

When I restart Zope all instances of my (and some imported) products
become broken because it cant find the product it is an instance of.

963996281 (This object from the unknown product is broken!)

I have compared with Zope 2.1.6 and the data of the news object are the
same in both distributions:


  


  

  *ZENGX/ck1V8gtZ9GtNHQ7w==
  News


  

 ...
  

Also the data about my News object are the same where 'News' have 'class
id'='ZENGX/ck1V8gtZ9GtNHQ7w=='
Now the only difference is that there is no '*' in the 'class id' but
there is the same difference in 2.2 final as in 2.1.6 som that shouldnt
mean any differences.

When I add instances in 2.1.6 and restart the server everything works
fine but when I do the same thing in 2.2 final my news objects become
broken. The same thing happens to for example the PDFProduct that I
downloaded.

Is there a different way to handle products in 2.2 final or is this a
bug?


___
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] Security problem i 2.2 final - Bug?

2000-07-19 Thread Peter Arvidsson

Hi

Thanks for the tip. I gave the method the correct roles but unfortunatelty the
problem still exists.

Peter

Pierre Rougier skrev:

> Hi  :)
> I may say something idiot, but...
>
> Did u try to change the proxy roles of the method which call the fonction
> manage_editProperties?
> (in case of: to do it, edit your method and choose proxy at the top of the
> window), u can edit the role of your method.
>
> Piotr.
>
> Peter Arvidsson wrote:
>
> > I have a very anoying problem...
> >
> > I have created a news-product and have several news-objects. Now I want
> > to change the properties of a news-object. This is my code for that:
> >
> > 
> >  >  header=REQUEST['header'],
> >  date=REQUEST['date'],
> >  author=REQUEST['author'],
> >  email=REQUEST['mail'],
> >  text=REQUEST['text'],
> >  )">
> >
> >   
> >
> > 'newsEntries' is the folder where I store my news-objects.
> > 'objId' is the id of the product as a string.
> >
> > Everytime I try to change properties a login prompt is displayed. The
> > problem is that I get access denied whoever I login as. My user has the
> > same permissions as the superuser and even when I login as the superuser
> > I get access denied. I have changed so that I am the owner of both the
> > product 'news' and the news objects, the methods that I use and the
> > folders that my objects and methods are in. I really dont know what this
> > problem could be. I thought these problems was supposed to be resolved
> > for 2.2 final but maybe there are some bugs left? I dont get this
> > problem when I run the code in 2.1.6.
> >
> > I have also tried different possibilities in the code, I have both used
> > changeProperties and editProperties. I have also tried to write the name
> > of the propertysheet instead of '[1]' but everything renders the same
> > problem.
> >
> > Really beacause I am the owner of everything and I have the same rights
> > as the superuser I dont think I should be "unauthorized" to change my
> > objects. I have no problem to add and to delete these objects so why
> > cant I change them?
> >
> > ___
> > 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] Security problem i 2.2 final - Bug?

2000-07-19 Thread Peter Arvidsson

Thats what I did .. same problem.

However when I installed a new 2.2 final and did exactly the same (same stuff, same
permissions) then it worked. There must be some problem with the upgrading...

Peter

Pierre Rougier skrev:

> Hi
>
> Just to see... try to give all the proxy roles to your method... (manager, owner
> and anonymous)... I had this problem, and it work like that
>
> Pierre
>
> Peter Arvidsson wrote:
>
> > Hi
> >
> > Thanks for the tip. I gave the method the correct roles but unfortunatelty the
> > problem still exists.
> >
> > Peter
> >
> > Pierre Rougier skrev:
> >
> > > Hi  :)
> > > I may say something idiot, but...
> > >
> > > Did u try to change the proxy roles of the method which call the fonction
> > > manage_editProperties?
> > > (in case of: to do it, edit your method and choose proxy at the top of the
> > > window), u can edit the role of your method.
> > >
> > > Piotr.
> > >
> > > Peter Arvidsson wrote:
> > >
> > > > I have a very anoying problem...
> > > >
> > > > I have created a news-product and have several news-objects. Now I want
> > > > to change the properties of a news-object. This is my code for that:
> > > >
> > > > 
> > > >  > > >  header=REQUEST['header'],
> > > >  date=REQUEST['date'],
> > > >  author=REQUEST['author'],
> > > >  email=REQUEST['mail'],
> > > >  text=REQUEST['text'],
> > > >  )">
> > > >
> > > >   
> > > >
> > > > 'newsEntries' is the folder where I store my news-objects.
> > > > 'objId' is the id of the product as a string.
> > > >
> > > > Everytime I try to change properties a login prompt is displayed. The
> > > > problem is that I get access denied whoever I login as. My user has the
> > > > same permissions as the superuser and even when I login as the superuser
> > > > I get access denied. I have changed so that I am the owner of both the
> > > > product 'news' and the news objects, the methods that I use and the
> > > > folders that my objects and methods are in. I really dont know what this
> > > > problem could be. I thought these problems was supposed to be resolved
> > > > for 2.2 final but maybe there are some bugs left? I dont get this
> > > > problem when I run the code in 2.1.6.
> > > >
> > > > I have also tried different possibilities in the code, I have both used
> > > > changeProperties and editProperties. I have also tried to write the name
> > > > of the propertysheet instead of '[1]' but everything renders the same
> > > > problem.
> > > >
> > > > Really beacause I am the owner of everything and I have the same rights
> > > > as the superuser I dont think I should be "unauthorized" to change my
> > > > objects. I have no problem to add and to delete these objects so why
> > > > cant I change them?
> > > >
> > > > ___
> > > > 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 )




Re: [Zope] Broken products in 2.2 - bug?

2000-07-19 Thread Peter Arvidsson

The strange thing is that the product itself is not broken only all the
instances become broken everytime I restart...

Peter


Dieter Maurer skrev:

> Peter Arvidsson writes:
>  > Is products treated in a different way in 2.2 final than in 2.1.6?
>  >
>  > When I restart Zope all instances of my (and some imported) products
>  > become broken because it cant find the product it is an instance of.
> Did you read the Zope 2.2 upgrade information?
>
> To narrow down the problem, you to the Control_Panel/Products
> page. The products should there be broken, too.
> The traceback tabs of a broken product should give you a hint
> regarding the problem.
>
> 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] Broken products in 2.2 - bug?

2000-07-21 Thread Peter Arvidsson

Unfortunately I deleted the product and then made an equal product (after that
it worked) so I cant tell if this was a bug. I'll let someone else who has the
same problems try it.

Peter


Dieter Maurer skrev:

> Peter Arvidsson writes:
>  > The strange thing is that the product itself is not broken only all the
>  > instances become broken everytime I restart...
> Try the following:
>
>   delete the products (okay start with a single one, just to try)
> from "ControlPanel/Products" (this of cause will be possible).
>
>   restart Zope: look at ControlPanel/Products.
>
>   Maybe, you now have a broken product with a traceback telling
>   you the problem cause.
>
> By magic, Zope retains products in some cases when there is
> a problem during import without showing any indication
> of the problem (someone told in the list, that
> something is written to a log file, if logging is enabled).
>
> By removing the product manually, I hope Zope will show
> you the problem.
>
> If my proposal works indeed, then this product retaining
> behaviour is more a bug than a feature.
>
> 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] Datebug?

2000-07-21 Thread Peter Arvidsson

I have encountered a strange and irritating problem. As I live in Sweden
we use timezone 'GMT+1'. I have a form like this:








And when I press submit I come to this page:





The input field are correctly displaying the date (in GMT+1) but when I
submit the form and use the "fmt" the date is displayed with a decrease
of 24 hours. Like if I write 2000-07-21 in the input-field the next page
will display 2000-07-20. I I dont format the date on the second page the
same date will be shown.

It cant really be a timezone issue because it is decreasing the date by
24 hours and I only live 1 hour from GMT. The date on my computer and
the server are correct. Does someone knows why this happens when I use
"fmt" or is this a DateTime bug?


___
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] Datebug?

2000-07-21 Thread Peter Arvidsson

Forgot to say that... I run 2.2 final :/

Chris Withers skrev:

> Peter Arvidsson wrote:
> > It cant really be a timezone issue because it is decreasing the date by
> > 24 hours and I only live 1 hour from GMT. The date on my computer and
> > the server are correct. Does someone knows why this happens when I use
> > "fmt" or is this a DateTime bug?
>
> It could be one of a number of bugs. :(
>
> What version of Zope are you using?
>
> Try 2.2 and see fi it still happens...
>
> 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] Re: [Zope-dev] Datebug?

2000-07-21 Thread Peter Arvidsson

>
>
> try this:
>
> ">
>
> I think it's a round problem with the float representation of the date.
>
> martin

Since it is adding 24 hours there is not enough to add 0.5 to the date. I
could add 1 to the date but then I would get other problems on my site which
is not good. I have reported the bug now and I hope they can resolve it
quickly.


___
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] Datebug?

2000-07-24 Thread Peter Arvidsson

The most hirrible thing is that I chunked it in the collector but the Zope
developers rejected it! Apparently they seem to claim this is a feature. Feature or
not I can't use dates in forms because of this.

Peter

Chris Withers skrev:

> Erich Seifert wrote:
> > I had the same problem.
> > The fmt tag outputs GMT time but the methods of DateTime, i.e. day(), month(),
> > year(), etc. do not. So I used them.
>
> That's really horrible, I'd chuck it in the collector:
> http://classic.zope.org:8080/Collector/
>
> 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 )




Re: [Zope] Datebug?

2000-07-24 Thread Peter Arvidsson

#1445 (http://classic.zope.org:8080/Collector/1445/view)

Chris Withers skrev:

> What was the issue number?
>
> Chris
>
> Peter Arvidsson wrote:
> >
> > The most hirrible thing is that I chunked it in the collector but the Zope
> > developers rejected it! Apparently they seem to claim this is a feature. Feature or
> > not I can't use dates in forms because of this.
> >
> > Peter
> >
> > Chris Withers skrev:
> >
> > > Erich Seifert wrote:
> > > > I had the same problem.
> > > > The fmt tag outputs GMT time but the methods of DateTime, i.e. day(), month(),
> > > > year(), etc. do not. So I used them.
> > >
> > > That's really horrible, I'd chuck it in the collector:
> > > http://classic.zope.org:8080/Collector/
> > >
> > > 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] Re: Datebug?

2000-07-24 Thread Peter Arvidsson

I already used the things in AlexR's howto but still he uses fmt or strftime() and 
that is
the problem. AlexR claims the base is GMT though (the Zope developers said the 
base-time was
UTC). Nevertheless this is a problem... I'll try to chunk it in the collector once 
more with
a bit more explaination.

Thanks for your help.

Peter

Chris Withers skrev:

> Ah, OK, I see what happened.
>
> Did you try AlexR's how-to and did it help?
>
> I'd suggest submiting another bug along the lines of "fmt should use the
> local time and nto be locked to UTC", which is what I think is the
> 'horribel' bit of this :-)
>
> cheers,
>
> Chris
>
> Peter Arvidsson wrote:
> >
> > #1445 (http://classic.zope.org:8080/Collector/1445/view)
> >
> > Chris Withers skrev:
> >
> > > What was the issue number?
> > >
> > > Chris
> > >
> > > Peter Arvidsson wrote:
> > > >
> > > > The most hirrible thing is that I chunked it in the collector but the Zope
> > > > developers rejected it! Apparently they seem to claim this is a feature. 
>Feature or
> > > > not I can't use dates in forms because of this.
> > > >
> > > > Peter
> > > >
> > > > Chris Withers skrev:
> > > >
> > > > > Erich Seifert wrote:
> > > > > > I had the same problem.
> > > > > > The fmt tag outputs GMT time but the methods of DateTime, i.e. day(), 
>month(),
> > > > > > year(), etc. do not. So I used them.
> > > > >
> > > > > That's really horrible, I'd chuck it in the collector:
> > > > > http://classic.zope.org:8080/Collector/
> > > > >
> > > > > 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 )




Re: [Zope] Re: Datebug?

2000-07-24 Thread Peter Arvidsson

I think I found the posting that you meant but he later said his patch unfortunately 
didnt do
any good. Anyway I have posted the bug to the collector now.

Chris Withers skrev:

> Peter Arvidsson wrote:
> > I already used the things in AlexR's howto but still he uses fmt or strftime() and 
>that is
> > the problem.
>
> Someone posted a replacement module/patch for strftime() on zope-dev(I
> think, maybe it's in the collector)
>
> Try searching the archives at:
> http://zope.nipltd.com/public/lists.html
>
> > AlexR claims the base is GMT though (the Zope developers said the base-time was
> > UTC).
>
> Same thing I think... GMT technically doesn't exist since they got rid
> of the observatory in Grenwich ;-)
>
> >Nevertheless this is a problem... I'll try to chunk it in the collector once more 
>with
> > a bit more explaination.
>
> cool :-)
>
> 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 )




[Zope] [Fwd: Re: [Zope-dev] DateTime formatting with strftime: patch]

2000-07-24 Thread Peter Arvidsson



 Original Message 
Ämne: Re: [Zope-dev] DateTime formatting with strftime: patch
Datum: Mon, 24 Jul 2000 16:56:52 +0100
Från: Steve Alexander <[EMAIL PROTECTED]>
Till: [EMAIL PROTECTED]
Referenser: <[EMAIL PROTECTED]>

This is now in the Collector, as bug number 1457.

  http://classic.zope.org:8080/Collector/1457/view

Incidentally, http://classic.zope.org:8080/Collector/1409/view is
another patch to the same problem. However, that patch doesn't address
the root of the problem, which is that DateTime instances are associated
with a particular timezone, and users expect all formatting to occur
with respect to that particular timezone. The fix in collector #1409
makes all strftime formatting happen in the local timezone of the Zope
installation, not the timezone given in the particular DateTime instance
being formatted.


Steve Alexander wrote:
> 
> Here's a working patch to make formatting of a DateTime instance work as
> generally expected, when you use
> 
>   
> 
> or whatever.
> 
> It could be made more efficient by compiling the two regex (regexes?
> regexen? regular expressions :-) ) into class attributes.

There's a problem with this optimisation -- see my other posting to
zope-dev today.
 
--
Steve Alexander
Software Engineer
Cat-Box limited
http://www.cat-box.net

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

___
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] Batchprocessing with multiple conditions?

2000-07-25 Thread Peter Arvidsson

I have objects of a certain meta-type. They have some properties and one
of the properties is a boolean. How do I make a dtml-in loop among those
objects with the boolean set to yes? I dont want it to traverse any
other value at all only those that match the condition should be
included in the sequenze because I am doing batchprocessing like in
figure 6 of
http://www.zope.org/Documentation/Guides/DTML-HTML/DTML.7.5.html. I have
done like this now:






 

  

(Previous )
  

  

  
  

  
 
"&dtml-header;"

  

  
  

  

  

(Next )
  

  



  

This shows only the objects I want to show but the sequences is counted
wrong because even though it doesn't show the objects with BOOLEAN=false
they are still counted in the dtml-in.

How can I loop only the objects I want to loop?

Peter


___
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] Your feedback: what should DateTime strftime() behavior be?

2000-07-25 Thread Peter Arvidsson

+1


>
>
>   +1 == agree
>
>   +/-0 == no strong opinion
>
>   -1 == disagree
>


___
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] Problems with JavaScript in WinNT + Netscape! Urgent!

2000-07-27 Thread Peter Arvidsson

Hi

I am using JavaScript's in zope and until now I havent experienced any
problem. Today something strange happened though.. when editing a
JavaScript it suddenly stopped working in WindowsNT with Netscape. It
worked however in IE on the same computer and on Netscape running on
Linux (RedHat 6.2). When examining the errormessages and the code I have
found that the errors seem to be some linebreaks that do not show up
when I am looking at the source (not even with w-get). The reason I
suspect that is the problem is that the errors are like: "secondsVisi is
not defined." when in fact the name of the variable is "secondsVisible".
I also saw one linebreak when looking at the source for the
html-document once.

Can anybody tell me why this happens? I dont suspect this is a
browser-bug because the JavaScript works just fine in Netscape running
on Linux. This is not a cache-thing either because we have tried
everything in that area. Therefore I wonder if this may be an issue in
Zope?


___
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] search on www.zope.org

2000-07-28 Thread Peter Arvidsson

Well the fact is the searchengine on zope.org really s*cks. They really
should do something about it...

Peter


Andy Pahne skrev:

> Can anybody please tell me the search on www.zope.org does not find any
> pages containing?
>
>   - mod_pcgi2
>
> In fact there are numerous pages including this term.
>
> Andy Pahne
> [EMAIL PROTECTED]
>
> net22 GmbH
> Bad Meinberger Strasse 1
> 32760 Detmold
> Tel.: 05231 - 580 640
>
> ___
> 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] Snapshots and Demo of Products

2000-07-28 Thread Peter Arvidsson

Totally agree with you. Screenshot are very important. I have also noticed the
lack of information about many products. Sometimes I have to guess what the
product does or search the mailing-list for more information. And think about
creating enough documentation.

Peter

Peter Bengtsson skrev:

> To the webmasters of www.zope.org and others.
>
> When I browse the directory of Products on the zope.org site I realize that
> the thing I'm missing the most is screenshots and demos of various products.
>
> On Product pages on zope.org the default sections are:
> - name
> - description
> - changes
> - contact
> - license
> and download
>
> I urge these to be default sections as well:
> - screenshots
> - demo
>
> This improves the user friendliness of the whole website and might make
> surfers more likely to download and install the product when they can SEE
> what it is.
>
> This is especially important for the Zope product itself. I have noticed
> that the first thing I do when I browse zope competitors homesites, is to
> look at screenshots.
>
> So if webmasters of zope.org can push for this and product developers can
> open their photoshop or gimp and save themselves a couple of jpegs, that
> would be great!
>
> Peter Bengtsson - bloody good programmer
>
> ___
> 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-in question

2000-08-01 Thread Peter Arvidsson

Hi

I had the same problem and found out there is no way yet of making dtml-in with
multiple conditions. Instead I had to do dtml-if's and make my own counter and
previous/next attributes to handle the batches.

Peter


Webmaster skrev:

> I have a bunch of zClass instances and I want to display only the ones that
> match all three criterion (approved=1, goLiveDate<=ZopeTime(), expired=0).
> I'm not exactly sure how to do this. I have tried  statements
> inside the  statements but the "in", even though it does
> not show the files that don't match, still counts all of them which messes
> up the next and previous. How do I write my code to correctly show and count
> only the matching instances?
>
> I have searched both the zope.org site and the eGroups list for the answer
> and if it is there I can't find it :-(
>
> Thanks!!
>
> Jamey
>
> Here is the code.
>
>  reverse size="5" start="batch_start" next>
>  
>   href="&dtml-URL;&dtml-sequence-query;batch_start=&dtml-next-sequence-start-n
> umber;">
>  Next &dtml-next-sequence-size; older Releases
>  
> 
>
>  reverse size="5" start="batch_start">
>  
>   /release.html">
> &dtml-pr_title;
> - 
> &dtml-summary;
>
>  
> 
>
>  reverse size="5" start="batch_start" previous>
> 
>   href="&dtml-URL;&dtml-sequence-query;batch_start=&dtml-previous-sequence-sta
> rt-number;">
>  Next &dtml-previous-sequence-size; more recent Releases
>  
> 
>
> ___
> 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] Custom error messages - bug?

2000-08-02 Thread Peter Arvidsson

I have customized the standard error message and placed it in a folder
above root level. When a error occurs the error message at the root
level still get executed though. I have named my own error message the
same (standard_error_message) and I am sure that the error I get comes
from inside the folder I put my customized version in. I am also sure
that there are no errors I my error message (it works if I put it at the
root level).

I know there has been some issues with this before but it was supposed
to be fixed to 2.2 (which I run). Has any1 else had any problem with
this or are there still bugs?


___
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] Referring to objects with an integer as id?

2000-08-08 Thread Peter Arvidsson

How do I refer to an object that has an integer as id?

I have pdf-files stored in a folder called "pdf". Now I want to be able
to check their filesize. I looked in the API and found that this is done
with getSize(self). I have no problem to refer to objects that do not
have an integer as id. For example for the pdf-file with id "temppdf"
this works: 

I have tried a number of different syntaxes to be able to check the
filesize of an objct with an integer as id but nothing has worked
For the pdf-file with id "" I have tried this:

 (gives me syntax error)
 (gives me syntax error)
 (gives me syntax error)
 (says I am unauthorized but I
am sure I am not because I could access the same object if I gave it a
string as id instead of an integer. I am the owner of both the object
and folder and I have all privilages. Superuser wasnt authorized
either.)
 (also says I am unauthorized)

I have also tried all those combinations with _len() but that doesnt
work either...

Could someone please tell me how I can get the filesize of my objects
with integers as their id?


___
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] Very strange problem with updating an objects properties

2000-08-09 Thread Peter Arvidsson

I have made two products, one news-product and one product for
pressreleases. The products are exactly equal except that they have a
bit different properties. All the code for processing these two products
are equal (except then for the handling of their different properties).
Everything works fine except when I want to update the properties of an
object. For news this works perfectly but for pressreleases this doesnt
work. I am completely puzzled because the code for doing this is the
same for both of them. Here is how it looks:

For news:
  

  
  
  

  
  
  

  

For pressreleases:
  


  

So the updating of both of the products are done by  but when I
try to update pressreleases is says I am unauthorized. However I am
pretty sure this is not the problem. I cant set any proxy rules for the
products, I am the manager and manager has got all permissions on those
objects. I am still unauthorized when I try to login as superuser. I
have been told I am unauthorized before when I in fact has tried to call
the objects wrong so thats why I dont think this is a security-problem.
Does any1 have a clue of what is wrong here? How can the same code work
in one method and not in another? I am running 2.2 final. This is the
traceback I get:

Traceback (innermost last):
  File
/usr/local/new.test.version.of.zope.DO.NOT.REMOVE/lib/python/ZPublisher/Publish.py,
line 222, in publish_module
  File
/usr/local/new.test.version.of.zope.DO.NOT.REMOVE/lib/python/ZPublisher/Publish.py,
line 187, in publish
  File
/usr/local/new.test.version.of.zope.DO.NOT.REMOVE/lib/python/ZPublisher/Publish.py,
line 171, in publish
  File
/usr/local/new.test.version.of.zope.DO.NOT.REMOVE/lib/python/ZPublisher/mapply.py,
line 160, in mapply
(Object: handleAdministration)
  File
/usr/local/new.test.version.of.zope.DO.NOT.REMOVE/lib/python/ZPublisher/Publish.py,
line 112, in call_object
(Object: handleAdministration)
  File
/usr/local/new.test.version.of.zope.DO.NOT.REMOVE/lib/python/OFS/DTMLMethod.py,
line 167, in __call__
(Object: handleAdministration)
  File
/usr/local/new.test.version.of.zope.DO.NOT.REMOVE/lib/python/DocumentTemplate/DT_String.py,
line 502, in __call__
(Object: handleAdministration)
  File
/usr/local/new.test.version.of.zope.DO.NOT.REMOVE/lib/python/DocumentTemplate/DT_With.py,
line 146, in render
(Object: pressEntries)
  File /usr/local/zope/lib/python/DocumentTemplate/DT_Util.py, line 342,
in eval
(Object: _[objId].propertysheets[1].manage_editProperties(REQUEST))
(Info: REQUEST)
  File , line 0, in ?
  File /usr/local/zope/lib/python/DocumentTemplate/DT_Util.py, line 168,
in careful_getitem
  File
/usr/local/new.test.version.of.zope.DO.NOT.REMOVE/lib/python/OFS/DTMLMethod.py,
line 189, in validate
(Object: handleAdministration)
  File
/usr/local/new.test.version.of.zope.DO.NOT.REMOVE/lib/python/AccessControl/SecurityManager.py,
line 139, in validate
  File
/usr/local/new.test.version.of.zope.DO.NOT.REMOVE/lib/python/AccessControl/ZopeSecurityPolicy.py,
line 159, in validate
Unauthorized: webdav


Since I am completely puzzled of what the issue could be here I would
really appreciate if someone could solve this for me. 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] Very strange problem with updating an objects properties

2000-08-09 Thread Peter Arvidsson


> You could save a line by calling this a little differently by using
> manage_changeProperties instead:
> 
> change this:
>   
>"_[objId].propertysheets[1].manage_editProperties(REQUEST)">
> 
> to this:
>"_[objId].propertysheets[1].manage_changeProperties(approved=1)">


Thanks for the advice. However the updating is not only regarding the
property "approved". I also get lots of other properties from a form
before this method. I guess I can specify all the properties but I dont
think that will make much of a difference and thats why I was a bit lazy
:)


> 
> > So the updating of both of the products are done by  > "_[objId].propertysheets[1].manage_editProperties(REQUEST)"> but when I
> > try to update pressreleases is says I am unauthorized.
> 
> This is probably an ownership issue. Make sure the DTML method's owner has
> manager rights. In Zope 2.2 the user running a method takes on the security
> level of the owner of the method even if it is lower than that of the user.
> This is in order to prevent certain trojan horse type attacks.

I solved the problem yesterday. It was objId that changed somewhere
between the from and this method. This is a big problem with Zope. When
one is trying to refer to an object that exist but dont have the
properties I specify I just get the error "Unauthorized" and not any
other error. It is very difficult to try to find the problem with such a
strange errormessage...

___
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] MessageDialog with dtml?

2000-08-10 Thread Peter Arvidsson

Is it possible to display a MessageDialog with dtml only? I have
searched the mailinglist archives and found some postings about this but
the instructions there doesnt seem to work. Maybe MessageDialog has been
changed to 2.2 or something?

___
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] No file in INPUT TYPE='file' field

2000-08-10 Thread Peter Arvidsson

Hi

I use this code to check if the input is empty:

Exists...

To check if the input is a valid file you can store it as a temporary
variable and then make a check if the size of the object is more than 0
bytes like this:
 0">
Valid file...

I hope this helps you :)

Peter


Alexander Chelnokov skrev:
> 
> Hello All,
> 
> How to define in DTML that user put nothing into the
> field ?
> Give pls an example of code.
> 
> Best regards,
>  Alexander N. Chelnokov
> Ural Scientific Institute of Traumatology and Orthopaedics
> str.Bankovsky, 7. Ekaterinburg 620014 Russia
> ICQ: 25640913
> 
> ___
> 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] Reloading file objects?

2000-08-10 Thread Peter Arvidsson

I have file-objects containing pdf-files. When I change the object to
contain another pdf-file (with "manage_upload") I get a problem. When I
want to view the file it still shows the old file. However when I choose
save to disk I get the new object and if I take a look at its properties
(size etc...) they are for the new object. 

Does anyone know a way to get the file to show the new pdf-file when I
want to view it? 

I have tried to put  in the
page where I have the link to the file but that doesnt affect the file
when I open it. The link I use are the path for the file as it is on the
view-tab of the object. Is there some way to get it to show the new file
when I view it and not only when I save it to disk or open it in a new
window?

___
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] Reloading file objects?

2000-08-10 Thread Peter Arvidsson

Something like that will probably work but I cant tell everyone that
visit the site to change their IE settings :/

Gijs Reulen skrev:
> 
> Have you tried to disable the browser cache (or 'temp internet files') ?
> 
> > -Oorspronkelijk bericht-
> > Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Namens Peter
> > Arvidsson
> > Verzonden: donderdag 10 augustus 2000 12:56
> > Aan: [EMAIL PROTECTED]
> > Onderwerp: [Zope] Reloading file objects?
> >
> >
> > I have file-objects containing pdf-files. When I change the object to
> > contain another pdf-file (with "manage_upload") I get a problem. When I
> > want to view the file it still shows the old file. However when I choose
> > save to disk I get the new object and if I take a look at its properties
> > (size etc...) they are for the new object.
> >
> > Does anyone know a way to get the file to show the new pdf-file when I
> > want to view it?
> >
> > I have tried to put  in the
> > page where I have the link to the file but that doesnt affect the file
> > when I open it. The link I use are the path for the file as it is on the
> > view-tab of the object. Is there some way to get it to show the new file
> > when I view it and not only when I save it to disk or open it in a new
> > window?
> >
> > ___
> > 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] Reloading file objects?

2000-08-10 Thread Peter Arvidsson

A very smart thing to do. Unfortunately this was not successful... when
I sent an argument like this:
/pdf/&dtml-entry;?x=">
My pdf-file couldnt be displayed. It didnt recognize the argument and
told me to download some stuff from Microsoft or something... is there
any other way to do it? Or is there any arguments pdf-files can handle
and is not important (e.g. can be set to a dummy value)?


Jens Vagelpohl skrev:
> 
> a simple workaround, but one that pretty much prevents any caching
> anywhere, is to append the URL for this file with a changing query
> string, e.g. a timestamp. this is what it would look like:
> 
> 
> ?x= fmt="%H%M%S">">My File
> 
> 
> jens
>

___
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] Reloading file objects?

2000-08-10 Thread Peter Arvidsson

I later found out this was a bug. The bug was reported 1999-10-12 as
number 754:

[754] Zope Bug: Uploaded Images Don't Appear Immediately
Category: General Last Updated: Oct 29, 1999 7:05 am 
Submitted On: Oct 12, 1999 3:58 am Status: Ongoing 
Reported Version: 2.0.1 Expected/Fixed Version: 

Strange that is is still ongoing after almost a year. Anyway the problem
was that it always used the cached file and a discussion about this was
found in the archives: 

http://zope.nipltd.com/public/lists/zope-archive.nsf/Main/AED89A938194225580256857007679ED?OpenDocument&mode=subject&topic=[Zope]Dumbobjectaliasingquestion

I chunked it into the collector again as bugreport 809 so we just have
to wait and see now.

Peter



Terry Kerr skrev:
> 
> are u using netscape?  this seems to be a netscape cache problem.  The same
> happens with images.  You have to download the image to harddisk for
> netscape to update its cache.
> 
> Peter Arvidsson wrote:
> 
> > I have file-objects containing pdf-files. When I change the object to
> > contain another pdf-file (with "manage_upload") I get a problem. When I
> > want to view the file it still shows the old file. However when I choose
> > save to disk I get the new object and if I take a look at its properties
> > (size etc...) they are for the new object.
> >
> > Does anyone know a way to get the file to show the new pdf-file when I
> > want to view it?
> >
> > I have tried to put  in the
> > page where I have the link to the file but that doesnt affect the file
> > when I open it. The link I use are the path for the file as it is on the
> > view-tab of the object. Is there some way to get it to show the new file
> > when I view it and not only when I save it to disk or open it in a new
> > window?
> >
> > ___
> > 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 )
> 
> --
> Terry Kerr ([EMAIL PROTECTED])
> Adroit Internet Solutions Pty Ltd (www.adroit.net)
> Phone:   +613 9563 4461
> Fax: +613 9563 3856
> Mobile:  +61 414 938 124
> ICQ: 79303381
> 
> ___
> 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] Difference between manage_changeProperties and manage_editProperties?

2000-08-11 Thread Peter Arvidsson

What is the difference? Somewhere I read that one of them erased all
properties and changed those that are sent to the method (causing
properties that is not sent to the method to be empty) but I dont
remeber where I read it or which one it was? Are there any other
differences?

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