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
: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
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
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
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() ;
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;
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
/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
: 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
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
10 matches
Mail list logo