FYI
https://issues.apache.org/jira/browse/TAP5-2021
On 3/04/2013 1:32 AM, Tony Nelson wrote:
I thought maybe I could contribute a ValueEncoder but that only sees
individual parameters, not the whole request.
Even this might work:
JSONObject onButton1Press(JSONObject jsonObject) {
>
>> I thought maybe I could contribute a ValueEncoder but that only sees
>> individual parameters, not the whole request.
>>
>> Even this might work:
>>
>>JSONObject onButton1Press(JSONObject jsonObject) {
>>SimplePojo pojo = SimplePojo.build(jsonObject);
>>logger.info(pojo.toS
On Tue, 02 Apr 2013 11:03:04 -0300, Tony Nelson
wrote:
JSONObject onButton1Press(SimplePojo pojo) {
logger.info(pojo.toString());
return new JSONObject("response", "ok3");
}
For this kind of parameter in an event handler method, Tapestry expects it
to be in the eve
Given a simple contrived example like this:
$('#button1').click(function (event) {
$.get(specs.button1_url, { a: 'b', c: 'd'})
.done(function(data) {
$("#responseDiv").text(data.response);
})
}