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
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
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
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
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,
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
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
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:
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)
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
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)
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
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?
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
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
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;
}
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 {
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
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
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 :)
--
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
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.
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
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
24 matches
Mail list logo