Re: [Zope] now learning zpt

2005-10-18 Thread José Henrique
You can find this information in the Zope Book: http://www.plope.com/Books/2_7Edition/ScriptingZope.stx#1-6 Zenrique.2005/10/18, Garry Saddington <[EMAIL PROTECTED]>: Having had a bit of a lambasting over my use of dtml, I have started tolearn zpt. However, I am curious about the following:How do

Re: [Zope] problem

2005-11-21 Thread José Henrique
Are you using CMF? If so, CMFDefault.utils has a function (isHTMLSafe) that strips tags like embed. José Henrique. 2005/11/21, David De Maeyer <[EMAIL PROTECTED]>: > Hi all, > > Got a weird problem with Zope... One of our user > reported the following issue (under Zope 2.6.0):

Re: [Zope] ZMI

2005-11-28 Thread José Henrique
Look at the "SECURITY.txt" file in your ZOPE/doc folder.  There you can find instructions to solve your problem. José Henrique.2005/11/28, Mark Smith <[EMAIL PROTECTED]>: I have had to reinstall Plone and Zope on my computer.  I now find that whenI try to log into ZMI and http:

Re: [Zope] (no subject)

2006-07-20 Thread José Henrique
I couldn't reproduce this behavior.  When I try to make such assignement (myObject.title='The new title'), Zope returns this messageattribute-less object (assign or del) I'm using Zope 2.7.6-final, python 2.3.4. Jose Henrique2006/7/18, Martijn Pieters <[EMAIL PROTECTED]>: On 18 Jul 2006 19:12:54 -0

Re: [Zope] Increment In PT?

2007-07-30 Thread José Henrique
Use ZPT repeat variables ( http://www.plope.com/Books/2_7Edition/AdvZPT.stx#2-3). 2007/7/30, Peter Bengtsson <[EMAIL PROTECTED]>: > > You can use the ZTUtils Iterator() > > > > > > > > > Which might give you some freedom such as iter/Roman or iter/odd > The above is practically the

Re: [Zope] Increment In PT?

2007-07-30 Thread José Henrique
Try this way: Zenrique. 2007/7/30, Peter Bengtsson <[EMAIL PROTECTED]>: > > You should now have all the parts. > Instead of iterating over python:range(1000) do it on bitem_ids instead. > > You don't have to use a tag. You can use > > if you want. > You increment it by calling tal:

Re: [Zope] Increment In PT?

2007-07-30 Thread José Henrique
I understood that 'bitems' was a sequence of dictionaries. Ex: ({'name': 'xyz', 'id': 1'},{'name': 'pex', 'id': 2},{'name': 'wei', 'id': 3}...). If it's something different, you have to change the code to handle your object properly. Zenrique. 2007/7/30, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > >

Re: [Zope] Re: urlparse equivalent

2007-12-18 Thread José Henrique
> David Bear skrev: > > On Fri, Dec 14, 2007 at 09:16:54PM +, [EMAIL PROTECTED] wrote: > > > I'm a little suprised that there isn't anything like urlparse > > functionaly in zope. I would think parsing urls would be a fairly > > common chore. Which leads me to think that I may be thinking > > c