I should've copied the list on this. -----Original Message----- From: Kevin Dangoor <kid@kendermedia.com> To: Francisco Sam Castillo <fsam@proyecto-web.com.mx> Date: Tuesday, September 07, 1999 8:44 PM Subject: Re: [Zope] view_source???
-----Original Message----- From: Francisco Sam Castillo <fsam@proyecto-web.com.mx> To: Kevin Dangoor <kid@kendermedia.com> Date: Tuesday, September 07, 1999 7:18 PM Subject: RE: [Zope] view_source???
....
Here was the result:
<!--#var standard_html_header--> <pre> <!--#var "document_src(REQUEST,RESPONSE)" html_quote--> </pre>
<!--#call "RESPONSE.setHeader('content-type','text/html')"-->
<!--#var standard_html_footer-->
Yes you all are right I was lost because I was looking on the zope old site and, know I got it thanks so much, I have one more question it might be to simple but fur me it is not, has anyone setup the rate option of the KMnetNews script I made a form and send the result to the rate method but it replies with an error:
Error Tipo: TypeError Error Valor: number coercion failed
I made it like normal html form is there where my mistake is?
I should do a better job documenting this part of things.
Here is the form I use at byproducts.com
<form action=rate method=post> <center> <table> <tr><td>Boring</td><td> <input type=radio name="newpoints:int" value=0> <input type=radio name="newpoints:int" value=1> <input type=radio name="newpoints:int" value=2> <input type=radio name="newpoints:int" value=3> <input type=radio name="newpoints:int" value=4> <input type=radio name="newpoints:int" value=5> <input type=radio name="newpoints:int" value=6> <input type=radio name="newpoints:int" value=7> <input type=radio name="newpoints:int" value=8> <input type=radio name="newpoints:int" value=9> <input type=radio name="newpoints:int" value=10> </td><td>Rolling on the Floor</td></tr> <tr><td> </td><td align=center><input type=submit value="Vote!"></td> <td> </td></tr> </table> </center> </form>
You need to do something to make sure that the rating that is coming in is an integer. In the example above, I basically create a line of radio buttons and the user just clicks on the line.
Kevin