Re: LDAP integration

2015-02-23 Thread martijn.list
On 02/23/2015 12:50 PM, Bob Harner wrote: > If you are already using Spring heavily in your app then Spring Security is > a reasonable choice. Otherwise I recommend you follow Jay's advice ad use > the Tapestry-security module, which is a thin wrapper around Shiro. A lot > of Tapestry users have ha

[T5.4] Problem with large file downloads and tapestry.session-locking-enabled

2014-12-08 Thread martijn.list
Hi, With tapestry.session-locking-enabled set to true downloading large files (which take a while to download) result in lock-ups. If for example I click a download link in Chrome and then immediately click another download link (while the other download is still in progress), the second file is n

Re: File selected for upload is cleared when page validation fails [T5.4]

2014-12-08 Thread martijn.list
d to think Kind regards, Martijn > > On Friday, December 5, 2014, Thiago H de Paula Figueiredo < > thiag...@gmail.com> wrote: > >> On Fri, 05 Dec 2014 16:41:55 -0200, martijn.list >> wrote: >> >> Hi, >>> >> >> Hi! >> >

File selected for upload is cleared when page validation fails [T5.4]

2014-12-05 Thread martijn.list
Hi, I have a form which contains an Upload component and some other fields. If I select a file for upload and submit the form and the page validation fails (for example because I forgot to fill in some required field), the selected file is no longer selected. Is this by design? The other fields

Re: [5.4] In Firefox, loading a page never finishes (hangs at the pageloading-mask)

2014-11-06 Thread martijn.list
he same problem again I'll try to investigate further Kind regards, Martijn > > > > On Wed, 05 Nov 2014 20:54:42 +1100, martijn.list > wrote: > >> Whenever I open a page in Firefox, the page always hangs showing the >> pageloading-mask (the wait while loa

Re: [5.4] In Firefox, loading a page never finishes (hangs at the pageloading-mask)

2014-11-06 Thread martijn.list
E_PROVIDER, > "jquery"); > > Is this helping ? I already have this in my module so unfortunately this was does not solve it :( Kind regards, Martijn > > 2014-11-05 10:54 GMT+01:00 martijn.list : > >> Whenever I open a page in Firefox, the page always hangs

[5.4] In Firefox, loading a page never finishes (hangs at the pageloading-mask)

2014-11-05 Thread martijn.list
Whenever I open a page in Firefox, the page always hangs showing the pageloading-mask (the wait while loading indicator). This only happens when Javascript is enabled and only on Firefox. My pages work perfectly on Chrome. This happened before with a really basic page and somehow it started working

Request parameter is lost when redirecting from http to https

2011-06-30 Thread martijn.list
I have enabled https globally for all pages by setting MetaDataConstants.SECURE_PAGE to true. Now if I access a page with a URL containing a request parameter, the request parameter is lost when redirecting: http://example.com/activate?key=13094257801800ogbw2aci47q36c7okl477kxf6m GET /activate?ke

How can I 'force' Tapestry to use HTTPS if the page was loaded via HTTPS?

2011-06-30 Thread martijn.list
I have a page which can be loaded via http or https. I don't want to enforce https using @Secure. When the user enters the page via https, all form postings should be done with https (i.e., relative URLs) and when the user enters the page via http, all form postings should be done with http. In oth

Re: Is it possible te 'replace' ClientDataEncoder

2011-06-21 Thread martijn.list
On 06/21/2011 01:49 PM, Thiago H. de Paula Figueiredo wrote: > On Tue, 21 Jun 2011 07:37:51 -0300, martijn.list > wrote: > >> It took me some time to get rid of the "tapestry Construction of service >> 'ServiceOverride' has failed due to recursion" er

Re: Is it possible te 'replace' ClientDataEncoder

2011-06-21 Thread martijn.list
HMACClientDataEncoder is the new implementation of ClientDataEncoder Kind regards, Martijn Brinkers On 06/21/2011 08:32 AM, martijn.list wrote: > I would like to use my own implementation of ClientDataEncoder. Is it > possible to replace the existing ClientDataEncoder with my own > implementation

Is it possible te 'replace' ClientDataEncoder

2011-06-20 Thread martijn.list
I would like to use my own implementation of ClientDataEncoder. Is it possible to replace the existing ClientDataEncoder with my own implementation? Kind regards, Martijn Brinkers - To unsubscribe, e-mail: users-unsubscr...@tape

Re: RequestFilter not called (sometimes)

2011-02-19 Thread martijn.list
On 02/19/2011 05:07 PM, Donny Nadolny wrote: > I have a few static javascript files which are used on 3rd party websites, > so they have the full url to my website hard coded in to them (for ajax > calls). In order to test things locally, I need to replace that url with > localhost. I've made a pag

Re: [T5] How can I validate cross component in a form submit?

2010-02-26 Thread martijn.list
Thiago H. de Paula Figueiredo wrote: Oops, I though you were talking about a form inside your component, not outside. According to Howard's posting it can be done using FormSupport? https://issues.apache.org/jira/browse/TAPESTRY-2515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tab

Re: [T5] How can I validate cross component in a form submit?

2010-02-26 Thread martijn.list
Thiago H. de Paula Figueiredo wrote: I have a component with multiple fields. Because validation of the component depends on multiple fields I would like to validate the component after all the field have been set. Just handle the validateForm event from Form. Yes that I know :) but it kind

[T5] How can I validate cross component in a form submit?

2010-02-26 Thread martijn.list
Hi, I have a component with multiple fields. Because validation of the component depends on multiple fields I would like to validate the component after all the field have been set. According to this Jira entry I should use @Environmental FormSupport: https://issues.apache.org/jira/browse/TA

Re: What websites are using Tapestry 5?

2010-02-16 Thread martijn.list
Michael Martineau wrote: I'm trying to find a list of websites that use Tapestry 5. I would like to take a look at them and see what sort of things they are able to do using Tapestry. If any of you have a public website that is built on Tapestry 5, please send me a link. I known Lithium u

Javascript submit in onclick results in javascript in function $T on IE7

2009-10-21 Thread martijn.list
If I submit a form using javascript in the onclick I get a javascript error on IE7 submit: onclick="$('inputForm').submit();" Error in tapestry.js: function $T(element) { var e = $(element); var t = e._tapestry; <--- Error: Object required (in IE7) Any idea? -

Re: Projects and sites powered by Tapestry

2009-10-03 Thread martijn.list
assets, here is the url: http://example.com/assets http://example.com/assets/ the first url, following code works, second URL, if it runs in jetty, the code works, but if it is under tomcat 6, it still lists files under WEB-INF, any idea? Thanks, martijn.list wrote: Angelo Chen wrote: how t

Re: Projects and sites powered by Tapestry

2009-09-09 Thread martijn.list
Angelo Chen wrote: how to close access to ".class" and ".tml"? This has been posted to the list multiple times so I another time wouldn't hurt ;) I use the following code to whitelist some assets. Access to non white listed assets is denied. Add to your application module: private st

Re: Running Tapestry 5.0.18 on Google App Engine

2009-08-26 Thread martijn.list
Alex Kotchnev wrote: Christian, you seem to indicate that there's an easy fix for this on the mailing list; however, the last discussion there is from around 2007; the module that Robert is referring to is out of date (e.g. referring to old package names, etc). Any other tips on addressing thi

Re: Intermittent Stax Exception

2009-08-19 Thread martijn.list
it anywhere else either. Thanks, Zack martijn.list wrote: Afaics resolve only throws a NullPointerException when either parent or child is null. The line numbers from the Stack trace do not exactly line up with my Java so I don't know at what line the exception actually occurs. I don&#x

Re: Intermittent Stax Exception

2009-08-19 Thread martijn.list
either. Thanks, Zack martijn.list wrote: Afaics resolve only throws a NullPointerException when either parent or child is null. The line numbers from the Stack trace do not exactly line up with my Java so I don't know at what line the exception actually occurs. I don't think child c

Re: Intermittent Stax Exception

2009-08-19 Thread martijn.list
zack1403 wrote: This issue is popping up randomly on my production app and I cant relate it to any change. The exception is also deep rooted in tapestry. I can post code if necessary but it is a very simple isolated page and the exception is occurring at line 1 of the tml. Any ideas? Exceptio

Re: [T5] Security of files in the classpath

2009-08-15 Thread martijn.list
luding files without extension and dirs) */ private static final Set assetsWhitelist = Collections.synchronizedSet( new HashSet(Arrays.asList(ASSET_WHITE_LIST))); martijn.list wrote: Markus Joschko wrote: So the ResourceDigestGenerator obiously doesn't protect the class or tml file

Re: [T5] Security of files in the classpath

2009-08-15 Thread martijn.list
Markus Joschko wrote: So the ResourceDigestGenerator obiously doesn't protect the class or tml files for me here. I am currently thinking of taking the webapplication down as there is no way of securing passwords in this setting. Is there a workaround? I use a HttpServletRequestFilter to whit

Re: t5: forwarding in index

2009-05-12 Thread martijn.list
the authenticate method of the AbstractUserDetailsAuthenticationProvider? Thanks, Borut 2009/4/16 martijn.list no I do not have any information, sadly. I had to ditch the concept of having tapestry form together with tapestry-spring-security. Perhaps I misunderstand what you are trying to do but I do have a Tapestry for

Re: t5: forwarding in index

2009-04-16 Thread martijn.list
no I do not have any information, sadly. I had to ditch the concept of having tapestry form together with tapestry-spring-security. Perhaps I misunderstand what you are trying to do but I do have a Tapestry form that uses Spring security to authenticate the user. My form looks like: Nam

Re: Prevent multiple submits with t5.0.14

2009-03-16 Thread martijn.list
Daniel Sanchez wrote: So, here I am, writing in this mailing list and asking all the guys: is there any way to disable the button after the submitting? Why don't you set a flash persistent boolean after the submission and disable to button in the render phase when the boolean indicates that t