On May 28, 2009, at 10:35 AM, Jörg Agatz wrote:
In the First, i tryed to print the Respons on the Display..
i tryed with this Code:
<div class="sort-fields">
<center><b>SORT</b></center><br>
HIER wird SORTIERT<br>
you search for $(response.responseHeader.params.q)
</div>
But it dosent Work, hi only Print:
SORT
HIER wird SORTIERT<br>
you search for $(response.responseHeader.params.q)
You need to use curly brackets, not parens (actually often the curly
brackets are optional). This is Velocity syntax. For more
information on Velocity, see here: http://velocity.apache.org
It can be handy to append .class to references too, for debugging, and
see what kind of object something is.
$response.class for example, or $response.responseHeader.class
Erik