Depending on where you have your log file messages and what kind they are,
they can appear more than once as sometimes components are winded up more
than once (e.g: inner redirect...) - best answer might be this:
http://cwiki.apache.org/WICKET/lifecycle-of-a-wicket-application.html where
the whole life is described.
The things behind (e.g: database ) shouldnt be accessed more often based on
they right wicket usage (e.g: so no jdbc in page itself but a appropriate
(LoadableDetachable)Model ).
Also note that in the development mode this more often happens as in
deployment (at least i noticed this)
Regards,
Korbinian
_____
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Matt Welch
Gesendet: Montag, 19. März 2007 17:11
An: [email protected]
Betreff: [Wicket-user] Log messages appearing twice
I'm betting this is a Wicket 101 question, but I can't seem to find an
answer on the wiki or in the lists (perhaps my search keywords aren't
right). During development I'm occasionally putting in some simple debug
statements into my pages. During execution, those log statements always come
up twice during a single page access. Is this expected? Do I need to develop
around this to ensure that calls to the service tier, and hence my database,
of my application are not executed twice as well? On the surface this seem
like a huge performance killer so I assume I have something misconfigured or
that I'm interpreting these double log statements incorrectly.
Any insight?
Matt
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user