----- Forwarded message from Kamil Dworakowski <[email protected]> -----
Date: Fri, 13 Mar 2009 18:28:39 +0000 From: Kamil Dworakowski <[email protected]> To: [email protected] Subject: twill bug - twill doesnt like <br/> Hi, we are using twill-0.9-py for testing django applications. We came across this bug this afternoon, my colleague said he has stubled upon it some time ago too. It is basically a problem with parsing <br/> as opposed to <br />. We were getting a GET request without any parameters instead of POST with expected parameters. It started working as expected as soon as we replaced <br/> with <br />. Here is a fragment of the template for the page. <br /> <form method="POST" action="{% url purchase %}"> <table id="features-table"> <tr> <td></td> <td class="small-heading">Qty.</td> </tr> {% for feature, count in allFeatures %} <tr> <td>{{feature.longName}}</td> <td><input type="text" name="{{feature.shortName}}" value="{{count}}" size="1" /></td> </tr> {% endfor %} </table> <input type="image" src="/images/buy-commercial.png" alt="Buy Resolver One" name="buy" id="buy-commercial" /> </form> ----- End forwarded message ----- -- C. Titus Brown, [email protected] _______________________________________________ twill mailing list [email protected] http://lists.idyll.org/listinfo/twill
