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);
})
}
Ah yes, of course you're absolutely correct. Thanks very much, Ivan.
On 2 April 2013 09:17, Ivan Khalopik wrote:
> As I know RegistryShutdownHub is not deprecated.
> RegistryShutdownListener is deprecated and can be replaced with a Runnable.
>
>
> http://tapestry.apache.org/current/apidocs/org
As I know RegistryShutdownHub is not deprecated.
RegistryShutdownListener is deprecated and can be replaced with a Runnable.
http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/ioc/services/RegistryShutdownHub.html#addRegistryShutdownListener(java.lang.Runnable)
On Tue, Apr 2, 2013 a
Now that RegistryShutdownHub has been deprecated in 5.3, is there a
preferred way for services to be notified that the application is shutting
down?
Gratefully,
Michael
Hi Alejandro,
the above example works ok! I moron had forgotten to remove
contributeSecurityConfiguration in DevelopmentModule which was overriding
configuration in AppModule.
Those three lines are all I need.
I have a form in the allowed page and it works as expected. What did you
mean by addit
Hi Borut
For rulling out everything but one "public" folder this configuration
should work.
configuration.add(factory.createChain("/assets/**").add(factory.anon()).build());
configuration.add(factory.createChain("/public/**").add(factory.anon()).build());
configuration.add(factory.createChain("/*