[Zope] Adding HTML to Python

2006-12-06 Thread April Lekin
In Python I'm building this error message: l_errorMessage = "These IDs have Errors" Loop l_errorMessage = l_errorMessage + " %s " % (ID) end loop return l_errorMessage. How can I put breaks (returns) between the IDs so each ID will be displayed on it's own line? like: These IDs have Errors

Re: [Zope] Adding HTML to Python

2006-12-06 Thread Roberto Benitez
gt; To: zope@zope.org Sent: Wednesday, December 6, 2006 11:12:20 AM Subject: [Zope] Adding HTML to Python In Python I'm building this error message: l_errorMessage = "These IDs have Errors" Loop l_errorMessage = l_errorMessage + " %s " % (ID) end loop return l_errorM

Re: [Zope] Adding HTML to Python

2006-12-06 Thread Dragos Chirila
maybe you can try to add new lines l_errorMessage = l_errorMessage + " %s\n " % (ID) regards, Dragos On 12/6/06, April Lekin <[EMAIL PROTECTED]> wrote: In Python I'm building this error message: l_errorMessage = "These IDs have Errors" Loop l_errorMessage = l_errorMessage + " %s " % (ID) e

Re: [Zope] Adding HTML to Python

2006-12-06 Thread Andrew Milton
+---[ April Lekin ]-- | In Python I'm building this error message: | | l_errorMessage = "These IDs have Errors" | Loop | l_errorMessage = l_errorMessage + " %s " % (ID) | end loop | | return l_errorMessage. | | How can I put breaks (returns) between the IDs so each ID w

Re: [Zope] Adding HTML to Python

2006-12-06 Thread April Lekin
quot; %s" % (ID) #ADD AT END OF EACH ID ENTRY end loop - Original Message From: April Lekin <[EMAIL PROTECTED]> To: zope@zope.org Sent: Wednesday, December 6, 2006 11:12:20 AM Subject: [Zope] Adding HTML to Python In Python I'm building this error message: l_errorM

Re: [Zope] Adding HTML to Python

2006-12-06 Thread Dragos Chirila
; %s" % (ID) #ADD AT END OF EACH ID ENTRY end loop - Original Message From: April Lekin <[EMAIL PROTECTED]> To: zope@zope.org Sent: Wednesday, December 6, 2006 11:12:20 AM Subject: [Zope] Adding HTML to Python In Python I'm building this error messa

Re: [Zope] Adding HTML to Python

2006-12-06 Thread April Lekin
Hi, That doesn't work either! It doesn't print anything. Weird! At 09:44 AM 12/6/2006, Dragos Chirila wrote: maybe you can try to add new lines l_errorMessage = l_errorMessage + " %s\n " % (ID) regards, Dragos On 12/6/06, April Lekin <[EMAIL PROTECTED]> wrote: In Python I'm building this e