[Zope] prefix attribute in dtml-in

Gabriel Genellina gagsl-zope at yahoo.com.ar
Sat Jun 10 06:33:26 EDT 2006


At Thursday 8/6/2006 22:12, you wrote:

>Error Type: NameError
>Error Value: name 'topic_var_fulltitle' is not defined
>
>I accidentally put 'sequence_var_fulltitle' in the example code below,
>I'm actually using 'topic_var_fulltitle'

That should work, given that getConsulting() returns a result with a 
column named "var_fulltitle".
You can use "names" to see the actual column names: <dtml-var 
expr="getConsulting().names">
(or perhaps it is .names(), this code is untested)



Gabriel Genellina
Softlab SRL 


	
	
		
___________________________________________________________ 
1GB gratis, Antivirus y Antispam 
Correo Yahoo!, el mejor correo web del mundo 
http://correo.yahoo.com.ar 



More information about the Zope mailing list