File downloading with Wicket

2007-09-26 Thread Ian Godman
Can any one give me a pointer or 2 on how to download a file from a wicket page? I have a LinkTree representing a directory tree which is lazy loaded via ajax. When the user clicks on a file node I need to download the file to them. However the file is stored with a different name (allows for

Re: File downloading with Wicket

2007-09-26 Thread Ian Godman
:07 AM Subject: Re: File downloading with Wicket Have a look at the DownloadLink class Ian Godman wrote: Can any one give me a pointer or 2 on how to download a file from a wicket page? I have a LinkTree representing a directory tree which is lazy loaded via ajax. When the user clicks

Re: LinkTree lazy loading possible?

2007-09-21 Thread Ian Godman
I am doing the same thing. I have it working except for one problem. The loading works fine but so far I have not found a way to make the tree update its display when an item is added to the data. If nothing new is added to the dataset then every thing works fine. The main issue I found was

Re: Acegi (Spring Security)

2007-09-19 Thread Ian Godman
the exact same symptom, user authenticates fine (org.acegisecurity.event.authentication.LoggerListener - Authentication event AuthenticationSuccessEvent: thies; details: null) but authentication is not set in the context. Thies Ian Godman wrote: Hi I am have a bit of a problem with Wicket

Acegi (Spring Security)

2007-09-14 Thread Ian Godman
Hi I am have a bit of a problem with Wicket and Acegi. I am not getting an exception so there is no trace. What is happening is that once logged in the Authentication is sometimes not set. I get it as follows: AuthenticationToken tkn = SecurityContextHolder.getContext().getAuthentication() ;

How to exclude from model update

2007-09-03 Thread Ian Godman
Hi I have a little problem with an AJAX submit button. The template is: input type=submit wicket:id=AddButton-link value=Add / In the java this is: add( new AjaxSubmitLink(AddButton-link){ private static final long serialVersionUID = 1L;

Re: How to exclude from model update

2007-09-03 Thread Ian Godman
Wicket version is 1.3 beta 2 - Original Message From: Matej Knopp [EMAIL PROTECTED] To: users@wicket.apache.org Sent: Monday, 3 September, 2007 3:31:18 PM Subject: Re: How to exclude from model update What wicket version are you using? -Matej On 9/3/07, Ian Godman [EMAIL PROTECTED

Re: AJAX form submit and validation

2007-08-27 Thread Ian Godman
/26/07, Ian Godman [EMAIL PROTECTED] wrote: I worked it out. Very simple solution! On the AjaxSubmitLink override the onError method and add the feedback panel to the AjaxRequestTarget ! Ian Yes, that or setDefaultFormProcessing(false) as Eelco suggested before. That's not doing validation

Re: AJAX form submit and validation

2007-08-26 Thread Ian Godman
: Gerolf Seitz [EMAIL PROTECTED] To: users@wicket.apache.org Sent: Sunday, 26 August, 2007 6:05:00 PM Subject: Re: AJAX form submit and validation have you tried AjaxFormComponentUpdatingBehavior? gerolf On 8/26/07, Ian Godman [EMAIL PROTECTED] wrote: Thanks but this does not solve my problem. I

Re: AJAX form submit and validation

2007-08-26 Thread Ian Godman
: Re: AJAX form submit and validation have you tried AjaxFormComponentUpdatingBehavior? gerolf On 8/26/07, Ian Godman [EMAIL PROTECTED] wrote: Thanks but this does not solve my problem. I am submitting the form via ajax using an AjaxSubmitLink. If the form has errors on it then I do not get