I'm still trying to understand the ORB mapping in Zope. I tried to do the following 1) call a document with http://localhost/zope/test?tipo=5 and now 'tipo' is variable of document 'test' 2) in document 'test' I make a query in a database and I put everything in a select box <select name=test> <!--#in query_test--> <option value=<!--#var tipo_id-->> <!--#/in--> </select> OK. This works. But if i want to put the option 'tipo' selected? This code fails because tipo is not in the query_test object. Is it possible to get the 'tipo' value inside the 'query_test' object? <select name=test> <!--#in query_test--> <option <!--#if expr="tipo_id==tipo"> selected <!--#/if--> value=<!--#var tipo_id-->> <!--#/in--> </select> Thanks for your attention pedro _________________________________________________________ DO YOU YAHOO!? Get your free @yahoo.com address at http://mail.yahoo.com
participants (1)
-
Pedro Lima