Re: [Zope] zope changes : dtml-var

2010-02-16 Thread Allen Schmidt Sr.
Ha. Yup, I missed that. Makes sense now. Just did not look at the whole 
thing, just the dtml-var part.

On 2/16/2010 2:10 AM, Jaroslav Lukesh wrote:
> I think that problenm is in the name of formfield - it begins with an "_"
>
> - Original Message -
> From: "Allen Schmidt Sr."
> To:
> Sent: Monday, February 15, 2010 11:44 PM
> Subject: Re: [Zope] zope changes : dtml-var
>
>
>
>> ...but why wouldn't the dtml version also work as he has it below? I
>> have hundreds of form uses just like thatand we have never used the
>> entity syntax.
>>
>>  
>
>>>> 
>>>> 
>>>> 
>>>>  
> ___
> Zope maillist  -  Zope@zope.org
> https://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>   https://mail.zope.org/mailman/listinfo/zope-announce
>   https://mail.zope.org/mailman/listinfo/zope-dev )
>
>
>
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] zope changes : dtml-var

2010-02-15 Thread Jaroslav Lukesh
I think that problenm is in the name of formfield - it begins with an "_"

- Original Message - 
From: "Allen Schmidt Sr." 
To: 
Sent: Monday, February 15, 2010 11:44 PM
Subject: Re: [Zope] zope changes : dtml-var


> ...but why wouldn't the dtml version also work as he has it below? I 
> have hundreds of form uses just like thatand we have never used the 
> entity syntax.
> 

>>> 
>>> 
>>> 

___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] zope changes : dtml-var

2010-02-15 Thread Allen Schmidt Sr.
...but why wouldn't the dtml version also work as he has it below? I 
have hundreds of form uses just like thatand we have never used the 
entity syntax.

-Allen


On 2/15/2010 5:17 PM, Tres Seaver wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Martin Krallinger wrote:
>
>> Hi,
>>
>> it seems that there some of the options in zope had been changed. I have
>> been looking
>> in the documentation but did not find any explanation on what I am
>> trying to do, which
>> results in a formatting error message in new zope version, but worked
>> fine in the older one.
>>
>> I have an input form, to which I provided a dtml-var as value,something
>> like:
>>
>> 
>> 
>> 
>>
>>
>> How can I provide as value now the variable  ? It
>> seems that
>> there are substantial changes here. I
>>  
> You want to use the "entity" syntax for attributes:
>
>
>
> Note that 'person_name' must be available to the template, either in the
> request or as an attribute of the "context" of the template.
>
>
> Tres.
>
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] zope changes : dtml-var

2010-02-15 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Martin Krallinger wrote:
> Hi,
> 
> it seems that there some of the options in zope had been changed. I have 
> been looking
> in the documentation but did not find any explanation on what I am 
> trying to do, which
> results in a formatting error message in new zope version, but worked 
> fine in the older one.
> 
> I have an input form, to which I provided a dtml-var as value,something 
> like:
> 
> 
> 
> 
> 
> 
> How can I provide as value now the variable  ? It 
> seems that
> there are substantial changes here. I

You want to use the "entity" syntax for attributes:

  

Note that 'person_name' must be available to the template, either in the
request or as an attribute of the "context" of the template.


Tres.
- --
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   "Excellence by Design"http://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkt5yAUACgkQ+gerLs4ltQ5whACdEPNtwRsrtbHVVleS+ZsuMksO
aSsAoI7/4hESKVWPKgZaLYoc+vAihvTr
=j9eI
-END PGP SIGNATURE-

___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] zope changes : dtml-var

2010-02-15 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Martin Krallinger wrote:
> Hi,
>
> it seems that there some of the options in zope had been changed. I
> have been looking in the documentation but did not find any
> explanation on what I am trying to do, which results in a
> formatting error message in new zope version, but worked fine in
> the older one.
>
> I have an input form, to which I provided a dtml-var as
> value,something like:
>
>   
>
>
> How can I provide as value now the variable 
> ? It seems that there are substantial changes here. I
>
DTML has not changed for ages. What exactly isn't work?...please
give a reasonable description of the problem.

Andreas
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkt5eOAACgkQCJIWIbr9KYwC3QCfbNV2UArrBfYv4z9FZFQCXjfE
0FQAn3XcOuc0HGSyZyc+QipH8Omw+XD2
=koe/
-END PGP SIGNATURE-

<>___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )