Re: [Wicket-user] IAlternateParentProvider method attributes

2006-10-03 Thread igor.vaynberg
the children of the component are not available yet. the linkage between component and its parent is the first thing created by the call to super(). only the class and id are available because it would be dangerous to give you access to anything else because the child is still being

[Wicket-user] Database Integration With Wicket

2006-10-03 Thread Anders Peterson
JPA, Hibernate and other tools like that seem to (desperately) try to hide the fact that there is an rdbms underneath. Did anyone here try not having one... http://www.db4o.com/about/news/release/2006_09_28.aspx /Anders Korbinian Bachl wrote: Hi All, since im working now several days

Re: [Wicket-user] Database Integration With Wicket

2006-10-03 Thread Korbinian Bachl
dont believe a benchmark that you haven't faked yourself but serious: 99% of all time you have no choice. The DB isnt part of your app, you are forced to connect to a legacy one and personally I havent heard of DB4O beeing as mighty as a clustered oracle wich can get up to thousands of

Re: [Wicket-user] Database Integration With Wicket

2006-10-03 Thread Anders Peterson
Ok, I wasn't suggesting that db40 actually is 55 times faster than Hibernate (should have linked to a different page). When you have to connect to a legacy rdbms then using db4o is obviously not an option. Say you are a Java developer working on a new application, and you don't know much

Re: [Wicket-user] Database Integration With Wicket

2006-10-03 Thread Korbinian Bachl
Hi Anders, Say you are a Java developer working on a new application, and you don't know much about databases, you just need persistence. It seems JPA is, partly, designed for this scenario. And in this case wouldn't using, something like, db40 be a better alternative? well, in fact,

Re: [Wicket-user] Fwd: Can we totally separate styles?

2006-10-03 Thread Nino Wael
Hmm im not completly sure on what you mean. But you could either have a link to the css and use the wicked:head tag to link to it if you are using a panel, or the same just using a package resource reference. You could take a looking how the wicket.extensions.palette handles this (although as

[Wicket-user] Looking for a forum that implement by wicket and open source

2006-10-03 Thread 叶 希良
Hello, I've read the code of woogle(http://woogle.billen.dk), I found that there're two markup in the WoogleBasePage.html, one is wicket:child, the other is wicket:extend, so I think that there're many feature not show in wicket's example. I wish to read some code of a project that implement by

Re: [Wicket-user] Looking for a forum that implement by wicket and opensource

2006-10-03 Thread Nino Wael
You could take a look at the phonebook example? http://wicket-stuff.sourceforge.net/wicket-phonebook/ -regards Nino -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ? ?? Sent: 3. oktober 2006 12:44 To: wicket-user@lists.sourceforge.net Subject:

[Wicket-user] [tutorial] Wicket + Spring integration - revisited

2006-10-03 Thread Leszek Gawron
Hello, I just wanted to share another way of injecting spring services into wicket code. This one uses AOP. - o - Why another approach? - o - Using wicket-spring along with wicket-spring-annot works nicely for components (althought you have to remember not initializing it yourself)

[Wicket-user] Wicket-Support.com launched

2006-10-03 Thread Matej Knopp
Dear Wicket users, we have launched a company that provides consultation, support and training for Wicket. For more information visit http://www.wicket-support.com. We are looking forward to help you with this amazing framework in any way you need. Kind regards, Matej Knopp, Wicket Support

Re: [Wicket-user] [tutorial] Wicket + Spring integration - revisited

2006-10-03 Thread Eelco Hillenius
I just wanted to share another way of injecting spring services into wicket code. This one uses AOP. - o - Why another approach? - o - Using wicket-spring along with wicket-spring-annot works nicely for components (althought you have to remember not initializing it yourself)

Re: [Wicket-user] [tutorial] Wicket + Spring integration - revisited

2006-10-03 Thread Leszek Gawron
Eelco Hillenius wrote: I just wanted to share another way of injecting spring services into wicket code. This one uses AOP. - o - Why another approach? - o - Using wicket-spring along with wicket-spring-annot works nicely for components (althought you have to remember not

Re: [Wicket-user] [tutorial] Wicket + Spring integration - revisited

2006-10-03 Thread Matej Knopp
But it should. I don't see reason why this wouldn't work? If I recall correctly it worked for me. -Matej Leszek Gawron wrote: Eelco Hillenius wrote: I just wanted to share another way of injecting spring services into wicket code. This one uses AOP. - o - Why another approach?

Re: [Wicket-user] [tutorial] Wicket + Spring integration - revisited

2006-10-03 Thread Joni Freeman
Yes, it works. I use it in many places. Joni On Tue, 2006-10-03 at 16:28 +0200, Matej Knopp wrote: But it should. I don't see reason why this wouldn't work? If I recall correctly it worked for me. -Matej Leszek Gawron wrote: Eelco Hillenius wrote: I just wanted to share another way

Re: [Wicket-user] Database Integration With Wicket

2006-10-03 Thread igor.vaynberg
if you want to use straight jdbc that should be easy. what you need is a connection pool - there is one in apache commons. you store the connection pool reference in your Application subclass. whether you create it there or pull it out of jndi is up to you. then you subclass requestcycle and do

Re: [Wicket-user] [tutorial] Wicket + Spring integration - revisited

2006-10-03 Thread Leszek Gawron
Joni Freeman wrote: Yes, it works. I use it in many places. Joni I have just checked: public class GlobalNewsListModel extends LoadableDetachableModel { @SpringBean private NewsService newsService; public NewsService getNewsService() { return newsService; }

Re: [Wicket-user] [tutorial] Wicket + Spring integration - revisited

2006-10-03 Thread igor.vaynberg
you missed this: public SomeModel() { InjectorHolder.getInjector().inject(this); } -Igor Leszek Gawron-2 wrote: Joni Freeman wrote: Yes, it works. I use it in many places. Joni I have just checked: public class GlobalNewsListModel extends LoadableDetachableModel {

Re: [Wicket-user] [tutorial] Wicket + Spring integration - revisited

2006-10-03 Thread Leszek Gawron
igor.vaynberg wrote: you missed this: public SomeModel() { InjectorHolder.getInjector().inject(this); } hmmm .. another thread local/singleton ... nice :) -- Leszek Gawron, IT Manager MobileBox sp. z o.o. +48 (61) 855 06 67

Re: [Wicket-user] [tutorial] Wicket + Spring integration - revisited

2006-10-03 Thread igor.vaynberg
this is nice. what i do like about it * you can inject anything anywhere what i dont like is * post constructor injection like youve mentioned - delegate or not it still sucks, a different pointcut is needed * you have to keep your variables transient - very easy mistake to make, otherwise big

Re: [Wicket-user] [tutorial] Wicket + Spring integration - revisited

2006-10-03 Thread igor.vaynberg
in life, but especially in programming, you cant have something for nothing :) -Igor Leszek Gawron wrote: igor.vaynberg wrote: you missed this: public SomeModel() { InjectorHolder.getInjector().inject(this); } hmmm .. another thread local/singleton ... nice :) --

[Wicket-user] NullPointerException in ListView

2006-10-03 Thread kevinr
I'm receiving a null pointer exception within the ListView component. The ListView is trying to render null ListItems. From what I can see, populateItem isn't even being called. I can't tell if this is a bug, or if I'm doing something wrong. I'm using ListViews in other sections of my code and I

[Wicket-user] Phonebook Shades integration

2006-10-03 Thread Geoff hendrey
Hi Igor, If you download the 1.2 phonebook, it contains no src directory. It is simply a war file, and the src files are inside WEB-INF/classes. Browsing the repo, I see the src dir now. So my guess is that downloaders of the WAR aren't really meant to use the maven pom which is in the WAR.

Re: [Wicket-user] ajax refresh on date picker

2006-10-03 Thread igor.vaynberg
is it possible to change calendar.js and include an include_only_once logic? -Igor Pierre-Yves Saumont wrote: Hello Matej, I eventually found the updated file. (I was looking for the calendar.js file, and not for wicket-ajax.js). It doesn't change anything. I still have a too much

Re: [Wicket-user] ajax refresh on date picker

2006-10-03 Thread Matej Knopp
That's not really the problem. The javascript _is_ included only once. Problem is the performance improvement I did, calling the run method from call stack instead of scheduling it on window.setTimeout(). The latter is very slow, because it redraws browser window. Anyway, it should no longer