Hi
I try to get the icons of the installed products
I try to get it with the self.all_meta_types()/instance/icon
My better result is something like:
misc_/Audio/mp3.gif
with these path I can use:
self.unrestrictedTraverse(icon)
where icon is the path above (misc_/Audio/mp3.gif)
With these
Hi
I try to validate a formulator object with a python script
If an error was submitted the python script would acquire again the zope
page template that render the formulator with the error messages
My problem is than when I try to return the ZPT render Zope process the
return and convert ,
Ok, thanks and sorry for the error
- Original Message -
From: Kapil Thangavelu [EMAIL PROTECTED]
To: Garito [EMAIL PROTECTED]
Cc: Lista Oficial de Zope [EMAIL PROTECTED]
Sent: Sunday, March 21, 2004 8:45 AM
Subject: Re: [Zope-dev] strange path
most likely Concepto object id
Hi
I try to create another context object for TALES
like 'container' or 'here'
Is there any mechanism to create these? Like
PUT_factory for FTP/WevDav or meta_types for the products
Thanks!!
___
Zope-Dev maillist - [EMAIL PROTECTED]
Hi
on a ZPT I put a here/absolute_url and these is the
response:
http://localhost:8080/Plantillas/Pruebas/Objetos///Minima
the correct path would be:
http://localhost:8080/Plantillas/Pruebas/Objetos/Concepto/Vistas/Minima
What's happening here?
TIA
Hi Chris!
Want I want exactly is to create a product's object by his name
programmatically not by the construction form
Is this posible?
Thanks!!!
- Original Message -
From: Chris Withers [EMAIL PROTECTED]
To: Garito [EMAIL PROTECTED]
Cc: Lista Oficial de Zope [EMAIL PROTECTED]
Sent
Hi Max
I understand what you explain but what about if I install a new product?
Rewrite the factory?
I think is not a good solution don't you think?
Thanks!!
- Original Message -
From: Max M [EMAIL PROTECTED]
To: Garito [EMAIL PROTECTED]
Cc: Lista Oficial de Zope [EMAIL PROTECTED]
Sent
Hi all
I would like to create a product knowing the name
of these product. How to do it?
I arrive to product but I don't know how to create
it and set to de container
With these code
self['manage_addProduct']['product'].manage_addMyProductManageAdd(id,
content)
In the information
Hi all
Finally I solve my problem with Tres Seaver's help (THANK YOU)
I overridethe __bobo_traverse__
with:
def __bobo_traverse__(self, Request,
Name):import sysif
sys._getframe(1).f_code.co_name == "traverse":return
getattr(self, Name)else:return
self.Propiedad(Name)
self.Propiedad is
Garito wrote:
Can I know the execution contexto of an object?
I would like to know if the object is call by ZMI or DTML or Page
Templates etc
is it posible?
Perhaps; I am not sure I can see why it would be *desirable*. Given
that Scripts, DTMLMethods, etc., try pretty hard to push
Hi all
Can I know the execution contexto of an
object?
I would like to know if the object is call by ZMI
or DTML or Page Templates etc
is it posible?
Thank you
___
Zope-Dev maillist - [EMAIL PROTECTED]
Hi
I try to know the context of the execution of my
product to overrite the values of the properties of my product
It will be like a sof-link
I have the property Master. These property is an
url to the real object
When I execute the ZMI I would like to see the real
content of my object
Hi
I have these function
def Propiedad(self,
Name):
"""Propiedad""" Obj =
self Maestro = getattr(Obj,
'Maestro', None) Paso =
1 while Maestro is not
None: Obj
=
self.restrictedTraverse(Maestro.contenido).__of__(self)
Maestro = getattr(Obj, 'Maestro',
None) Paso
+= 1 if
Paso == 15:
Hi, all
I try to override PUT_factory method in my
container product
I read in several webpages I need to create a
PUT_factory method in my product to override these mechanism
These method could be like:
def PUT_factory(self, name, typ,
body):
return ZopePageTemplate(name,
body,
14 matches
Mail list logo