I post a form with just form data(kinds of inputs), and I want to display the values when responsed from tornado server.
And when I use the variable in a template as follows:
<td style="width: 55%">
<label>Fund:</label>
<input name="fund" type="text" value="{{ fund }}">
<span class="help-block"></span>
</td>
it turns out an error, it is same as Handling an undefined template variable in Tornado.
So the question is how I can get a variable from request like java, eg: reqeust.getAttribute("key"); in jsp, Because I can put some variable in to request through request.setAttribute("key", value);
Anyone can help? Thanks a lot.... And I will do appreciate if some good person provides a link to detailed tornado template doc except the official doc, which I think is too simple on template...