I'll try to checkout sources and create a ticket with a patch included.
Regards, Roman.
Martin Grigorov-4 wrote
> I was suggesting to do both of them.
> Please file a ticket in JIRA and I'll implement it. Or attach a patch/send
> a pull request if you have the time :-)
> Thanks!
--
View this
public abstract class SortableBehavior extends AbstractDefaultAjaxBehavior
{
@Override
protected void respond(AjaxRequestTarget target)
{
StringValue prevValue =
RequestCycle.get().getRequest().getRequestParameters().getParameterValue("prev");
StringValue draggedrValue
Hey guys
need a little help with sending array parameter value with Wicket.Ajax.post
(wicket 6.x)...
any help appreciated
regards
Armando
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Wicket-Ajax-post-array-parameters-tp4668041.html
Sent from the Users forum
Hi,
I ran into a problem trying to use a breadcrumb with a dataview.
I have a dataview in which I can press a button. Upon clicking this button,
the next BreadCrumbPanel should be activated. For this I'm using the
BreadCrumbLink component, because my BreadCrumbPanel has a custom
constructor.
Bre
I was suggesting to do both of them.
Please file a ticket in JIRA and I'll implement it. Or attach a patch/send
a pull request if you have the time :-)
Thanks!
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Wed, Oct 22, 2014 at 3:08 PM, Roman Grigoriadi <
roman.g
First approach will be configurable per form, while second only per
/MultipartServletWebRequestImpl/. For setting fileSizeMax by second approach
you will have also to override
/org.apache.wicket.protocol.http.servlet.ServletWebRequest#newMultipartWebRequest(...)/.
On the other hand, second approach
As far as I see there is no way to set FileUploadBase#fileSizeMax at the
moment.
I see two improvements here:
1) add Form#fileSizeMax and pass it to MultipartServletWebRequest
2) add MultipartServletWebRequestImpl#newFileUpload(FileItemFactory) that
applications can override if they need to set so
I just wanted to circle back on this as I have an update. I haven't created
any special mappers for the URLs and they are now working within my
framework with the inmethod grid component. I built an app from the ground
up rather than modifying the quickstart. I am not currently mounting any
pages s
Martin, sorry, but "maxSize" is not the "maxFileSize" (which I am asking
for). See javadoc comments in FileUploadBase:
*maxSize:*/The maximum size permitted for the complete request, as opposed
to {@link #fileSizeMax}./
*fileSizeMax:*/The maximum size permitted for a single uploaded file, as
oppo
It is old project .
I don't really like to rewrite everything :)
On 22 October 2014 15:59, Martin Grigorov wrote:
> Yes, I guess.
>
> Just FYI: there is a standard 'dblclick' event too. I'm not sure why you
> needed a custom one.
>
> Martin Grigorov
> Wicket Training and Consulting
> https:/
Yes, I guess.
Just FYI: there is a standard 'dblclick' event too. I'm not sure why you
needed a custom one.
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Wed, Oct 22, 2014 at 11:56 AM, Maxim Solodovnik
wrote:
> I believe this is because "click" satisfies most
I believe this is because "click" satisfies most of users :)
Thanks for clarifications :)
On 22 October 2014 15:52, Martin Grigorov wrote:
> Sorry.
>
> This is Wicket's fault:
>
> https://github.com/apache/wicket/blob/db5be6ab05545e1bb95f566c3aeb23e05cf93437/wicket-core/src/main/java/org/apache
Sorry.
This is Wicket's fault:
https://github.com/apache/wicket/blob/db5be6ab05545e1bb95f566c3aeb23e05cf93437/wicket-core/src/main/java/org/apache/wicket/ajax/AjaxEventBehavior.java#L72
I think I've read somewhere that the event names should be lower cased. But
now I see at http://api.jquery.com/
Thanks a lot Martin!
The root cause is: event name is lowercased :(
So this failed: $('#rowId').trigger('doubleClickEvent');
And this passed: $('#rowId').trigger('doubleclickevent');
On 22 October 2014 15:32, Martin Grigorov wrote:
> Hi Maxim,
>
> Since version 6.0.0 Wicket uses JavaScript e
Hi Maxim,
Since version 6.0.0 Wicket uses JavaScript event registration instead of
generating element attributes.
So for each usage of AjaxEventBehavior (and its specializations) Wicket
will generate something like Wicket.Ajax.ajax({})
I think in your code you are missing: item.setOutputMarku
Hello All,
I'm trying to migrate huge project from wicket 1.4 to wicket 6
In old code I have code like this:
DataView listView = new
DataView("projectList", sdp) {
protected void populateItem(final Item item) {
item.add(new AjaxEventBehavior("doubleClickEvent") {
MultipartServletWebRequestImpl receives 'maxSize' at [1].
And sets it later to the fileUpload at [2].
1.
https://github.com/apache/wicket/blob/master/wicket-core/src/main/java/org/apache/wicket/protocol/http/servlet/MultipartServletWebRequestImpl.java#L124
2.
https://github.com/apache/wicket/blob/
Martin, thank you for your responses, but I don't think you understand what I
am asking about.
My question was purely about Wicket API, not about how containers
implementing receiving request stream. I am not trying to stop container
processing input stream. I want to tell user in an ajax respons
Hi,
You are right!
On Tue, Oct 21, 2014 at 11:11 PM, Guillaume Smet
wrote:
> 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 you
Hi,
There is no standard way to accomplish this so the web containers (e.g.
Tomcat, Jetty, ...) provide custom settings to do what you want. See [1]
Wicket uses standard Servlet APIs and it either receives the whole input
stream or nothing.
You have to consult with the documentation of the web co
20 matches
Mail list logo