Re: FeedbackPanel inside TabbedPanel does not render

2012-06-15 Thread Martin Grigorov
Hi, Sounds strange. Please create a quickstart and attach it to Jira so we can take a look. On Thu, Jun 14, 2012 at 7:05 PM, Jack Berg erki.pub...@gmail.com wrote: Hi, I'm using Wicket 6 beta-2 and have a problem, that my feedback panel inside a TabbedPanel tab panel is not rendered. Even

Re: ChangeListener for the RadioGroup Component

2012-06-15 Thread Martin Grigorov
Hi, #onSelectionChanged() works only if you override #wantOnSelectionChanged() to return true. Otherwise you can also use AjaxFormChoiceComponentUpdatingBehavior() and update the label with Ajax. On Fri, Jun 15, 2012 at 11:01 AM, Dmitriy Neretin dmitriy.nere...@googlemail.com wrote: Hi all, I

Re: ChangeListener for the RadioGroup Component

2012-06-15 Thread Dmitriy Neretin
Thanks! Can you describe how can I use the AjaxFormChoiceComponentUpdatingBehavior() with the label? 2012/6/15 Martin Grigorov mgrigo...@apache.org Hi, #onSelectionChanged() works only if you override #wantOnSelectionChanged() to return true. Otherwise you can also use

Re: ChangeListener for the RadioGroup Component

2012-06-15 Thread Martin Grigorov
Something like: final Label label = ... RadioChoiceString sites = new RadioChoiceString(site, SITES); sites.add(new AjaxFormChoiceComponentUpdatingBehavior() { @Override protected void onUpdate(AjaxRequestTarget

Re: ChangeListener for the RadioGroup Component

2012-06-15 Thread Dmitriy Neretin
Thanks! It was really helpful! But I am only to 99% ready :) There is a little problem in your code example: if I make so: label.setDefaultModelObject(sites.getModelObject()); I get a compiler error: Cannot refer to a non-final variable sites inside an inner class... Is there any workaround for

Re: wicket portlet 1.5 and liferay 6.1

2012-06-15 Thread Thijs
Hi Gabriel. Thanks for the heads up! At my work we're using portlets and are currently locked down at liferay 5.2 and wicket 1.4. But a migration to newer versions is on the Roadmap. So this is useful information. Thijs On 15-6-2012 0:09, Gabriel Landon wrote: For those who are having

Re: ChangeListener for the RadioGroup Component

2012-06-15 Thread Martin Grigorov
either make 'sites' final or use Wicket events ( http://www.wicket-library.com/wicket-examples/events/ ) On Fri, Jun 15, 2012 at 12:42 PM, Dmitriy Neretin dmitriy.nere...@googlemail.com wrote: Thanks! It was really helpful! But I am only to 99% ready :) There is a little problem in your code

Obtain last modified date from FileUploadField

2012-06-15 Thread Sandor Feher
Hi, I need for the uploaded file's last modified date to store it in a table. So the question is how to obtain this info from a FileUploadField field. As I have seen there is no such method in FileUpload class. thnx., Sandor -- View this message in context:

Re: ChangeListener for the RadioGroup Component

2012-06-15 Thread Dmitriy Neretin
Perfect! Thank you! 2012/6/15 Martin Grigorov mgrigo...@apache.org either make 'sites' final or use Wicket events ( http://www.wicket-library.com/wicket-examples/events/ ) On Fri, Jun 15, 2012 at 12:42 PM, Dmitriy Neretin dmitriy.nere...@googlemail.com wrote: Thanks! It was really

Re: Obtain last modified date from FileUploadField

2012-06-15 Thread Martin Grigorov
Hi, I'm not sure such information actually goes to the server. The browser sends a byte[] to the server in the request body. See https://github.com/wicketstuff/core/tree/master/jdk-1.6-parent/wicket-html5-parent/wicket-html5/src/main/java/org/wicketstuff/html5/fileapi This code uses HTML5 APIs

Variable dependant dynamic panel

2012-06-15 Thread RalfButler
Hi there, is it possible to influence the content of one panel by the state of another one? So, there are two panels from which the first panel contains a combobox and the second displays a listview. Depending on which value is selected within the combobox different items are shown in the

Re: Variable dependant dynamic panel

2012-06-15 Thread Martin Grigorov
Hi, You can do that either by sharing a common model or by using Wicket 1.5 events, see http://www.wicket-library.com/wicket-examples/events/ On Fri, Jun 15, 2012 at 4:02 PM, RalfButler ralf.but...@web.de wrote: Hi there, is it possible to influence the content of one panel by the state of