[Zope] dtml-except

2010-10-04 Thread larrymcdonnell
Hi, I need the old timers to help with a zope dtml-try/dtml-except conditions. I am using Zope 2.6.1. My problem is as follows: dtml-if expr=fluency_temp'' fluency - dtml-var fluency_temp** dtml-call REQUEST.set('fluency_test', fluency_temp) dtml-call

Re: [Zope] Error trapping Duplicate entry in a database

2007-02-15 Thread larrymcdonnell
-- Original message from [EMAIL PROTECTED]: -- Hi, Thanks for the pointers but how can I trap for the first error. I am populating a list and if the user makes a mistake and uses the wrong application. I want to display only one message and the link to the correct

Re: [Zope] Error trapping Duplicate entry in a database

2007-02-15 Thread larrymcdonnell
Hi, Thanks for the response, can you point me to some examples of python code that will handle this situation. Sorry for th html... Thanks, Larry -- Original message -- From: Jonathan [EMAIL PROTECTED] It would be much easier (and preferable) to handle the

[Zope] Error trapping Duplicate entry in a database

2007-02-14 Thread larrymcdonnell
Hi, I am trying to find a friendlier way of error traping when I am perform some database activities. The one I am looking for first is checking for a duplicate entry in a database. I googled around but I could not find the answer I am looking for. I am using an older version of zope (Zope

[Zope] Problems with lists

2006-09-05 Thread larrymcdonnell
Hi, I am trying to create five list to collect student scores. As you can see I am using simple html to create them. 1) SELECT NAME="student_score1_temp" option value=""/option OPTION VALUE="0"0 OPTION VALUE="2"1 OPTION VALUE="3"2 OPTION VALUE="3"3 OPTION VALUE="4"4 OPTION VALUE="5"5

Re: [Zope] Problems with lists

2006-09-05 Thread larrymcdonnell
Hi, I cleaned my glasses and saw that I fat fingered some keys. I am glad it was that easy to fix. Larry -- Original message from [EMAIL PROTECTED]: -- Hi, I am trying to create five list to collect student scores. As you can see I am using simple html to create

Re: [Zope] Creating and displaying lists

2006-07-14 Thread larrymcdonnell
Hi Jonathon, I will adjust my code. I have written some Python code but very simple tasks and would like to do more.I don't program that often. I work for a school system in Connecticut. So if you have an example of what your are talking about I am willing to try it. Thanks again, Larry

[Zope] Creating and displaying lists

2006-07-13 Thread larrymcdonnell
Hi, I need to collect a list of student id numbers from one table so I can take this list, find them in another table, and display their names so their teachers can give them a score. I still like to use DTML but I do not know if I have the sequence-number in the proper format. This is what