[Zope] A little DTML problem?
François-Régis CHALAOUX
fchalaou@strasbourg.synthelabo.fr
Thu, 22 Apr 1999 22:48:04 +0100
Hi Zopistes,
Howto to kill this error, any idea?
FR |-I
Active part of my DTML document
===========================
<!--#call "REQUEST.set('softwareid','')"-->
<!--#with software-->
<!--#in view_software-->
<form ACTION="test_index_do(REQUEST)">
<INPUT TYPE="RADIO" NAME="softid:int" VALUE="<!--#var idsoftware-->">
<strong><!--#var softname--> <!--#var sversion--></strong><BR>
<!--#call "REQUEST.set('softwareid',_['idsoftware'])"-->
<!--#with softdomain-->
<!--#in view_domain_of_soft(_['softwareid'])-->
<INPUT TYPE="HIDDEN" NAME="domain:int" VALUE="<!--#var domname-->">
<!--#var domname--><br>
<!--#/in-->
<!--#/with-->
<!--#/in-->
<select name="domainid:int">
<!--#with domain-->
<!--#in view_domain-->
<OPTION value=<!--#var iddomain-->:int><!--#var domname--></OPTION>
<!--#/in-->
</select>
<!--#/with-->
<input type="submit" name="Submit" value="Submit"><br><br>
</form>
<!--#/with-->
ERROR
======
<FONT SIZE="+2">System Unavailable</FONT>
<P>This site is currently experiencing technical difficulties.
Please contact the site administrator for more information. For
additional technical information, please refer to the HTML source for this
page. Thank you for your patience.</P>
</TD>
</TR>
</TABLE>
<!--
Error type:
Error value: view_domain_of_soft(_['idsoftware'])
-->
</body>
</html>
<!--
Traceback (innermost last):
File C:\Program Files\zopesite\lib\python\ZPublisher\Publish.py, line 877, in publish_module
File C:\Program Files\zopesite\lib\python\ZPublisher\Publish.py, line 590, in publish
(Info: /GadSoft_0-1/DBALS/softdomain/add_softdomain)
File C:\Program Files\zopesite\lib\python\OFS\DTMLDocument.py, line 212, in __call__
(Object: add_softdomain)
File C:\Program Files\zopesite\lib\python\OFS\DTMLDocument.py, line 208, in __call__
(Object: add_softdomain)
File C:\Program Files\zopesite\lib\python\DocumentTemplate\DT_String.py, line 513, in __call__
(Object: add_softdomain)
File C:\Program Files\zopesite\lib\python\DocumentTemplate\DT_With.py, line 138, in render
(Object: software)
File C:\Program Files\zopesite\lib\python\DocumentTemplate\DT_In.py, line 675, in renderwob
(Object: view_software)
File C:\Program Files\zopesite\lib\python\DocumentTemplate\DT_With.py, line 138, in render
(Object: softdomain)
File C:\Program Files\zopesite\lib\python\DocumentTemplate\DT_In.py, line 617, in renderwob
(Object: view_domain_of_soft(_['idsoftware']))
KeyError: (see above)
-->