Hi!
Yes. Every time form is processed the form component values are
processed from rawinput. That is the normal usecase = you want to know
what user has entered.
However, if you want to explicitly dismiss user input, you can call
clearInput or set a new model.
Alternatively there are behaviors l
Hi all,
I'm using a form which embeds another nested form. An
AjaxFormUpdatingBehavior works in parent form (updates some textfields
via model changes). Problems start when I submit the nested form. Then
the before-mentioned behavior "stops working". While debugging I learned
why - during res
I've tried the above options but they didn't work.
what I have now is
exportEnv.setWindowClosedCallback(new ModalWindow.WindowClosedCallback()
{
public void onClose(AjaxRequestTarget target)
{
final File exportFile= getFile();
Thank you for your help, problem solved.
-Original Message-
From: Jeremy Thomerson [mailto:jer...@wickettraining.com]
Sent: Friday, 29 October 2010 5:59 p.m.
To: users@wicket.apache.org
Subject: Re: Disable button double-click without breaking Form.setDefaultButton
Do it in your form its
here is my code
AbstractAutoCompleteRenderer
autoCompleteRenderer = new
AbstractAutoCompleteRenderer() {
protected final String getTextValue(final
InfUser infUser) {
return MessageFormat.format("{0}
Hi Martin,
I didn't explain myself very well. I'm using wicket resources, I
inherited from WebResource and implemented the abstract methods.
Also, I mounted the resources using the following code:
String resourceKey = "photos";
String alias = "photos"
SharedResources sharedResources = applicati
Ok, then the following might help:
http://apache-wicket.1842946.n4.nabble.com/Disabling-Modal-Unload-Confirmation-td1857159.html
Sven
On 10/31/2010 01:43 PM, fachhoch wrote:
No i donot want to close modal window.I has lot of other content than
download a file.
No i donot want to close modal window.I has lot of other content than
download a file.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/download-link-inside-a-modal-window-tp3021049p3021065.html
Sent from the Users forum mailing list archive at Nabble.com.
-
You probably want to close the modal window anyway, so please read here:
https://cwiki.apache.org/WICKET/ajax-update-and-file-download-in-one-blow.html
Have fun
Sven
On 10/31/2010 01:18 PM, fachhoch wrote:
I have a panel it has a download link.
below is the code for download
I have a panel it has a download link.
below is the code for download
setRedirect(false);
WebResponse response = (WebResponse) getResponse();
response.setAttachmentHeader(filename);
response.setLastModifiedTime(Time.now());
response.setContentType("appl
Hi Mauro,
/resources is a special path managed by Wicket, e.g.
ResourceReference(MyComponent.class, "myImage.gif") will be reachable at
/resources/com.mypackage.MyComponent/myImage.gif
Resources which are put in next to WEB-INF folder are not managed by WIcket
and they are served directly by the
?
On 31.10.2010 03:07, d2marcelo wrote:
>
> Hello,
>
> how to force the DownloadLink to start downloading a file without the user
> clicking on it?
>
> I'm trying to do dowload.onClick(); from a setWindowClosedCallback but it
> won't start.
>
> Any thoughts?
>
I understand that, but in this case a IModel or IConverter seems
appropriate since I'm only interested in the string representation of a
date, not page or component markup.
However, in doing this, you seem to lose some of Wicket's nice
localization conventions.
On 10/30/10 11:36 PM, vineet
13 matches
Mail list logo