[Zope] ZPT and attributes

2005-04-08 Thread Antonio Beamud Montero
Hi all: How I can create attribute names dynamically? For example, I want something like this: books ref1=http://boo; ref2=http://foo; ... Where ref1 and ref2, are created by the url list. I have done in DTML because I cannot with ZPT. Thanks... ___

Re: [Zope] ZPT and attributes

2005-04-08 Thread Antonio Beamud Montero
El vie, 08-04-2005 a las 16:55 +0200, Lennart Regebro escribió: On Apr 8, 2005 4:51 PM, Antonio Beamud Montero [EMAIL PROTECTED] wrote: Hi all: How I can create attribute names dynamically? tal:attributes=attributename expression Sorry, I haven't explain the problem correctly

[Zope] Not authorized to access binding

2006-05-25 Thread Antonio Beamud Montero
Hi all: I'm using Zope 2.7. I have created a product that inherits from Folder. The security assertions are:: security = ClassSecurityInfo() security.declareObjectProtected('View management screens') But I need to publish some ZPT methods public. I have declared them:

Re: [Zope] Re: Not authorized to access binding

2006-05-25 Thread Antonio Beamud Montero
El jue, 25-05-2006 a las 12:49 -0400, Tres Seaver escribió: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Your template uses 'here', which is and alias for the 'context' binding, i.e. the object through which the template was acquired. That object has permission settings which prevent

[Zope] nested metal macros

2006-08-22 Thread Antonio Beamud Montero
Hi all: I'm trying to nest several macros but only the last is showed. I define for example macroA with a slot named slotA for example. macroB uses macroA and fills slotA, but also defines a slot.. something like this: - MacroA html xmlns=http://www.w3.org/1999/xhtml;

Re: [Zope] nested metal macros

2006-08-22 Thread Antonio Beamud Montero
El mar, 22-08-2006 a las 19:13 +0200, Dieter Maurer escribió: Antonio Beamud Montero wrote at 2006-8-22 08:46 +0200: ... - MacroB div xmlns:metal=http://xml.zope.org/namespaces/metal; metal:use-macro=container/macroA/macros/macroA span metal:fill-slot=slotA div

Re: [Zope] nested metal macros

2006-08-22 Thread Antonio Beamud Montero
El mar, 22-08-2006 a las 19:34 +0200, Dieter Maurer escribió: Antonio Beamud Montero wrote at 2006-8-22 19:21 +0200: ... Ok... I want to define a template (like a skeleton), other template (like the body of the skeleton) and lot of templates in sections of the body of the skeleton and reuse

[Zope] DTML - ZPT

2006-08-31 Thread Antonio Beamud Montero
Is this the equivalence? dtml-var day fmt=%02i td tal:replace=python:'%02i'%item['day'] or exists other way? Greetings. ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related

[Zope-dev] Rendering xml content in ZPT

2003-11-10 Thread Antonio Beamud Montero
this method, the xml is exactly the same... What I need to do to rendering this document appliying changes? A lot of thanks. -- Antonio Beamud Montero [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo

Re: [Zope-dev] Rendering xml content in ZPT

2003-11-11 Thread Antonio Beamud Montero
, Nov 10, 2003 at 05:50:46PM +0100, Antonio Beamud Montero wrote: | Hi all: | I have problems to rendering data if the ZPT is xml content-type. | I have include xmlns:tal namespace definition and a replacemente of an | attribute in the xml text with | loc src=http://localhost; tal:attributes

Re: [Zope-dev] Rendering xml content in ZPT

2003-11-13 Thread Antonio Beamud Montero
the bundled Python to install a recent version of PyXML; Expat is bundled directly and does not require any external libraries. This is also the approach taken in newer versions of Python (2.3 and newer). -Fred -- Antonio Beamud Montero [EMAIL PROTECTED

Re: [Zope-dev] Rendering xml content in ZPT

2003-11-14 Thread Antonio Beamud Montero
I can't find the related issue, I can post a new one. The most closest is the 258 bug... El jue, 13-11-2003 a las 17:23, Fred L. Drake, Jr. escribió: Antonio Beamud Montero writes: I have downloaded the last version of PyXML and I have installed using the python version of Zope 2.6

[Zope-dev] Problems with zope 2.7.0 and ZODB (suse 9.1)

2005-03-29 Thread Antonio Beamud Montero
Hi all: I get the next errors, when I try to add some of my Product Instances... (In zope 2.5.0 works well...) 2005-03-29T18:52:47 INFO(0) ZODB Opening database for mounting: '1110315472_1112115167.490661' -- 2005-03-29T18:52:47 PROBLEM(100) ZODB Failed to mount database.