Re: get new value of drop down inside vieworedit on onchange

2012-10-01 Thread cosmindumy
Thanks. It worked. But I have another question. I want the drop down inside vieworedit in some cases to be disabled. If I disable it is automatically replaced with label. I want to be replaced with label only when my condition is true. Is there any possibility? Thanks. -- View this message

Re: get new value of drop down inside vieworedit on onchange

2012-10-01 Thread vineet semwal
you can also do a css disable dropdown.add(new AttributeModifier(disabled, true)) On Mon, Oct 1, 2012 at 12:53 PM, cosmindumy cosmind...@yahoo.com wrote: Thanks. It worked. But I have another question. I want the drop down inside vieworedit in some cases to be disabled. If I disable it is

Re: HybridUrlCodingStrategy in Wicket 1.5

2012-10-01 Thread Martin Grigorov
Hi, On Sun, Sep 30, 2012 at 7:42 PM, Alec Swan alecs...@gmail.com wrote: Perfect, thanks! Might be a good idea to put this on https://cwiki.apache.org/WICKET/request-mapping.html page since in 1.5 UrlPathPageParametersEncoder a direct replacement of the default url mapping strategy in 1.4.

Re: [Announce] wicket-dashboard

2012-10-01 Thread James Eliyezar
This is a very good news. Will be using this right away! I have a small problem guys, definitely something is wrong with my setup (I'm using nexus). I get this exception when I try to build the project. No versions available for

Re: [Announce] wicket-dashboard

2012-10-01 Thread Decebal Suiu
Hi Thanks Paul for the nice words. wicket-dashboard code is used in production in NextReports server (see http://apache-wicket.1842946.n4.nabble.com/How-to-create-a-dashboard-with-draggable-widgets-tp4652210p4652218.html) but with some additional features (multiple dashboards, detached widgets,

Re: Problem in Localizing submit button

2012-10-01 Thread Martin Grigorov
Hi, Which version of Wicket is this ? wicket:xyz tags and attributes are not written in the produced HTML in production mode. You can disable them in DEV mode too with: app.getMarkupSettings().setStripWicketTags(true). On Mon, Oct 1, 2012 at 8:02 AM, mahulianand mahulian...@gmail.com wrote: i

Re: Problem in Localizing submit button

2012-10-01 Thread Martin Grigorov
Please try with 1.5.8 The 'value' attribute is OK as far as I see. There is some problem with wicket:xyz On Mon, Oct 1, 2012 at 12:14 PM, mahulianand mahulian...@gmail.com wrote: i am using wicket 1.5.2 version the problem is that instead of the text in properties file null value is printed

Re: get new value of drop down inside vieworedit on onchange

2012-10-01 Thread vineet semwal
you can add in constructor/onintialize()/onconfigure()/onbeforerender but not in onafterender(),the exception is self explanatory Cannot modify component hierarchy after render phase has started (page version cant change then anymore) On Mon, Oct 1, 2012 at 3:11 PM, cosmindumy

Subclassing FormComponentPanel / propagating setRequired() to child components ?

2012-10-01 Thread Tobias Gierke
Hi, With setRequired() being final, I'm not sure how to propagate a setRequired() call to my child components ... I found some discussion about the pro's and con's of having a final setRequired() method () (

Re: Subclassing FormComponentPanel / propagating setRequired() to child components ?

2012-10-01 Thread Sebastien
Hi, Don't think you have to propagate #setRequired() to child components because the whole formcomponent is required. But I think you could overrive #checkRequired() - which is not final - to fit best your use case (which is called underneath by #validate()) Hope this helps, Sebastien. On Mon,

Re: Subclassing FormComponentPanel / propagating setRequired() to child components ?

2012-10-01 Thread Tobias Gierke
Hi, I decided to just override isRequired() on the child components and let it delegate to FormComponentPanel.this#isRequired() ... didn't test it yet but I suppose it should work. Thanks for your reply! Tobias Hi, Don't think you have to propagate #setRequired() to child components

Re: [Announce] wicket-dashboard

2012-10-01 Thread Paul Szulc
Hi, I will be adding your dashboard to one of my projects - this is a matter of weeks (customer is really, really excited ;)). I have some suggestions, I would divide the project into seperate modules: - wicket-dashboard-core: module with dashboard itself, simply juest the component and needed

Re: HybridUrlCodingStrategy in Wicket 1.5

2012-10-01 Thread Alec Swan
I updated https://cwiki.apache.org/confluence/display/WICKET/Request+mapping with new information, moved things around and added a ToC. I hope it's ok. According to org.apache.wicket.request.mapper.parameter.UrlPathPageParametersEncoder JavaDoc in 1.5 the default url coding strategy in 1.4 was