readering strategy of the 'head' section

2013-03-21 Thread Harrie Hazewinkel
Hello, I recently upgraded from wicket 1.5 to 6. This is mostly not a real problem. However, I believe that the complete change of the header render strategy is not compatible. This is also mentioned in various places. Wicket 1.5 may not have been consistent in for the header rendering, but

Re: readering strategy of the 'head' section

2013-03-21 Thread Martin Grigorov
Hi, The change to use ChildFirstHeaderRenderStrategy by default was introduced in 1.5.0. The usage of a system property to switch the strategy was intentional - to make it harder. Wicket developers believe that ParentFirstHeaderRenderStrategy should not be used. But there was a bug that

Re: Wicket Ajax Debug Errors - how to debug?

2013-03-21 Thread Sven Meier
You can ignore it for now. Thanks Sven On 03/17/2013 11:08 PM, Marios Skounakis wrote: Did so - WICKET-5104 https://issues.apache.org/jira/browse/WICKET-5104 I still don't understand what the problem is. Despite the error things seem to be working. Is it safe to ignore it, or should I find a

Re: Wicket Application Design Question

2013-03-21 Thread Martin Grigorov
Hi, I also recommend to use separate .js files for the different components. I'd also prefer a Behavior to contribute some common JS logic like validation. If a component needs validation then add this behavior to it. Since 6.0 Wicket supports resource bundling, i.e. combine several .js or .css

Re: readering strategy of the 'head' section

2013-03-21 Thread Harrie Hazewinkel
Hello, After the upgrade to 6.x I found that the order of the headers were reverse compared to 1.5. This caused the com.googlecode.wicket.jquery.ui.form.datepicker.DatePicker to fail as it did not wanted to display the popup to pick the date in a panel. The problem was that it depended on

Re: Wicket Application Design Question

2013-03-21 Thread xe0nre
Thanks for your answers .At this point we are using wicket 1.5.9 but plan a switch to wicket 6.Maybe we well use resource bundling to improve performace. Thanks again -- View this message in context:

Re: Wicket Application Design Question

2013-03-21 Thread armandoxxx
From my experience use small component based .js and css files. But just be careful and read the docs and references three times of how wicket renders them to head !!! One tiny little advice about wicket:head tag .. just dost use it .. put everything to renderHead() method in component class ;)

Adding to the existing AjaxBehavior of a component

2013-03-21 Thread eugenebalt
We have a large panel containing components with multiple Ajax behaviors. In one context where this panel is used, we need to augment (add) the existing AjaxBehavior of a certain component by adding extra functionality to it. It seems that if we add it the usual way (add (new

Wicket panel - call jQuery

2013-03-21 Thread mac
Hi, I have a panel component containing org.apache.wicket.extensions.markup.html.tabs.TabbedPanel(s): Java (my component constructor): ListTab tabs = new ArrayList(); ... add( new AjaxTabbedPanel( menu, tabs ) ); HTML: div id=menu div class=tab-row ... /div div class=tab-panel

Re: Wicket panel - call jQuery

2013-03-21 Thread Ernesto Reinaldo Barreiro
try with DomReadyHederItem to see if you get a different behavior. On Thu, Mar 21, 2013 at 3:44 PM, mac gmaci...@gmail.com wrote: Hi, I have a panel component containing org.apache.wicket.extensions.markup.html.tabs.TabbedPanel(s): Java (my component constructor): ListTab tabs = new

Re: Wicket panel - call jQuery

2013-03-21 Thread Jered Myers
I am not positive, but your selector appears wrong to me. Try response.render( DomReadyHeaderItem.forScript( $(\#menu\).find(\.tab-row\).addClass(\myClass\);, someId ) ); On 03/21/2013 07:50 AM, Ernesto Reinaldo Barreiro wrote: try with DomReadyHederItem to see if you get a different

Re: Wicket panel - call jQuery

2013-03-21 Thread mac
Thanks, it workes perfectly. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-panel-call-jQuery-tp4657401p4657404.html Sent from the Users forum mailing list archive at Nabble.com. - To

UrlValidator issue

2013-03-21 Thread Teresa Batista Neto
Dear all, One of our users got an error message when trying to add a new URL: 'http://en.wikipedia.org/wiki/Genus_(mathematics)' is not a valid URL I just created very quickly a junit test and it fails: String[] schemes = {http}; UrlValidator urlValidator = new UrlValidator(schemes);

Re: Adding to the existing AjaxBehavior of a component

2013-03-21 Thread Andrea Del Bene
Hi, how does the additional behavior break the existing one? We have a large panel containing components with multiple Ajax behaviors. In one context where this panel is used, we need to augment (add) the existing AjaxBehavior of a certain component by adding extra functionality to it. It

Free Wicket guide now available!

2013-03-21 Thread Andrea Del Bene
Dear Wicketers, I'm really excited to announce that, after almost two years of work (in may spare time), I've finished and published my free guide to Wicket! You can find it at https://code.google.com/p/wicket-guide/. I've chosen to use Google Project because many of us have a gmail account

Re: UrlValidator issue

2013-03-21 Thread Sven Meier
It seems UrlValidator chokes on parantheses. Please open an Jira issue. Thanks Sven On 03/21/2013 04:33 PM, Teresa Batista Neto wrote: Dear all, One of our users got an error message when trying to add a new URL: 'http://en.wikipedia.org/wiki/Genus_(mathematics)' is not a valid URL I just

Re: Free Wicket guide now available!

2013-03-21 Thread Sebastien
Ouch! Thanks a million for this, I am sure it will be very good, relevant and useful for a lot a people! I am sure I will read it. Please let us know when the websocket part is covered... You have a some typo in the chapter 19 title (Test Driven Develomnet) Respect for this huge job!! ;)

Re: Free Wicket guide now available!

2013-03-21 Thread Robert O'Connor
Sexy :D On Mar 21, 2013 11:52 AM, Andrea Del Bene an.delb...@gmail.com wrote: Dear Wicketers, I'm really excited to announce that, after almost two years of work (in may spare time), I've finished and published my free guide to Wicket! You can find it at

Re: Free Wicket guide now available!

2013-03-21 Thread Andrea Del Bene
Thank you Sebastien. I did my best to avoid this kinds of errors but I guess that no guide or book is complete without an errata corrige :D. Ouch! Thanks a million for this, I am sure it will be very good, relevant and useful for a lot a people! I am sure I will read it. Please let us know when

Re: Adding to the existing AjaxBehavior of a component

2013-03-21 Thread eugenebalt
For example, the Panel was showing/hiding some components inside itself, based on the selection in those components; that was working correctly. Right now, we're using the Panel on a separate page and have an external component that needs to respond to the events in one of the Panel's dropdowns.

Re: Free Wicket guide now available!

2013-03-21 Thread Martin Grigorov
Well done, Andrea! Create a cover image and we should add your guide to http://wicket.apache.org/learn/books/ Or just send a patch with the addition - https://svn.apache.org/repos/asf/wicket/common/site/trunk/learn/books On Thu, Mar 21, 2013 at 5:51 PM, Andrea Del Bene

Re: Free Wicket guide now available!

2013-03-21 Thread Sebastien
No worry, I will let you know if I find others... :) By the way, maybe you can mention in the first page home page the wicket version (major) the book is covering. I guess it's wicket 6.x Thanks again, I share it with my colleagues! :) Sebastien. On Thu, Mar 21, 2013 at 5:10 PM, Andrea Del

Re: Free Wicket guide now available!

2013-03-21 Thread Cedric Gatay
Thanks for your work Andrea ! Regards, __ Cedric Gatay http://www.bloggure.info | http://cedric.gatay.fr | @Cedric_Gatayhttp://twitter.com/Cedric_Gatay On Thu, Mar 21, 2013 at 5:10 PM, Andrea Del Bene an.delb...@gmail.comwrote: Thank you Sebastien. I did my best to avoid this kinds of errors

Re: Free Wicket guide now available!

2013-03-21 Thread Andrea Del Bene
Yes you are right. I've omitted the version because is reported in the introduction of the guide. But since there are few books around based on Wicket 6, I think I will follow your advice. version (major) the book is covering. I guess it's wicket 6.x

Re: Free Wicket guide now available!

2013-03-21 Thread francois meillet
What a fantastic job ! Thanks a lot ! François On Thu, Mar 21, 2013 at 5:24 PM, Andrea Del Bene an.delb...@gmail.comwrote: Yes you are right. I've omitted the version because is reported in the introduction of the guide. But since there are few books around based on Wicket 6, I think I will

Custom DropDownChoice using HeaderItem

2013-03-21 Thread prasopes
Hi, I'd like to have a DropDownChoice that gets transformed with Javascript on each rendering. The Javascript manipulates the option tags. Is it possible to achieve this using override of renderHead method? I tried: But when the Javascript gets called, the select has no options yet. Am I headed

Re: Free Wicket guide now available!

2013-03-21 Thread sauli.ketola
Based on a quick browse, this seems to be a great and a very comprehensive quide to Wicket. I think documentation is the weakest part of Wicket and I have been waiting for something like this. None of the books I've read about Wicket so far explain the basics and internals of Wicket like this

Re: Custom DropDownChoice using HeaderItem

2013-03-21 Thread Igor Vaynberg
use OnDomReadyHeaderItem -igor On Thu, Mar 21, 2013 at 10:16 AM, prasopes vladimirkro...@gmail.com wrote: Hi, I'd like to have a DropDownChoice that gets transformed with Javascript on each rendering. The Javascript manipulates the option tags. Is it possible to achieve this using override

Re: Free Wicket guide now available!

2013-03-21 Thread Bertrand Guay-Paquet
Thanks a lot for your effort! Before I start reading whole sections, is the source of the document available somewhere? I'd like to correct any typos I may find along the way to do my part and I think that a patch would be way more useful than sending an email with page numbers and

Re: Free Wicket guide now available!

2013-03-21 Thread Paul Bors
Thank you very much for the effort! We're in the mist of performing this upgrade and now that there is some reading material I can better evaluate the potentials faults for our project. Could you also add a PayPal Donate button to your project's home page? I would like to send my regards :) ~

Re: Free Wicket guide now available!

2013-03-21 Thread Andrea Del Bene
Hi Bertrand, no, at the moment there is no source for documentation. The main document is a LibreOffice odt file. I didn't decide yet how to make it available... Thanks a lot for your effort! Before I start reading whole sections, is the source of the document available somewhere? I'd like

Re: Free Wicket guide now available!

2013-03-21 Thread Eric Jablow
Also, did you use \TeX or \LaTeX or \ConTeXt? If you did, what additional packages did you use? On Thu, Mar 21, 2013 at 3:49 PM, Bertrand Guay-Paquet ber...@step.polymtl.ca wrote: Thanks a lot for your effort! Before I start reading whole sections, is the source of the document available

Re: Free Wicket guide now available!

2013-03-21 Thread Andrea Del Bene
No, I'm currently using LibreOffice 3.5. I'm not planning to use LaTex but I never say never...;-) Also, did you use \TeX or \LaTeX or \ConTeXt? If you did, what additional packages did you use? On Thu, Mar 21, 2013 at 3:49 PM, Bertrand Guay-Paquet ber...@step.polymtl.ca wrote: Thanks a lot

Re: Free Wicket guide now available!

2013-03-21 Thread Andrea Del Bene
Thank you sauli! Let's see how things evolve... :) Based on a quick browse, this seems to be a great and a very comprehensive quide to Wicket. I think documentation is the weakest part of Wicket and I have been waiting for something like this. None of the books I've read about Wicket so far

Re: Adding to the existing AjaxBehavior of a component

2013-03-21 Thread Andrea Del Bene
Can you show some code or (better) can you replicate your problem in a quickstart application? In your opinion which are the behaviors in conflict? For example, the Panel was showing/hiding some components inside itself, based on the selection in those components; that was working correctly.

RE: Suppress Ajax ComponentNotFoundException

2013-03-21 Thread jchappelle
Did anyone ever find a solution to this? We are having the same problem with ComponentNotFoundExceptions. Thanks, Josh -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Suppress-Ajax-ComponentNotFoundException-tp4650209p4657428.html Sent from the Users forum

Re: Gmap3 Geocoding shows Status 610

2013-03-21 Thread vp143
Thank you very much for this Dieter and Martin! One other question, when will wicketstuff gmap3 be packaged up? I normally pick up the jar from maven central. Thanks Vishal -- View this message in context:

Re: Prioritize header items in html templates

2013-03-21 Thread Guillaume Smet
On Wed, Mar 20, 2013 at 11:48 PM, Guillaume Smet guillaume.s...@gmail.com wrote: On Wed, Mar 20, 2013 at 12:58 PM, Martin Grigorov mgrigo...@apache.org wrote: Another user asked the same question so I added it to my demo app:

Re: Free Wicket guide now available!

2013-03-21 Thread Bertrand Guay-Paquet
That's fine. What is your preferred way to receive such feedback then (typos, etc.)? Annotated pdf? I'm not very familiar with the tools available for working with pdf files. By the way, I don't want to rush you or demand the source! I'm just asking to help out if possible :) On 21/03/2013