Re: Dynamic URL path

2011-04-04 Thread Martin Grigorov
mountPage(mountedPage/${dynamicPath}, SomePage.class) Then in SomePage.java: public SomePage(PageParameters params) { StringValue dynamic = params.get(dynamicPath); } On Mon, Apr 4, 2011 at 2:24 AM, Bruno Borges bruno.bor...@gmail.com wrote: Hi everyone, On Wicket 1.5, what is the

Re: [VOTE] Behavior of CheckBox With Respect to setRequired(true)

2011-04-04 Thread Kent Tong
Hi, As the guy who started that old thread and the old vote, I vote +1 for (2). -- Kent Tong Useful news for network admins at http://www2.cpttm.org.mo/cyberlab/netadmin-news - To unsubscribe, e-mail:

Re: Strange behaviour in WicketTester when Ajax-clicking on a deselected checkbox

2011-04-04 Thread Kent Tong
I've got an AjaxCheckbox with a PropertyModel. When ajax-clicking in in WicketTester, when the model is true, everything works as expected but ajax-clicking it when the model is false doesn't result in a call of the model's setter even in onUpdate is executed (Breakpoints and jUnit-Asserts)

Re: fter 1 minute the Pagemap null is still locked by: Thread[[ACTIVE]

2011-04-04 Thread fachhoch
Thanks for the reply , I will use FutureTask and can use future.isDone() to check if the search is complete and future.get() to get the results. In my case I use AjaxFallbackDefaultDataTable this uses a SortableDataProvider. Please advice me how to integrate future task and

Re: Wicket For Mobile

2011-04-04 Thread Pedro Santos
I don't remember of Wicket JavaScript mobile compatibility thread. I tested Wicket aplicaitons using AJAX on IE and Safari mobile versions, in both works nice. On Sun, Apr 3, 2011 at 11:33 AM, Ayodeji Aladejebi aladej...@gmail.comwrote: Hi, I like to find out the compatibility of wicket on

Re: fter 1 minute the Pagemap null is still locked by: Thread[[ACTIVE]

2011-04-04 Thread robert.mcguinness
http://apache-wicket.1842946.n4.nabble.com/After-1-minute-the-Pagemap-null-is-still-locked-by-Thread-ACTIVE-tp3047890p3049862.html -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/fter-1-minute-the-Pagemap-null-is-still-locked-by-Thread-ACTIVE-tp3423610p3425308.html

UploadProgressBar Possible Bug

2011-04-04 Thread MZemeck
Sorry but I do not have the time/resources to create a quickstart (I don't use Maven) but I wanted to alert the group to an issue I had in case anyone wanted to test/fix it. Using the following; Wicket 1.4.16 UploadWebRequest in App object Form with setMaxSize() (I'm using 1MB) FileUploadField

Re: Page to select something and use the selection in another page

2011-04-04 Thread fernandospr
Thanks James. I think I got it. I think the key part is this: ((FooSelectionListener) page).fooSelected(foo); I guess page is the page that starts the loop and is waiting for a selection, that is why it implements fooSelected. I think I'll implement something similar but instead of using a foo

Re: Page to select something and use the selection in another page

2011-04-04 Thread James Carman
That was a tricky part, getting the selected or created value back to the original page. Perhaps it would have been better implemented with an event-driven approach, but I just went with what I could get working quickly. I'm sure I could come up with something more elegant if I had the time to

Re: Page to select something and use the selection in another page

2011-04-04 Thread fernandospr
I guess this is a common functionality. It's weird it was not included as part of the framework, right? On Mon, Apr 4, 2011 at 2:19 PM, James Carman [via Apache Wicket] ml-node+3426105-1808787178-210...@n4.nabble.com wrote: That was a tricky part, getting the selected or created value back

Wicket sessions vs Google App Engine read-only-mode. A hack.

2011-04-04 Thread Per
Hi there, fellow GAE lovers, two App Engine maintenance windows are approaching (one is tomorrow, and the other in 2 weeks) Last time I got huge error messages, which also frustrated my customers. So this time I wanted to be prepared. But since I started researching way too late, and since I

Re: Page to select something and use the selection in another page

2011-04-04 Thread James Carman
I'm sure one of the core devs can slap me upside the head here and say why didn't you do it this way, doofus, but again I had a deadline and I just needed to get it working. By no means do I know each and every bit of the framework, so sometimes I come up with something that could have been

RE: ModalWindow detach/serialize crashes wicket app

2011-04-04 Thread Russell Morrisey
Clint, Pedro, Thank you both for your replies. Based on your comments, and from looking at a heap dump, I am thinking the problem may stem from an inner class created by our app's wicket Session. I have made the inner class static, so that it will no longer hold a reference to the Session. The

Re: UploadProgressBar Possible Bug

2011-04-04 Thread Pedro Santos
Please open a ticket, I will try to reproduce and upload a quickstart. I remember of it taking some time to be hidden, but just the time of form submit process (maybe your form do heavy processing, easily reproducible on quickstart). On Mon, Apr 4, 2011 at 12:43 PM, mzem...@osc.state.ny.us wrote:

Re: fter 1 minute the Pagemap null is still locked by: Thread[[ACTIVE]

2011-04-04 Thread fachhoch
please suggest me in case of datatable which uses sortabledataprovider how can I incorporate futuretask ? please advice me. for my thought I will have a panel which will hide its datatable initially and start a thread (futuretask) for loading data and will also have

Re: UploadProgressBar Possible Bug

2011-04-04 Thread MZemeck
The form does not process anything besides the file upload, and everything works fine until the UploadProgressBar is introduced (and yes I set mutlipart to true). I will open a jira if/when time permits, if you have the appropriate credentials please create a jira on my behalf, I am not

Re: UploadProgressBar Possible Bug

2011-04-04 Thread Pedro Santos
we already have a quickstart :) https://issues.apache.org/jira/browse/WICKET-3594 On Mon, Apr 4, 2011 at 6:10 PM, mzem...@osc.state.ny.us wrote: The form does not process anything besides the file upload, and everything works fine until the UploadProgressBar is introduced (and yes I set

JavaEEComponentInjector in Wicket 1.5

2011-04-04 Thread msj121
I am not sure if this is a bug or intentional. But seemingly getComponentInstantiationListeners().add((IComponentInstantiationListener) new JavaEEComponentInjector(this)); No longer works in Wicket 1.5 (any version I tried), but perfectly works in Wicket 1.4.5. In Wicket 1.5 it states: cannot