I am trying to check size of each of uploaded files, when there is more than
one file in one POST request.
While there may be other way to do so, it looks like fileSizeMax in
FileUploadBase, does just the right thing, aborting processing multipart
POST by throwing FileUploadException which causes
It seems like script generated in renderInitializationScript should be
added to AjaxRequestTarget on every Ajax update ...
On 21 October 2014 17:09, Maxim Solodovnik wrote:
> Here it is:
> https://github.com/solomax/WicketSelect2Clear
>
> somehow in this example nothing works as expected :(
> I
Hi Martin,
On Tue, Oct 21, 2014 at 1:19 PM, Martin Grigorov wrote:
> You can
> use
> org.apache.wicket.request.cycle.PageRequestHandlerTracker#getFirstHandler()
> to check what is the requested page in your
> own org.apache.wicket.settings.def.RequestCycleSettings#getTimeout
Cute trick but it d
Please ignore previous message; I found the bug in my code: in the paginated
list, item No.21 contained link to internal image (unexpectedly
"non-bookmarkable"):
.add(new Image("linkToImage", new Model("no_image.jpg")));
And this item created Session for everything.
Thanks.
From: Fuad
Hello,
I have a scenario, just to be quick (developing sample application & problem
isolation will take some more time):
I use custom DataView with custom DataProvider, custom pagination (based on
existing one, but with BookmarkablePageLink)
Whenever I use "itemsPerPage=20" or smalle
Hi all,
I'm struggling around with a feedback panel.
What I would like to implement is a single global feedback panel in the
top hierarchy of my page inheritence.
Its a sort of fallback-panel. If no other feedback panel catches the
messages, it should display them, so its a FencedFeedback. A fo
Hi,
It is not clear to me what you want to accomplish.
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Tue, Oct 21, 2014 at 4:39 PM, Roman Grigoriadi <
roman.grigori...@gmail.com> wrote:
> Hi Wicket users,
>
> I am trying to check size of a single file in a mult
Hi Wicket users,
I am trying to check size of a single file in a multi file upload POST
request. It seems there is a parameter for this in "FileUploadBase" class
called "fileSizeMax" which is used for checking length of an input stream
for a file during parsing request and writing files to disk te
Thanks Martin!
We will give it a try and post what we got.
--
Guillaume
On Tue, Oct 21, 2014 at 1:19 PM, Martin Grigorov wrote:
> Hi Guillaume,
>
> You can
> use
> org.apache.wicket.request.cycle.PageRequestHandlerTracker#getFirstHandler()
> to check what is the requested page in your
> own o
Hi Guillaume,
You can
use org.apache.wicket.request.cycle.PageRequestHandlerTracker#getFirstHandler()
to check what is the requested page in your
own org.apache.wicket.settings.def.RequestCycleSettings#getTimeout
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Tu
Hi,
We have a few pages in our application which might take a long time to
generate. This is definitely not the usual case but there are a few of
them.
Thus we were forced to define a high lockTimeout to be sure these
pages can be served.
The fact is that we would really like to have a far lower
Here it is:
https://github.com/solomax/WicketSelect2Clear
somehow in this example nothing works as expected :(
I tried 2 different approaches, correct new value arrives to the page
(according to "wicket debug") but select2 is not being updated :(
On 21 October 2014 13:23, Martin Grigorov wrote:
Hi,
I see two ways to do it then:
1) ModalWindow#setMarkupId("myFullscreenId"); $("#myFullscreenId")
2) $(".OWN_CLASS_NAME").closest("div)
both gives you a reference to the div.modal-window.
>From there on you can manipulate it to make it fullscreen.
Martin Grigorov
Wicket Training and Consu
Hi,
We've tried your proposal, but it doesn't work, because the setCssClassName
doesn't apply to the div that needs to be resized.
In code underneath you can see the structure. The class should be place on
the div that now has wicket-modal, but this is not possible, or is it?
- cannot depend on el
14 matches
Mail list logo