Re: Background Image in body tag
Joynty, On Fri, 2007-06-29 at 13:42 +0100, Al Maw wrote: Joynty wrote: Hello, i'm searching for a solution to set ab background picture for the page or table. Please can you post such questions to the users list in future. The dev list is for discussion related directly to the development of the framework only, not for basic user questions like this. Regards, Al Have no fear that your questions will be answered on the user list. All the devs watch the user list and respond to it extremely quickly. In addition, there are *many* more users that subscribe to the user list than the dev list. You likely to get more and quicker answers there than here. -- Philip A. Chapman Desktop and Web Application Development: Java, .NET, PostgreSQL, MySQL, MSSQL Linux, Windows 2000, Windows XP signature.asc Description: This is a digitally signed message part
Re: Updated sf.net site
Thanks to you and all the others for the hard work you've put into Wicket. It's a fantastic framework. On Thu, 2007-06-21 at 12:17 +0200, Martijn Dashorst wrote: All, I've updated the sf.net site with our news. Also tried to update any old links, and published our beta1 release. Martijn -- Philip A. Chapman Desktop and Web Application Development: Java, .NET, PostgreSQL, MySQL, MSSQL Linux, Windows 2000, Windows XP signature.asc Description: This is a digitally signed message part
Re: [vote] Accept wicket-contrib-velocity sub project
On Fri, 2007-05-25 at 17:56 +0300, C. Bergström wrote: - | | yes accept wicket-contrib-velocity |__/X The internet version of a hanging chad. Hope it's taken in good humour.. I couldn't resist.. ./C We don't count hanging chads here :-P -- Philip A. Chapman Desktop and Web Application Development: Java, .NET, PostgreSQL, MySQL, MSSQL Linux, Windows 2000, Windows XP signature.asc Description: This is a digitally signed message part
Re: Wicket Stuff commit access
You have to guess! On Wed, 2007-05-09 at 10:54 -0700, Igor Vaynberg wrote: where is your sf.net id? -igor On 5/9/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: want to be able to commit to the gmap contrib... -- Philip A. Chapman Desktop and Web Application Development: Java, .NET, PostgreSQL, MySQL, MSSQL Linux, Windows 2000, Windows XP signature.asc Description: This is a digitally signed message part
Re: svn commit: r536209 - /incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/ajax/AjaxRequestTarget.java
At least he admits to mistakes, if a bit roughly. On Tue, 2007-05-08 at 09:40 -0700, Igor Vaynberg wrote: what will people think??? :) http://papernapkin.org/pastebin/view/5915 -igor On 5/8/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Author: jcompagner Date: Tue May 8 07:44:07 2007 New Revision: 536209 URL: http://svn.apache.org/viewvc?view=revrev=536209 Log: stupid stupid stupid stupid Modified: incubator/wicket/trunk/jdk-1.4 /wicket/src/main/java/org/apache/wicket/ajax/AjaxRequestTarget.java Modified: incubator/wicket/trunk/jdk-1.4 /wicket/src/main/java/org/apache/wicket/ajax/AjaxRequestTarget.java URL: http://svn.apache.org/viewvc/incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/ajax/AjaxRequestTarget.java?view=diffrev=536209r1=536208r2=536209 == --- incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/ajax/AjaxRequestTarget.java (original) +++ incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/ajax/AjaxRequestTarget.java Tue May 8 07:44:07 2007 @@ -403,7 +403,7 @@ + component.toString()); } final String id = component != null ? component.getMarkupId() : null; - appendJavascript(Wicket.Focus.setFocusOnId(' + null + ');); + appendJavascript(Wicket.Focus.setFocusOnId(' + id + ');); } -- Philip A. Chapman Desktop and Web Application Development: Java, .NET, PostgreSQL, MySQL, MSSQL Linux, Windows 2000, Windows XP signature.asc Description: This is a digitally signed message part
wicket-contrib-datepicker moved to slf4j
Guys, Since wicket now uses slf4j, I've changed datepicker to use slf4j now too. The maven pom for datepicker was counting on the wicket dependency to bring in commons-logging. Thanks, -- Philip A. Chapman Desktop and Web Application Development: Java, .NET, PostgreSQL, MySQL, MSSQL Linux, Windows 2000, Windows XP signature.asc Description: This is a digitally signed message part
Re: Speaking of [EMAIL PROTECTED]@(U(IUFDS-4J and Wicket
I'll eat my words quick and easy replacement and get a patch together for you. On Thu, 2007-04-26 at 14:42 +0200, Johan Compagner wrote: who makes the patch! On 4/25/07, Philip A. Chapman [EMAIL PROTECTED] wrote: I also prefer slf4j (non-binding, of course). slf4j does not suffer from the classloading issues and, in my experience, is a quick and easy replacement for commons-logging. On Wed, 2007-04-25 at 21:42 +0200, Xavier Hanin wrote: Personnaly I prefer slf4j, especially because it doesn't suffer from classloading issues. My 2c. Xavier On 4/25/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Don't care personally. Eelco On 4/25/07, Martijn Dashorst [EMAIL PROTECTED] wrote: Did this change fall of the charts from the backport lists? Must we change the logging to SF$#L@@#4j or can we live with commons-logging? Martijn (who hasn't been bitten with clogging, yet) -- Learn Wicket at ApacheCon Europe: http://apachecon.com Join the wicket community at irc.freenode.net: ##wicket Wicket 1.2.6 contains a very important fix. Download Wicket now! http://wicketframework.org -- Philip A. Chapman Desktop and Web Application Development: Java, .NET, PostgreSQL, MySQL, MSSQL Linux, Windows 2000, Windows XP -- Philip A. Chapman Desktop and Web Application Development: Java, .NET, PostgreSQL, MySQL, MSSQL Linux, Windows 2000, Windows XP signature.asc Description: This is a digitally signed message part
Re: Speaking of [EMAIL PROTECTED]@(U(IUFDS-4J and Wicket
Done: https://issues.apache.org/jira/browse/WICKET-509 On Thu, 2007-04-26 at 08:00 -0500, Philip A. Chapman wrote: I'll eat my words quick and easy replacement and get a patch together for you. On Thu, 2007-04-26 at 14:42 +0200, Johan Compagner wrote: who makes the patch! On 4/25/07, Philip A. Chapman [EMAIL PROTECTED] wrote: I also prefer slf4j (non-binding, of course). slf4j does not suffer from the classloading issues and, in my experience, is a quick and easy replacement for commons-logging. On Wed, 2007-04-25 at 21:42 +0200, Xavier Hanin wrote: Personnaly I prefer slf4j, especially because it doesn't suffer from classloading issues. My 2c. Xavier On 4/25/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Don't care personally. Eelco On 4/25/07, Martijn Dashorst [EMAIL PROTECTED] wrote: Did this change fall of the charts from the backport lists? Must we change the logging to SF$#L@@#4j or can we live with commons-logging? Martijn (who hasn't been bitten with clogging, yet) -- Learn Wicket at ApacheCon Europe: http://apachecon.com Join the wicket community at irc.freenode.net: ##wicket Wicket 1.2.6 contains a very important fix. Download Wicket now! http://wicketframework.org -- Philip A. Chapman Desktop and Web Application Development: Java, .NET, PostgreSQL, MySQL, MSSQL Linux, Windows 2000, Windows XP -- Philip A. Chapman Desktop and Web Application Development: Java, .NET, PostgreSQL, MySQL, MSSQL Linux, Windows 2000, Windows XP -- Philip A. Chapman Desktop and Web Application Development: Java, .NET, PostgreSQL, MySQL, MSSQL Linux, Windows 2000, Windows XP signature.asc Description: This is a digitally signed message part
Re: Speaking of [EMAIL PROTECTED]@(U(IUFDS-4J and Wicket
I also prefer slf4j (non-binding, of course). slf4j does not suffer from the classloading issues and, in my experience, is a quick and easy replacement for commons-logging. On Wed, 2007-04-25 at 21:42 +0200, Xavier Hanin wrote: Personnaly I prefer slf4j, especially because it doesn't suffer from classloading issues. My 2c. Xavier On 4/25/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Don't care personally. Eelco On 4/25/07, Martijn Dashorst [EMAIL PROTECTED] wrote: Did this change fall of the charts from the backport lists? Must we change the logging to SF$#L@@#4j or can we live with commons-logging? Martijn (who hasn't been bitten with clogging, yet) -- Learn Wicket at ApacheCon Europe: http://apachecon.com Join the wicket community at irc.freenode.net: ##wicket Wicket 1.2.6 contains a very important fix. Download Wicket now! http://wicketframework.org -- Philip A. Chapman Desktop and Web Application Development: Java, .NET, PostgreSQL, MySQL, MSSQL Linux, Windows 2000, Windows XP signature.asc Description: This is a digitally signed message part
Re: generics in Wicket
Ryan, I do not use property models much, so that's part of the difference between our points of view (our coding styles). However, I do have at least one page that uses one. In that case, I forgo generics. I define raw types and set @SuppressWarnings(unchecked) on the methods that access them: JTextField tf = new JTextField(this, stringProperty); I would like to make the point that when I do use PropertyModels, I usually throw away my component anyway (I don't usually assign it to a variable) because I only really care about the Model and the data in it anyway. The above code snippet was just an example. The @SuppressWarnings annotation tells the compiler to shut up and not bother me about it 'cause I know what I'm doing. The case that I alluded to and Ivan asked about specifically is What about those components where generics really does matter? Two components that he suggested really need generics are DropDownChoice and ListView. There are others, but this raises a point. I think that the problem that the wicket devs ran into early on is that either all components are generified or none (because of the models). I think that my statement before is still a valid and is strengthened above. If generic components are not appropriate for the code that you are writing, don't use them. It's OK. It's better for you to have a torx screwdriver in our common toolbox that you seldom use than to throw it out and I have non, but need it daily. Thanks, On Mon, 2007-03-19 at 22:03 -0700, Ryan Holmes wrote: It's not that I don't like generics -- I just don't think Component makes sense as a generic class because it seems like the majority of use cases don't call for specifying a model type. Let me ask you, do you specify the type for form components even when you're using a CompoundPropertyModel (i.e. when you're never going to call getModel() or getModelObject() directly on those components)? And what about MarkupContainers and other components that you usually don't assign a model to? -Ryan On Mar 19, 2007, at 11:25 AM, Philip A. Chapman wrote: Guys, I've used generics with 2.0 at length, and absolutely love them. I am a huge fan of catching a problem early with compile-time errors rather than finding out later that I'm returning the wrong type from a model or that my Formatter is expecting a different type. Yes, for a while the angle brackets are ugly and annoying. Heck the first time I saw C style language, I thought that all the braces where ugly as sin. When I first began using annotations, I found it hard to read. Now? I've used all these things and have learned how to read them without having to stare at them a long time. Now I can move on to using them to make my code better. You do not *have* to use generics even with a generified framework. You will have to do a lot of casting and get a lot of compiler warnings, but it is not required. Nothing keeps you from defining a variable as a ListChoice rather than ListChoiceMyUserBean. I, on the other hand use ListChoiceMyUserBean extensively. To take that away would require that I touch a lot of code. For you, it requires that you ignore compiler warnings. All in all, I don't care much about the constructor change, but I consider generics to be a must-have. Anyway, that's my 2 cents. Your mileage may vary, of course. On Sun, 2007-03-18 at 22:22 -0700, Ryan Holmes wrote: Sure, but converters shouldn't necessarily be more tightly coupled to models either. Converters might use more fine grained types than a model, for instance (although I do see your point -- if objects are naturally tightly coupled there's no reason to pretend they're not). I guess I'm looking at this from a fundamentally different point of view: I've been getting by just fine with Wicket 1.2 (better than fine -- I freakin' love it) and haven't once been bothered by the lack of generics. I end up with maybe one or two casts in a page which just isn't a big deal. At the same time, generic components seem to add little and cost a lot in terms of productivity, readability and upgrade effort. So I totally agree that some things are nicer with generics. But that doesn't mean that generic components are the right design. I mean, are there demonstrable advantages to generic components that make Wicket a better framework and/or improve the API from a user's point of view? Or are generic components strictly a side-effect of generic models? -Ryan On Mar 18, 2007, at 6:35 PM, Igor Vaynberg wrote: the thing is the model ties into a few places in the component for example IConverter Component.getConverter(). it would be nice to say new WebMarkupContainerPerson { IConverterPerson getConverter() {...}} things like that -igorOn 3/18/07, Eelco Hillenius [EMAIL
Re: generics in Wicket
On Tue, 2007-03-20 at 05:37 -0500, Philip A. Chapman wrote: JTextField tf = new JTextField(this, stringProperty); JTextField??? Ok. I've been doing too much swing lately. Hopefully, you know that I ment TextField and not JTextField. Sadly, the models in Swing are *much* more complicated and are not generified (as the components are not). -- Philip A. Chapman Desktop and Web Application Development: Java, .NET, PostgreSQL, MySQL, MSSQL Linux, Windows 2000, Windows XP signature.asc Description: This is a digitally signed message part
Re: auto header contributions
I like the idea On Tue, 2007-03-20 at 10:33 -0700, Igor Vaynberg wrote: was just thinking if you have MyPanel.java and MyPanel.html, and then next to it you have MyPanel.css and MyPanel.js should we automatically include the css and js? kinda like an autoheadercontribution. wdyt? -igor -- Philip A. Chapman Desktop and Web Application Development: Java, .NET, PostgreSQL, MySQL, MSSQL Linux, Windows 2000, Windows XP signature.asc Description: This is a digitally signed message part
Re: VOTE: backporting wicket 2.0 model change to 1.3
expecting since months? In this case I follow AlMaw's opinion, please let the dust settle and do it in a few weeks. -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ -- Philip A. Chapman Desktop and Web Application Development: Java, .NET, PostgreSQL, MySQL, MSSQL Linux, Windows 2000, Windows XP signature.asc Description: This is a digitally signed message part
Re: VOTE: add Joda time as a dependency
My non-binding vote is go for it. Eelco Hillenius wrote: Hi all, For those who don't know, Joda Time: http://joda-time.sourceforge.net/ is a *much* better replacement of the Java date and time APIs it many ways (see their 'why Joda time section'). Also, Joda time will be the basis of JSR 310 (http://jcp.org/en/jsr/detail?id=310). Date/ time handling wouldn't normally be part of Wicket's responsibility, wouldn't it be the fact that our date related components suffer from the JDKs API being bad. I wrote some components and a converter based on Joda time that work better than the current ones we have. The most important feature of those components is that they take the client's time zone into account. I've tried to write them against the normal date/time API, but got so sick of battling it that I gave up. And as soon as I adopted Joda time (which we were already using for our project), it worked superb! My proposal is to include Joda time as a dependency of the wicket core project. I know *any* extra dependency raises eyebrows and I feel great about Wicket hardly having any dependencies at the moment. However, I feel this library is so good and could improve our core components and converters so much that it is worth having the extra dependency. Joda time is a maven 2 project, is Apache 2.0 licensed, and version 1.4 is 512KB. Your thoughts/ votes? Eelco
Re: wicket 2.0 migrated to slf4j
Korbinian, No. You add a different jar depending on which logging system you use. The base slf4j jar is already in the pom. But the plugin jar which interfaces with your chosen logging system must be added by yourself. Take a look at slf4j when you get a chance. It's a very nice logging system. This style of using a different jar for whatever logging system helps get away from some hacks that commons-logging had to work with. Thanks, On Fri, 2006-12-29 at 09:14 -0600, Ryan Sonnek wrote: can't this be added to the wicket POM so that all wicket 2.0 projects automatically pick it up? On 12/29/06, Korbinian Bachl [EMAIL PROTECTED] wrote: I added it to the Wicket 2.0 Migration Page on the Wiki, hope this is ok. Regards -Ursprüngliche Nachricht- Von: Igor Vaynberg [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 29. Dezember 2006 08:56 An: wicket-dev@incubator.apache.org; wicket-user@lists.sourceforge.net Betreff: wicket 2.0 migrated to slf4j i have just migrated wicket 2.0 from commons-logging to slf4j as was previously discussed and agreed upon. people using 2.0 need to add the following to their project's pom or equivalent: if you are using commons-logging: dependency groupIdorg.slf4j/groupId artifactIdslf4j-jcl/artifactId version1.1.0/version /dependency if you are using log4j dependency groupIdorg.slf4j/groupId artifactIdslf4j-log4j12/artifactId version1.1.0/version /dependency these jars will bind slf4j to the proper logging library if you are using another logging impl like jdk see slf4j website for the appropriate binding jar -igor -- Philip A. Chapman Desktop and Web Application Development: Java, .NET, PostgreSQL, MySQL, MSSQL Linux, Windows 2000, Windows XP signature.asc Description: This is a digitally signed message part
Re: AW: wicket 2.0 migrated to slf4j
Sorry Korbinian, I addressed that email wrong. It was ment for Ryan. I typed in too big of a hurry. I'm an idiot and you're all good. On Fri, 2006-12-29 at 17:27 +0100, Korbinian Bachl wrote: I dont understand - i just took a part of igors posting and made it into the migration wiki - whats wrong with it? _ Von: Philip A. Chapman [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 29. Dezember 2006 16:51 An: wicket-dev@incubator.apache.org Betreff: Re: wicket 2.0 migrated to slf4j Korbinian, No. You add a different jar depending on which logging system you use. The base slf4j jar is already in the pom. But the plugin jar which interfaces with your chosen logging system must be added by yourself. Take a look at slf4j when you get a chance. It's a very nice logging system. This style of using a different jar for whatever logging system helps get away from some hacks that commons-logging had to work with. Thanks, On Fri, 2006-12-29 at 09:14 -0600, Ryan Sonnek wrote: can't this be added to the wicket POM so that all wicket 2.0 projects automatically pick it up? On 12/29/06, Korbinian Bachl [EMAIL PROTECTED] wrote: I added it to the Wicket 2.0 Migration Page on the Wiki, hope this is ok. Regards -Ursprüngliche Nachricht- Von: Igor Vaynberg [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 29. Dezember 2006 08:56 An: wicket-dev@incubator.apache.org; wicket-user@lists.sourceforge.net Betreff: wicket 2.0 migrated to slf4j i have just migrated wicket 2.0 from commons-logging to slf4j as was previously discussed and agreed upon. people using 2.0 need to add the following to their project's pom or equivalent: if you are using commons-logging: dependency groupIdorg.slf4j/groupId artifactIdslf4j-jcl/artifactId version1.1.0/version /dependency if you are using log4j dependency groupIdorg.slf4j/groupId artifactIdslf4j-log4j12/artifactId version1.1.0/version /dependency these jars will bind slf4j to the proper logging library if you are using another logging impl like jdk see slf4j website for the appropriate binding jar -igor -- Philip A. Chapman Desktop and Web Application Development: Java, .NET, PostgreSQL, MySQL, MSSQL Linux, Windows 2000, Windows XP signature.asc Description: This is a digitally signed message part
Re: AW: wicket 2.0 migrated to slf4j
Snowed in and feeling a big cranky? :-) I can call myself an idiot. You're job was to dispute me! Some friend. :-P On Fri, 2006-12-29 at 09:36 -0700, Justin Lee wrote: -BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 Philip A. Chapman wrote: Sorry Korbinian, I addressed that email wrong. It was ment for Ryan. I typed in too big of a hurry. I'm an idiot and you're all good. +1 ;) - -- Justin Lee http://www.antwerkz.com AIM : evan chooly Skype : evanchooly -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (Cygwin) iD8DBQFFlUQJJnQfEGuJ90MRAyVNAJ96JFHj2PeHOGQPyc0Uj5NUpiEjtACgsWLE mYlbgUa1g6KJyXm0DW+nRDk= =+Fo3 -END PGP SIGNATURE- -- Philip A. Chapman Desktop and Web Application Development: Java, .NET, PostgreSQL, MySQL, MSSQL Linux, Windows 2000, Windows XP signature.asc Description: This is a digitally signed message part
Re: Re: SF.net ranking plummets
What good is having a cake and not being able to eat it? I always thought that a stupid saying. Still, the sentiment is true enough. On Sun, 2006-10-22 at 21:30 +0200, Dirk Markert wrote: You can't have the cake and eat it. 2006/10/21, Martijn Dashorst [EMAIL PROTECTED]: Too bad we never got into the top 10... Martijn On 10/21/06, Eelco Hillenius [EMAIL PROTECTED] wrote: *snif*. No more rankings. *snif* On 10/21/06, Martijn Dashorst [EMAIL PROTECTED] wrote: Wicket's move to Apache has an immediate and quite drastic effect on our sf.net ranking: 21 Oct 2006 * 1,085 20 Oct 2006 780 19 Oct 2006 692 18 Oct 2006 628 17 Oct 2006 185 16 Oct 2006 159 15 Oct 2006 143 Martijn -- a href="" href="http://www.thebeststuffintheworld.com/vote_for/wicket">http://www.thebeststuffintheworld.com/vote_for/wicket Vote/a for a href="" href="http://www.thebeststuffintheworld.com/stuff/wicket">http://www.thebeststuffintheworld.com/stuff/wicket Wicket/a at the a href="" href="http://www.thebeststuffintheworld.com/">http://www.thebeststuffintheworld.com/Best Stuff in the World!/a -- a href="" href="http://www.thebeststuffintheworld.com/vote_for/wicket">http://www.thebeststuffintheworld.com/vote_for/wicketVote/a for a href="" href="http://www.thebeststuffintheworld.com/stuff/wicket">http://www.thebeststuffintheworld.com/stuff/wicket Wicket/a at the a href="" href="http://www.thebeststuffintheworld.com/">http://www.thebeststuffintheworld.com/Best Stuff in the World!/a -- Philip A. Chapman Desktop and Web Application Development: Java, .NET, PostgreSQL, MySQL, MSSQL Linux, Windows 2000, Windows XP signature.asc Description: This is a digitally signed message part