RE: eventlink with multiple context parameters

2018-10-03 Thread Ross, Cyndy
try Change Relation square brackets doesn't work for me either. not sure why list: is not documented. cheers, Cyndy From: D. R. [d.re...@googlemail.com.INVALID] Sent: Tuesday, October 02, 2018 10:48 AM To: users@tapestry.apache.org Subject:

Re: Add HTTP security Headers in the response

2018-10-03 Thread Ajay Arora
Thank you the quick response and solution. is this way of putting the headers gives us any advantages over having filter in front of Tapestry filter like may be better performance ? I believe the built-in Tapestry filters would be called before any custom filter(s) and one of those filter like

Re: Add HTTP security Headers in the response

2018-10-03 Thread Ben Weidig
Hi, you could use a org.apache.tapestry5.services.RequestFilter.class to access the response ( http://tapestry.apache.org/current/apidocs//org/apache/tapestry5/services/RequestFilter.html ) Something like this (untested code): public class MySecurityHeadersRequestFilter implements RequestFilter

Add HTTP security Headers in the response

2018-10-03 Thread Ajay Arora
Hello All, We're looking for ways to add different http security headers like X-Frame-Options, X-XSS-Protection and others into the http response. We're using Tapestry 5.4.3. One way I found was to add a additional filter in web.xml before the Tapestry Filter takes over but then it add the

Re: eventlink with multiple context parameters

2018-10-03 Thread Chris Poulsen
I think that you may be hit by some type erasure on the map. That said Tapestry also has some correctness issues with some generic constructs where it detects a too generic type in some complex cases. We are overriding the GenericsUtils class with an implementation that uses Guava's TypeToken for