Resource References via ResourceBundles

2013-12-17 Thread Sebastien
Hello all, Using wicket 6.12.0 I am trying to reference a CSS using getResourceBundles().add[Css]Bundle(...) but I cannot make it work, even in a simple quickstart: I do not have any reference in the output html I read the post bellow but it did not helped me either (or I really missed

Re: Resource References via ResourceBundles

2013-12-17 Thread Martin Grigorov
Hi Sebastien, This just declares the bundle. The bundle will be used only if a component uses any of the bundle's provided resources. E.g.: if there is a bundle with references A, B and C then if you use any of A, B or C in your page then the bundle with all of them will be rendered. Martin

Re: a little question about add(new XComponent(id).setVisible(false))

2013-12-17 Thread Decebal Suiu
Hi Sebastian I see that in Component.internalBeforeRender() the call of onBeforeRender() is conditioned by determineVisibility() and this explains all. I think it's fine to change the hierarchy in onBeforeRender() ... , this is even made explicit in the source code of

Re: a little question about add(new XComponent(id).setVisible(false))

2013-12-17 Thread Martin Grigorov
Hi, On Tue, Dec 17, 2013 at 11:21 AM, Decebal Suiu decebal.s...@asf.ro wrote: Hi Sebastian I see that in Component.internalBeforeRender() the call of onBeforeRender() is conditioned by determineVisibility() and this explains all. I think it's fine to change the hierarchy in

Re: Script Error is getting in IE8 while selecting DatePicker in Modal Window

2013-12-17 Thread wicket_new_user
Hi, Currently the page is not having any form, and the data is loaded to WebMarkupContainer/MarkupContainer. I've replaced WebMarkupContainer with Form and modelwindow is added to the form and still see the same issue. As for testing to go, i've replaced calendar-min.js code with Calendar.js in

Re: a little question about add(new XComponent(id).setVisible(false))

2013-12-17 Thread Serban.Balamaci
I've found it nicely explained here: http://wicketguide.comsysto.com/guide/chapter6.html#chapter6_4 seems it's a great guide. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/a-little-question-about-add-new-XComponent-id-setVisible-false-tp4663041p4663072.html Sent

Calendar is showing below the DatePicker, when cliked in IE8

2013-12-17 Thread wicket_new_user
Hi, When DatePicker is clicked, the Calendar is showing below the icon in IE8. But it is displaying properly in IE 9,10, Chrome browsers. As this is the last one in the page, has to scroll down to select the date value. Any suggestions on this. thanks in advance. Venky -- View this message

Re: Resource References via ResourceBundles

2013-12-17 Thread Sebastien
Hi Martin, Thank you very much! I had misunderstood the usage of the bundle... Best regards, Sebastien On Tue, Dec 17, 2013 at 10:17 AM, Martin Grigorov mgrigo...@apache.orgwrote: Hi Sebastien, This just declares the bundle. The bundle will be used only if a component uses any of the

Radios and checkboxes with Bootstrap

2013-12-17 Thread Bertrand Guay-Paquet
Hello, I'm using Bootstrap for form styling which expects radio choices and checkboxes in one of these forms: label class=radio-inlineinput type=radioAn inline radiolabel div class=checkbox labelinput type=checkboxA stacked checkbox/label /div Using Wicket's built-in components, the

Re: Calendar is showing below the DatePicker, when cliked in IE8

2013-12-17 Thread Paul Bors
Check your HTML's DOCTYPE and/or override the CSS for the DatePicker on that page to make it work for IE8 as well. On Tue, Dec 17, 2013 at 7:25 AM, wicket_new_user venkyra...@gmail.comwrote: Hi, When DatePicker is clicked, the Calendar is showing below the icon in IE8. But it is displaying

Re: Radios and checkboxes with Bootstrap

2013-12-17 Thread Gabriel Landon
Bertrand, I'm sure that we can add a new BootstrapRadioChoice in the wicket-bootstrap project. Can you please open a ticket here : https://github.com/l0rdn1kk0n/wicket-bootstrap/issues?state=open And if you can do a PR that would be great. Regards, Gabriel. -- View this message in context:

Re: RadioGroup selected model value

2013-12-17 Thread Paul Bors
See also section 12.10 of the Wicket Guide Working with radio buttons and checkboxes at: http://wicket.apache.org/guide/guide/chapter11.html#chapter11_10 On Mon, Dec 16, 2013 at 3:44 AM, Selom pierre.kou...@uhb.fr wrote: Hi Sven, Thanks for the clarification . Now I understand much more.

AjaxLazyLoadPanel in wicket 6

2013-12-17 Thread Entropy
Hi, it's me again, and I am still converting from 1.4.7 to 6.12. I think I am starting to get down to the last few errors. I have an AjaxLazyLoadPanel that loads a grid of data that takes a little time to load. It worked fine in the 1.4.7 version of the app, though there are code changes from

Re: a little question about add(new XComponent(id).setVisible(false))

2013-12-17 Thread Paul Bors
@Serban, Careful with the comsysto.com links as there is already a version of the Wicket Guide at wicket.apache.org/guide. I think the link you're looking for is: http://wicket.apache.org/guide/guide/chapter6.html#chapter6_4 Jira tickets for the guide can be logged in Wicket's Jira queue under

Re: AjaxLazyLoadPanel in wicket 6

2013-12-17 Thread Sven Meier
Check Wicket's Ajax console for any output - is the request triggered to load the lazy load component? Sven On 12/17/2013 09:42 PM, Entropy wrote: Hi, it's me again, and I am still converting from 1.4.7 to 6.12. I think I am starting to get down to the last few errors. I have an

Re: Radios and checkboxes with Bootstrap

2013-12-17 Thread Martin Grigorov
Hi, You can use RadioGroup + Radio components instead and have better control on the markup. Martin Grigorov Wicket Training Consulting On Tue, Dec 17, 2013 at 7:02 PM, Bertrand Guay-Paquet ber...@step.polymtl.ca wrote: Hello, I'm using Bootstrap for form styling which expects radio

Re: Radios and checkboxes with Bootstrap

2013-12-17 Thread Bertrand Guay-Paquet
Hi, Ok I'll have a look at RadioGroup + Radio. Radio has a note in its javadoc about its stateful nature so I'll need to take care. @Gabriel: I'm not actually using wicket-boostrap. Just Wicket and Bootstrap integrated with other libs in a home-made solution. I think it would be best if

Re: AjaxLazyLoadPanel in wicket 6

2013-12-17 Thread Entropy
I think so. Here's the output. It seems like the component id is wrong. Indeed, I DO see that show up. But that isn't the full set of what should show. Because the method I referenced previously was not called, the data that should be part of this isn't ever retrieved. I also notice that the

DateTimeField or html5 date

2013-12-17 Thread gerritqf
Hello, I am using Wicket now for a couple of weeks. In my form i have some datefields. Now is my question: considering my not so experienced knowledge about Wicket, is it better to use the html5 input type=date or should i implement a DateTimeField (like the example in Wicket in Action, page

Re: DateTimeField or html5 date

2013-12-17 Thread Martin Grigorov
Hi, Wicket just generates the final page markup. So the decision what to use depends on: what user experience you want to provide ? By using HTML5's date, datetime, ... types some browsers will show datepicker-like widget, and other browsers won't show anything (older versions of IE). So your