Re: Treads on timed_waiting with lockPage

2013-02-06 Thread Martin Grigorov
Hi, Wicket serializes the access to a page instance. Only one thread at a time can use a page instance/version. PageAccessSynchronizer implementation is since 1.5.0 and so far there were no reports for such problem. Here is how this situation may happen (partially): Wicket Ajax APIs (JavaScript)

wicket-poi current status

2013-02-06 Thread saty
I was looking for any excel extension for Wicket and came across this, not really sure what is the status of this project, any information please. The page at https://github.com/wicketstuff/core/wiki/POI looks interesting. Also in general what is the best way to do Excel upload/download in Apache

Behaviour.onInitialise()

2013-02-06 Thread Colin Rogers
Martin and other Wicketeers, I have a quick, small question; why is there no 'onInitiailise()' method on Behaviour classes? There is an 'bind' method, but this, unlike 'onInitialise' is call immediately on binding to component, whether the component is in the component tree or not. Obviously i

Treads on timed_waiting with lockPage

2013-02-06 Thread Ann Baert
We have a wicket application in production, and from time to time a strange phenomenon happens. We're using jetty, and at a certain moment, the whole pool of jetty worker treads is filled up. I've made a program that dumps the stack traces of all active treads, and a lot of treads are blocking on t

RE: Page link in CalendarEvent

2013-02-06 Thread Paul Bors
What do you mean? -Original Message- From: grazia [mailto:grazia.russolass...@gmail.com] Sent: Wednesday, February 06, 2013 7:28 PM To: users@wicket.apache.org Subject: Page link in CalendarEvent Is there a way to display a page link in a CalendarEvent ? -- View this message in contex

Re: A couple of problems with MultiFileUploadField

2013-02-06 Thread Martin Grigorov
Hi, Here is an option: http://www.wicket-library.com/wicket-examples-6.0.x/upload/single?0 the third example allows multiple files to be uploaded with modern browser. I'll try to apply the patch for 6.6.0. On Wed, Feb 6, 2013 at 7:45 PM, Steamus wrote: > I was trying to use the MultiFileUploa

Re: override the css of the AbstractFormDialog

2013-02-06 Thread Martin Grigorov
I think jQuery UI theme. On Wed, Feb 6, 2013 at 11:07 PM, grazia wrote: > I have created a class that extends the > com.googlecode.wicket.jquery.ui.widget.dialog.AbstractFormDialog in order > to > create a modal dialog in my page. > The dialog needs to be customized in its appearance. How to do

override the css of the AbstractFormDialog

2013-02-06 Thread grazia
I have created a class that extends the com.googlecode.wicket.jquery.ui.widget.dialog.AbstractFormDialog in order to create a modal dialog in my page. The dialog needs to be customized in its appearance. How to do that ? I have tried to override the css modal.css (it comes in wicket-extensions-1.5

Re: [Building Sakai] Charts Wicket Sakai

2013-02-06 Thread Paul Bors
Hey Antonio, Looks like you have 2 options: 1) Migrate your applciaton to Wicket 1.5.x (and then to 6.x) https://cwiki.apache.org/WICKET/migration-to-wicket-15.html https://cwiki.apache.org/WICKET/migration-to-wicket-60.html 2) You could port Wicked-Charts to Wicket 1.4.x and contribute to

Re: [Building Sakai] Charts Wicket Sakai

2013-02-06 Thread Tom Hombergs
Hi Antonio, Wicked Charts only supports Wicket 1.5.x (wicked-charts-wicket15) and Wicket 6.x. (wicked-charts-wicket6). I don't know what error you get, but it won't work with Wicket 1.4.x anyways... . Regards, Tom 2013/2/6 Antonio muñoz alonso : > Hi. > > Yes, I Use > https://confluence.sakaipro

Separate Development and Design

2013-02-06 Thread gmparker2000
One of the great features of wicket is the ability to allow a developer to focus on the Java behind the pages while a designer can work on the HTML/CSS. The object oriented nature of a wicket page complicates this somewhat. Our pages are broken up into many panels each with their own code and HTM

A couple of problems with MultiFileUploadField

2013-02-06 Thread Steamus
I was trying to use the MultiFileUploadField class (with PropertyModel>) to upload multiply files. And I was little confused with a couple of things. At first it is strange to have uploaded file path name on the panel with prefix – “C:\fakepath\”. Difficult to explain… but I can’t show the contr

Re: How to contribute to the reference guide

2013-02-06 Thread Martin Grigorov
This is how it is, actually. In Wicket Git repo there is a branch 'reference-guide' that has a Maven module 'wicket-reference-guide'. The branch will be merged to master once we feel confident that documentation generation works and we like the way it works. So Wicket 6 will have its own version o

Re: How to contribute to the reference guide

2013-02-06 Thread Igor Vaynberg
why doesnt the guide live in a subdir of the project. that way there will be a guide per branch. one of the biggest problems with the wiki, etc, is that it doesnt account for code differences between the versions. having a guide per branch (major version) makes more sense. -igor On Wed, Feb 6, 20

RE: [Building Sakai] Charts Wicket Sakai

2013-02-06 Thread Antonio muñoz alonso
Hi. Yes, I Use https://confluence.sakaiproject.org/display/BOOT/Sakai+Wicket+Maven+Archetype.but not update it, I have changed the repositories of pom.xml to 1.5 but it gives me error. What do you mean with patch???. I'm trying to run this: ://code.google.com/p/wicked-charts/ , http://wicked-ch

Re: Reacting to cross-cutting model change (like display settings in session) // Re: Form with multiple AjaxButton - why are all onEvent() called?

2013-02-06 Thread Sven Meier
Take a look at this one: http://www.wicket-library.com/wicket-examples/events/ Sven On 02/06/2013 03:17 PM, Ondrej Zizka wrote: Aaah, ok. Thanks to all for the responses. I thought that onSubmit would have something to do with actual submit of the form, while this is just AJAX request. A bit

Reacting to cross-cutting model change (like display settings in session) // Re: Form with multiple AjaxButton - why are all onEvent() called?

2013-02-06 Thread Ondrej Zizka
Aaah, ok. Thanks to all for the responses. I thought that onSubmit would have something to do with actual submit of the form, while this is just AJAX request. A bit confusing names, aren't? That might also answer my 2nd question: I have some display settings (like shown items filters etc) whi

Re: Form with multiple AjaxButton - why are all onEvent() called?

2013-02-06 Thread Martin Grigorov
Hi, You actually need #onSubmit() or #onAfterSubmit(). #onEvent() is part of Wicket Event bus implemented with Wicket 1.5.0. For each Ajax request an event is broadcasted to all components with AjaxrequestTarget as payload. See http://www.wicket-library.com/wicket-examples-6.0.x/events/ for a sim

Re: Form with multiple AjaxButton - why are all onEvent() called?

2013-02-06 Thread Ernesto Reinaldo Barreiro
"Ajax events" are delivered to all components... See on AjaxRequestHandler#respond final Application app = page.getApplication(); page.send(app, Broadcast.BREADTH, this); Use AjaxButton#onSubmit(AjaxRequestTarget target, Form form); On Wed, Feb 6, 2013 at 12:28 PM, Ondrej Zizka wrote: > Hi al

Re: Form with multiple AjaxButton - why are all onEvent() called?

2013-02-06 Thread Marios Skounakis
You probably want to override onSubmit and not onEvent. onEvent is for handling events sent by the event mechanism, not for handling clicks... On Wed, Feb 6, 2013 at 1:28 PM, Ondrej Zizka wrote: > Hi all, > > With Wicket 1.5.9, > I have a form with > > > > Form form

Re: Problem with markup inheritance in Wicket 6

2013-02-06 Thread Dmitriy Neretin
Hi guys, you are absolutely right. There wasn't a bug... I just overseen that there were some changes. Other developers introduced another component with appropriate html tag in the super class so I didn't see that. Regards, Dmitriy 2013/2/1 Martin Grigorov > Hi, > > I think there are no chang

Form with multiple AjaxButton - why are all onEvent() called?

2013-02-06 Thread Ondrej Zizka
Hi all, With Wicket 1.5.9, I have a form with @Override public void onEvent(IEvent event) { log.info("1"); } }.setOutputMarkupId(true)); form.add( new AjaxButton("log2"){ @Override public void onEvent(IEvent event) { log.info("2"); }

Re: How to contribute to the reference guide

2013-02-06 Thread Martin Grigorov
On Wed, Feb 6, 2013 at 11:33 AM, manuelbarzi wrote: > > Few people contacted me personally to ask how they can contribute to the > > reference guide. > > I've just added > > http://martin-g.github.com/wicket-reference-guide/howtohelp.html that > > explains the steps. > > > > Let me know if I can

Re: How to contribute to the reference guide

2013-02-06 Thread manuelbarzi
> Few people contacted me personally to ask how they can contribute to the > reference guide. > I've just added > http://martin-g.github.com/wicket-reference-guide/howtohelp.html that > explains the steps. > > Let me know if I can improve it. Or just me a patch ;-) is there the intention to deprec

How to contribute to the reference guide

2013-02-06 Thread Martin Grigorov
Hi, Few people contacted me personally to ask how they can contribute to the reference guide. I've just added http://martin-g.github.com/wicket-reference-guide/howtohelp.html that explains the steps. Let me know if I can improve it. Or just me a patch ;-) -- Martin Grigorov jWeekend Training, C