Dynamic UI Layout

2010-10-10 Thread Josh Kamau
Hi guys; I am trying to create a dynamic layout for bean fields. The fields could have the labels on top or on the side, The layout could be single column or multiple columns. Any idea on how to do this? I am thinking of using a table and use column span for multiple column. Any suggestions will

Re: Catching maxSize of fileUpload error

2010-10-10 Thread Zilvinas Vilutis
See: org.apache.wicket.markup.html.form.Form.onFileUploadException(FileUploadException, MapString, Object) Regards Žilvinas Vilutis Mobile:   (+370) 652 38353 E-mail:   cika...@gmail.com On Fri, Oct 8, 2010 at 11:09 AM, meduolis meduol...@gmail.com wrote: Hello, is it possible to handle

Re: Catching maxSize of fileUpload error

2010-10-10 Thread meduolis
It's working, thanks a lot ;) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Catching-validation-error-of-fileUpload-maxSize-failing-tp2968831p2970111.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Dynamic UI Layout

2010-10-10 Thread meduolis
You can use ListView's: https://cwiki.apache.org/WICKET/forms-with-dynamic-elements.html https://cwiki.apache.org/WICKET/page-with-dynamic-components.html https://cwiki.apache.org/WICKET/create-dynamic-markup-hierarchies-using-panels.html -- View this message in context:

Re: Nice URL for non-bookmarkable page

2010-10-10 Thread fadeyev
Ok, but what to do with the payment object? As far as I know bookmarkable page can't have a constructor with Payment object as an argument - it can have only constuctor without arguments or with PageParameters argument. -- View this message in context:

The proxy server received an invalid response from an upstream server.

2010-10-10 Thread Martin Makundi
Hi! I have this problem Error reading from remote server with Wicket-Jetty-Apache mod_proxy integration. It occurs only for page requests that take long time (couple of minutes) to process. Did anybody find a solution for it?

Re: RadioChoice - what's wrong?

2010-10-10 Thread Zeldor
So maybe someone could just show me working RadioChoice code with OnSubmit part? Just how to properly display it and grab data from it :) That should solve the problem, as I would compare and see what I'm doing wrong. -- View this message in context:

Re: Nice URL for non-bookmarkable page

2010-10-10 Thread Ernesto Reinaldo Barreiro
Can't you just pass a parameter (e.g. an id) and from there retrieve your payment object? Enretso On Sun, Oct 10, 2010 at 1:05 PM, fadeyev fade...@yandex.ru wrote: Ok, but what to do with the payment object? As far as I know bookmarkable page can't have a constructor with Payment object as

Re: Nice URL for non-bookmarkable page

2010-10-10 Thread Ernesto Reinaldo Barreiro
Can't spell correctly my own name:-) Ernesto On Sun, Oct 10, 2010 at 5:36 PM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: Can't you just pass a parameter (e.g. an id) and from there retrieve your payment object? Enretso On Sun, Oct 10, 2010 at 1:05 PM, fadeyev fade...@yandex.ru

Re: RadioChoice - what's wrong?

2010-10-10 Thread andrea del bene
Hello Zeldor, I've red your code and it seems that you define variable rc two times: the first time as form private field and the second time just below between braces. When onSubmit method calls rc.getModelObject() it uses private field rc which was not initialized and so triggers a

Re: RadioChoice - what's wrong?

2010-10-10 Thread Zeldor
It does! Thanks a lot! I knew it was something stupid and trivial. Huh, but it should not cause that still - I was defining TextFields in same way and then again to add parameters and it went fine. On Sun, Oct 10, 2010 at 7:11 PM, Andrea Del Bene [via Apache Wicket]

Re: wicket 1.5, css resourcereference from string?

2010-10-10 Thread m j
I actually just made a youtube video how to add css/js to a page. See it here: http://www.youtube.com/watch?v=9toRTCFJf3Y Though I did not cover textemplateresourcereference. It is just as Igor described but now you can see the complete code if necessary. On Fri, Oct 8, 2010 at 12:50 PM, nino

Page Expired page with PatternDateConverter

2010-10-10 Thread Hemant Shah
I am new to the Wicket framework and I hope I can get some help with a problem I am facing. I am using version 1.4.12. I am overriding the AjaxEditableLabel class and its overridden getConverter method is at follows: @Override public IConverter getConverter(Class type) {

Re: Page Expired page with PatternDateConverter

2010-10-10 Thread Altuğ Bilgin Altıntaş
Did you look at Wicket's logs ? Be sure serialization is done correctly. 2010/10/10 Hemant Shah prot...@gmail.com I am new to the Wicket framework and I hope I can get some help with a problem I am facing. I am using version 1.4.12. I am overriding the AjaxEditableLabel class and its

Dunamic neted List Views

2010-10-10 Thread Arjun Dhar
Hi, I just developed a Menu; that is nested many levels. At the point of rendering in my code I'm slightly confused. ok, Let the code talk: (The following code assumes a domain model with MenuItemState which is hiararchial has children. And each child node is a MenuItemState. The child can

Re: Dunamic neted List Views

2010-10-10 Thread Arjun Dhar
!...@#$ The subject was meant to be Dynamic Nested List Views! Apologies -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Dunamic-neted-List-Views-tp2970644p2970646.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Page Expired page with PatternDateConverter

2010-10-10 Thread Hemant Shah
Altuğ, thanks for responding. There are no errors reported in the log. All the classes in the project are serializable. Could this be a bug? Regards, Hemant On 10/10/2010 5:03 PM, Altuğ Bilgin Altıntaş wrote: Did you look at Wicket's logs ? Be sure serialization is done correctly.